From: Paul Brossier Date: Sat, 1 Dec 2007 20:57:36 +0000 (+0100) Subject: update aubio.i with new adsgn_filter and cdsgn_filter X-Git-Tag: bzr2git~416 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4123f16136372509b6b4d766f1837cbd55432678;p=aubio.git update aubio.i with new adsgn_filter and cdsgn_filter --- diff --git a/swig/aubio.i b/swig/aubio.i index 66e17d93..3b7d65ac 100644 --- a/swig/aubio.i +++ b/swig/aubio.i @@ -86,12 +86,19 @@ extern void aubio_fft_get_real(cvec_t * spectrum, fvec_t * compspec); /* filter */ extern aubio_filter_t * new_aubio_filter(uint_t samplerate, uint_t order); -extern aubio_filter_t * new_aubio_adsgn_filter(uint_t samplerate); extern aubio_filter_t * new_aubio_cdsgn_filter(uint_t samplerate); extern void aubio_filter_do(aubio_filter_t * b, fvec_t * in); extern void aubio_filter_do_outplace(aubio_filter_t * b, fvec_t * in, fvec_t * out); extern void aubio_filter_do_filtfilt(aubio_filter_t * b, fvec_t * in, fvec_t * tmp); -/*extern int del_aubio_filter(aubio_filter_t * b);*/ +extern void del_aubio_filter(aubio_filter_t * b); + +extern aubio_filter_t * new_aubio_adsgn_filter(uint_t samplerate); +extern void aubio_adsgn_filter_do(aubio_filter_t * b, fvec_t * in); +extern void del_aubio_adsgn_filter(aubio_filter_t * b); + +extern aubio_filter_t * new_aubio_cdsgn_filter(uint_t samplerate); +extern void aubio_cdsgn_filter_do(aubio_filter_t * b, fvec_t * in); +extern void del_aubio_cdsgn_filter(aubio_filter_t * b); /* biquad */ extern aubio_biquad_t * new_aubio_biquad(lsmp_t b1, lsmp_t b2, lsmp_t b3, lsmp_t a2, lsmp_t a3);