shithub: aubio

Download patch

ref: 7cded32206cb485ddfde9a26bb0dbe9506ea9b1b
parent: 08f6688c7ac7ab967f7cca62cca4730fd168cd34
author: Paul Brossier <[email protected]>
date: Wed May 17 05:15:45 EDT 2006

fix default yin thresholds
fix default yin thresholds


--- a/src/pitchdetection.c
+++ b/src/pitchdetection.c
@@ -88,7 +88,7 @@
 			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 @@
 			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;