ref: 11c899b67262a955fa802b6bc74568375feff82a
parent: d66d2ac3f386467f0da5809224c973c74b8533f0
author: Paul Brossier <piem@piem.org>
date: Sat Nov 17 10:02:00 EST 2018
[mfcc] add scale documentation
--- a/src/spectral/mfcc.h
+++ b/src/spectral/mfcc.h
@@ -94,7 +94,23 @@
*/
uint_t aubio_mfcc_get_power (aubio_mfcc_t *mf);
+/** set scaling parameter
+
+ \param mf mfcc object, as returned by new_aubio_mfcc()
+ \param scale Scaling value to apply.
+
+ Scales the output of the filterbank after taking its logarithm and before
+ computing the DCT. Defaults to `1`.
+
+*/
uint_t aubio_mfcc_set_scale (aubio_mfcc_t *mf, smpl_t scale);
+
+/** get scaling parameter
+
+ \param mf mfcc object, as returned by new_aubio_mfcc()
+ \return current scaling parameter. Defaults to `1`.
+
+ */
uint_t aubio_mfcc_get_scale (aubio_mfcc_t *mf);
/** Mel filterbank initialization