projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dbdb40
)
swig/aubio.i: add aubio_spectral_centroid to swig interface
author
Paul Brossier
<piem@piem.org>
Tue, 17 Apr 2007 23:09:08 +0000
(
01:09
+0200)
committer
Paul Brossier
<piem@piem.org>
Tue, 17 Apr 2007 23:09:08 +0000
(
01:09
+0200)
swig/aubio.i
patch
|
blob
|
history
diff --git
a/swig/aubio.i
b/swig/aubio.i
index c06c2b9f91730d8fd50300693b3e603b155d37bc..7810f6192fc5d0fa13e57f11c2768e283324f976 100644
(file)
--- 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 );