shithub: aubio

Download patch

ref: c8b80cd5bac660fc55adcf3e770a5928e91a0131
parent: 0dbdb401e562c7e0359415653ec1d5276daa7787
author: Paul Brossier <piem@piem.org>
date: Tue Apr 17 21:09:08 EDT 2007

swig/aubio.i: add aubio_spectral_centroid to swig interface

--- a/swig/aubio.i
+++ b/swig/aubio.i
@@ -146,6 +146,7 @@
 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	);