From: Paul Brossier Date: Sun, 16 Sep 2007 19:56:57 +0000 (+0200) Subject: aubio.i: add filterbank X-Git-Tag: bzr2git~442^2~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dc73a4d044e97508a06511c7ce12fb6f478585e7;p=aubio.git aubio.i: add filterbank --- 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);