From: Paul Brossier Date: Tue, 17 Apr 2007 23:09:08 +0000 (+0200) Subject: swig/aubio.i: add aubio_spectral_centroid to swig interface X-Git-Tag: bzr2git~523^2^2^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c8b80cd5bac660fc55adcf3e770a5928e91a0131;p=aubio.git swig/aubio.i: add aubio_spectral_centroid to swig interface --- diff --git a/swig/aubio.i b/swig/aubio.i index c06c2b9f..7810f619 100644 --- a/swig/aubio.i +++ b/swig/aubio.i @@ -146,6 +146,7 @@ uint_t aubio_silence_detection(fvec_t * ibuf, smpl_t threshold); smpl_t aubio_level_detection(fvec_t * ibuf, smpl_t threshold); void aubio_autocorr(fvec_t * in, fvec_t * acf); smpl_t aubio_zero_crossing_rate(fvec_t * input); +smpl_t aubio_spectral_centroid(cvec_t * spectrum, smpl_t samplerate); /* scale */ extern aubio_scale_t * new_aubio_scale(smpl_t flow, smpl_t fhig, smpl_t ilow, smpl_t ihig );