#include <m_pd.h>
#include <aubio.h>
-char aubioonset_version[] = "aubioonset~ version 0.1";
+char aubioonset_version[] = "aubioonset~ version 0.2";
static t_class *aubioonset_tilde_class;
/* 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)