From: Paul Brossier Date: Thu, 8 Oct 2009 03:50:27 +0000 (+0200) Subject: plugins/puredata/aubioonset~.c: update peakpicker X-Git-Tag: bzr2git~164 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=47f17fc9d9bbfb3adf87fdaf69aca8131cb61013;p=aubio.git plugins/puredata/aubioonset~.c: update peakpicker --- diff --git a/plugins/puredata/aubioonset~.c b/plugins/puredata/aubioonset~.c index e989a921..2906ce30 100644 --- a/plugins/puredata/aubioonset~.c +++ b/plugins/puredata/aubioonset~.c @@ -47,7 +47,7 @@ static t_int *aubioonset_tilde_perform(t_int *w) /* 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)