From: Paul Brossier Date: Mon, 13 Jun 2005 23:07:36 +0000 (+0000) Subject: add Kullback Liebler onset detection function and its modified version X-Git-Tag: bzr2git~882 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1397c6e76048e17d814e174da71cfdedeffcaa6a;p=aubio.git add Kullback Liebler onset detection function and its modified version --- diff --git a/swig/aubio.i b/swig/aubio.i index 730e32cd..a8f21ceb 100644 --- a/swig/aubio.i +++ b/swig/aubio.i @@ -138,7 +138,7 @@ extern uint_t aubio_resampler_process(aubio_resampler_t *s, fvec_t * input, fve extern void del_aubio_resampler(aubio_resampler_t *s); /* onset detection */ -typedef enum { energy, specdiff, hfc, complexdomain, phase } aubio_onsetdetection_type; +typedef enum { energy, specdiff, hfc, complexdomain, phase, kl, mkl } aubio_onsetdetection_type; aubio_onsetdetection_t * new_aubio_onsetdetection(aubio_onsetdetection_type type, uint_t size, uint_t channels); void aubio_onsetdetection(aubio_onsetdetection_t *o, cvec_t * fftgrain, fvec_t * onset); void aubio_onsetdetection_free(aubio_onsetdetection_t *o);