From: Paul Brossier Date: Wed, 17 May 2006 09:15:45 +0000 (+0000) Subject: fix default yin thresholds X-Git-Tag: bzr2git~697 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7cded32206cb485ddfde9a26bb0dbe9506ea9b1b;p=aubio.git fix default yin thresholds fix default yin thresholds --- diff --git a/src/pitchdetection.c b/src/pitchdetection.c index 29cd24d1..8b400cdf 100644 --- a/src/pitchdetection.c +++ b/src/pitchdetection.c @@ -88,7 +88,7 @@ aubio_pitchdetection_t * new_aubio_pitchdetection(uint_t bufsize, p->buf = new_fvec(bufsize,channels); p->yin = new_fvec(bufsize/2,channels); p->callback = aubio_pitchdetection_yin; - p->yinthres = 0.2; + p->yinthres = 0.15; break; case aubio_pitch_mcomb: p->pv = new_aubio_pvoc(bufsize, hopsize, channels); @@ -111,7 +111,7 @@ aubio_pitchdetection_t * new_aubio_pitchdetection(uint_t bufsize, p->buf = new_fvec(bufsize,channels); p->yinfft = new_aubio_pitchyinfft(bufsize); p->callback = aubio_pitchdetection_yinfft; - p->yinthres = 0.2; + p->yinthres = 0.85; break; default: break;