From: Paul Brossier Date: Tue, 21 Mar 2006 22:27:13 +0000 (+0000) Subject: fix fine tuningi for yin X-Git-Tag: bzr2git~721 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e4f7779f37b490d6e63d9b8554f713d036f82259;p=aubio.git fix fine tuningi for yin fix fine tuningi for yin --- diff --git a/src/pitchyin.c b/src/pitchyin.c index 76505f29..02e507be 100644 --- a/src/pitchyin.c +++ b/src/pitchyin.c @@ -106,7 +106,7 @@ smpl_t aubio_pitchyin_getpitchfast(fvec_t * input, fvec_t * yin, smpl_t tol){ period = tau-3; if(tau > 4 && (yin->data[c][period] < tol) && (yin->data[c][period] < yin->data[c][period+1])) { - return vec_quadint_min(yin,period,1)-1; + return vec_quadint_min(yin,period,1); } } return 0;