shithub: aubio

Download patch

ref: 9facc277ebd57b3aa6d227501770e6f5eaca0e6b
parent: 19f1dc9b5dd9997b2b152cebacb9ff8112adc323
author: Paul Brossier <piem@piem.org>
date: Tue Oct 6 13:06:54 EDT 2009

examples/aubionotes.c: update peakpicker prototype

--- a/examples/aubionotes.c
+++ b/examples/aubionotes.c
@@ -43,7 +43,7 @@
         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){