From: Paul Brossier Date: Mon, 8 Apr 2013 15:20:19 +0000 (-0500) Subject: src/pitch/pitchmcomb.c: use fvec_quadratic_peak_pos X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f84cea78af219f4de0fc7baa9eec82073263237e;p=aubio.git src/pitch/pitchmcomb.c: use fvec_quadratic_peak_pos --- diff --git a/src/pitch/pitchmcomb.c b/src/pitch/pitchmcomb.c index 0860c55d..3425aa0b 100644 --- a/src/pitch/pitchmcomb.c +++ b/src/pitch/pitchmcomb.c @@ -293,7 +293,7 @@ aubio_pitchmcomb_quadpick (aubio_spectralpeak_t * spectral_peaks, fvec_t * X) if (ispeak) { count += ispeak; spectral_peaks[count - 1].bin = j; - spectral_peaks[count - 1].ebin = fvec_quadint (X, j) - 1.; + spectral_peaks[count - 1].ebin = fvec_quadratic_peak_pos (X, j); } } return count;