From 316092e6f7a3f97800f4bf88f92f8d26627ff742 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Wed, 7 Oct 2009 23:23:30 +0200 Subject: [PATCH] plugins/puredata/aubioonset~.c: update peakpicker prototype --- plugins/puredata/aubioonset~.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.26.2