From 1397c6e76048e17d814e174da71cfdedeffcaa6a Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Mon, 13 Jun 2005 23:07:36 +0000 Subject: [PATCH] add Kullback Liebler onset detection function and its modified version --- swig/aubio.i | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.26.2