From 7cded32206cb485ddfde9a26bb0dbe9506ea9b1b Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 17 May 2006 09:15:45 +0000 Subject: [PATCH] fix default yin thresholds fix default yin thresholds --- src/pitchdetection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.26.2