From b1585fd39d984dec889da2633159658cc872d8f7 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 20 Apr 2006 12:48:25 +0000 Subject: [PATCH] add quadratic interpolation to yin add quadratic interpolation to yin --- src/pitchyin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.26.2