From: Paul Brossier Date: Mon, 22 Aug 2005 19:33:30 +0000 (+0000) Subject: fcomb doesn't output anything correct above 5000Hz X-Git-Tag: 0.4.0-beta1~1364 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=f97445ca7bef8ecc309b272684a6c174747b9774;p=aubio.git fcomb doesn't output anything correct above 5000Hz --- diff --git a/src/pitchfcomb.c b/src/pitchfcomb.c index db00febb..64597a0f 100644 --- a/src/pitchfcomb.c +++ b/src/pitchfcomb.c @@ -120,7 +120,7 @@ smpl_t aubio_pitchfcomb_detect (aubio_pitchfcomb_t * p, fvec_t * input) } } /* quick hack to clean output a bit */ - if (peaks[k].freq > 10000) return 0.; + if (peaks[k].freq > 5000.) return 0.; return peaks[k].freq; }