From: Paul Brossier Date: Sun, 22 May 2005 11:56:44 +0000 (+0000) Subject: pitchyin.c update, adds fast version to swig/aubio.i X-Git-Tag: 0.4.0-beta1~1443 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=23a44c142a08aeedde8c358f9e116ccaf86db4d2;p=aubio.git pitchyin.c update, adds fast version to swig/aubio.i pitchyin.c update, adds fast version to swig/aubio.i --- diff --git a/src/pitchyin.c b/src/pitchyin.c index 15d64b15..c69a4347 100644 --- a/src/pitchyin.c +++ b/src/pitchyin.c @@ -82,7 +82,7 @@ uint_t aubio_pitchyin_getpitch(fvec_t * yin) { } tau++; } while (taulength); - AUBIO_DBG("No pitch found"); + //AUBIO_DBG("No pitch found"); return 0; } diff --git a/swig/aubio.i b/swig/aubio.i index 1cdbdf58..71109ba3 100644 --- a/swig/aubio.i +++ b/swig/aubio.i @@ -168,6 +168,7 @@ void del_aubio_pitchmcomb (aubio_pitchmcomb_t *p); 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);