From: Paul Brossier Date: Tue, 6 Oct 2009 15:06:54 +0000 (+0200) Subject: examples/aubionotes.c: update peakpicker prototype X-Git-Tag: bzr2git~203 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9facc277ebd57b3aa6d227501770e6f5eaca0e6b;p=aubio.git examples/aubionotes.c: update peakpicker prototype --- diff --git a/examples/aubionotes.c b/examples/aubionotes.c index e8e374a2..af7fd78a 100644 --- a/examples/aubionotes.c +++ b/examples/aubionotes.c @@ -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){