From: Paul Brossier Date: Wed, 7 Oct 2009 21:23:30 +0000 (+0200) Subject: plugins/puredata/aubioonset~.c: update peakpicker prototype X-Git-Tag: bzr2git~186 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=316092e6f7a3f97800f4bf88f92f8d26627ff742;p=aubio.git plugins/puredata/aubioonset~.c: update peakpicker prototype --- diff --git a/plugins/puredata/aubioonset~.c b/plugins/puredata/aubioonset~.c index 371cea22..e989a921 100644 --- a/plugins/puredata/aubioonset~.c +++ b/plugins/puredata/aubioonset~.c @@ -10,7 +10,7 @@ #include #include -char aubioonset_version[] = "aubioonset~ version 0.1"; +char aubioonset_version[] = "aubioonset~ version 0.2"; static t_class *aubioonset_tilde_class; @@ -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_peakpick_pimrt(x->onset,x->parms); + isonset = aubio_peakpicker_do (x->onset,x->parms); if (isonset) { /* test for silence */ if (aubio_silence_detection(x->vec, x->threshold2)==1)