From f97445ca7bef8ecc309b272684a6c174747b9774 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 22 Aug 2005 19:33:30 +0000 Subject: [PATCH] fcomb doesn't output anything correct above 5000Hz --- src/pitchfcomb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.11.0