aubio.i: add filterbank
authorPaul Brossier <piem@piem.org>
Sun, 16 Sep 2007 19:56:57 +0000 (21:56 +0200)
committerPaul Brossier <piem@piem.org>
Sun, 16 Sep 2007 19:56:57 +0000 (21:56 +0200)
swig/aubio.i

index df1b1b25446b3fd19e8ebfeff587ba7fc7011fe7..78299123052d0cb291e0a622de54a514c1014388 100644 (file)
@@ -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);