From: Paul Brossier Date: Thu, 20 Apr 2006 12:48:25 +0000 (+0000) Subject: add quadratic interpolation to yin X-Git-Tag: bzr2git~713 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b1585fd39d984dec889da2633159658cc872d8f7;p=aubio.git add quadratic interpolation to yin add quadratic interpolation to yin --- diff --git a/src/pitchyin.c b/src/pitchyin.c index 02e507be..eb6dec77 100644 --- a/src/pitchyin.c +++ b/src/pitchyin.c @@ -109,6 +109,7 @@ smpl_t aubio_pitchyin_getpitchfast(fvec_t * input, fvec_t * yin, smpl_t tol){ return vec_quadint_min(yin,period,1); } } - return 0; + return vec_quadint_min(yin,vec_min_elem(yin),1); + //return 0; }