pitchyin.c update, adds fast version to swig/aubio.i
authorPaul Brossier <piem@altern.org>
Sun, 22 May 2005 11:56:44 +0000 (11:56 +0000)
committerPaul Brossier <piem@altern.org>
Sun, 22 May 2005 11:56:44 +0000 (11:56 +0000)
pitchyin.c update, adds fast version to swig/aubio.i

src/pitchyin.c
swig/aubio.i

index 15d64b1..c69a434 100644 (file)
@@ -82,7 +82,7 @@ uint_t aubio_pitchyin_getpitch(fvec_t * yin) {
                }
                tau++;
        } while (tau<yin->length);
-       AUBIO_DBG("No pitch found");
+       //AUBIO_DBG("No pitch found");
        return 0;
 }
 
index 1cdbdf5..71109ba 100644 (file)
@@ -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);