shithub: aubio

Download patch

ref: 23a44c142a08aeedde8c358f9e116ccaf86db4d2
parent: 9cf28337af758cef55e2409ad555791420ca2a03
author: Paul Brossier <piem@altern.org>
date: Sun May 22 07:56:44 EDT 2005

pitchyin.c update, adds fast version to swig/aubio.i
pitchyin.c update, adds fast version to swig/aubio.i


--- a/src/pitchyin.c
+++ b/src/pitchyin.c
@@ -82,7 +82,7 @@
 		}
 		tau++;
 	} while (tau<yin->length);
-	AUBIO_DBG("No pitch found");
+	//AUBIO_DBG("No pitch found");
 	return 0;
 }
 
--- a/swig/aubio.i
+++ b/swig/aubio.i
@@ -168,6 +168,7 @@
 void aubio_pitchyin_diff(fvec_t *input, fvec_t *yin);
 void aubio_pitchyin_getcum(fvec_t *yin);
 uint_t aubio_pitchyin_getpitch(fvec_t *yin);
+uint_t aubio_pitchyin_getpitchfast(fvec_t * input, fvec_t *yin, smpl_t tol);
 
 /* pitch schmitt */
 aubio_pitchschmitt_t * new_aubio_pitchschmitt (uint_t size, uint_t samplerate);