From: Paul Brossier Date: Tue, 9 Aug 2005 00:19:30 +0000 (+0000) Subject: added raw output cleaning X-Git-Tag: bzr2git~877 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8d84c0b74f32177bb3256312716ddcf58e0ff098;p=aubio.git added raw output cleaning --- diff --git a/src/pitchfcomb.c b/src/pitchfcomb.c index 1e200f81..fccf9557 100644 --- a/src/pitchfcomb.c +++ b/src/pitchfcomb.c @@ -119,6 +119,8 @@ 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.; return peaks[k].freq; }