ref: 47f17fc9d9bbfb3adf87fdaf69aca8131cb61013
parent: ca559548b401e0512f84d5a37206e99d73aea45a
author: Paul Brossier <piem@piem.org>
date: Thu Oct 8 01:50:27 EDT 2009
plugins/puredata/aubioonset~.c: update peakpicker
--- a/plugins/puredata/aubioonset~.c
+++ b/plugins/puredata/aubioonset~.c
@@ -47,7 +47,7 @@
/* block loop */
aubio_pvoc_do (x->pv,x->vec, x->fftgrain);
aubio_onsetdetection_do (x->o,x->fftgrain, x->onset);
- isonset = aubio_peakpicker_do (x->onset,x->parms);
+ isonset = aubio_peakpicker_do (x->parms, x->onset);
if (isonset) {
/* test for silence */
if (aubio_silence_detection(x->vec, x->threshold2)==1)