From 47f17fc9d9bbfb3adf87fdaf69aca8131cb61013 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 8 Oct 2009 05:50:27 +0200 Subject: [PATCH] plugins/puredata/aubioonset~.c: update peakpicker --- plugins/puredata/aubioonset~.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2