examples/aubionotes.c: update peakpicker prototype
authorPaul Brossier <piem@piem.org>
Tue, 6 Oct 2009 15:06:54 +0000 (17:06 +0200)
committerPaul Brossier <piem@piem.org>
Tue, 6 Oct 2009 15:06:54 +0000 (17:06 +0200)
examples/aubionotes.c

index e8e374a2f85104b8745636e60b20ac02e79f0c43..af7fd78add2943fedd1743ae863c49b1f5132d85 100644 (file)
@@ -43,7 +43,7 @@ int aubio_process(smpl_t **input, smpl_t **output, int nframes) {
         aubio_onsetdetection(o2,fftgrain, onset2);
         onset->data[0][0] *= onset2->data[0][0];
       }
-      isonset = aubio_peakpick_pimrt(onset,parms);
+      isonset = aubio_peakpicker_do(parms, onset);
       
       pitch = aubio_pitchdetection(pitchdet,ibuf);
       if(median){