From dc73a4d044e97508a06511c7ce12fb6f478585e7 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sun, 16 Sep 2007 21:56:57 +0200 Subject: [PATCH] aubio.i: add filterbank --- swig/aubio.i | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/swig/aubio.i b/swig/aubio.i index df1b1b25..78299123 100644 --- a/swig/aubio.i +++ b/swig/aubio.i @@ -149,6 +149,10 @@ smpl_t aubio_zero_crossing_rate(fvec_t * input); smpl_t aubio_spectral_centroid(cvec_t * spectrum, smpl_t samplerate); /* filterbank */ +aubio_filterbank_t * new_aubio_filterbank(uint_t win_s, uint_t channels); +aubio_filterbank_t * new_aubio_filterbank_mfcc(uint_t n_filters, uint_t win_s, uint_t samplerate, smpl_t freq_min, smpl_t freq_max); +void del_aubio_filterbank(aubio_filterbank_t * fb); +void aubio_filterbank_do(aubio_filterbank_t * fb, cvec_t * in, fvec_t *out); /* mfcc */ aubio_mfcc_t * new_aubio_mfcc (uint_t win_s, uint_t samplerate, uint_t n_filters, uint_t n_coefs, smpl_t lowfreq, smpl_t highfreq, uint_t channels); -- 2.26.2