From 11c899b67262a955fa802b6bc74568375feff82a Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 17 Nov 2018 15:02:00 +0100 Subject: [PATCH] [mfcc] add scale documentation --- src/spectral/mfcc.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/spectral/mfcc.h b/src/spectral/mfcc.h index 830ba785..5326b26a 100644 --- a/src/spectral/mfcc.h +++ b/src/spectral/mfcc.h @@ -94,7 +94,23 @@ uint_t aubio_mfcc_set_power (aubio_mfcc_t *mf, smpl_t power); */ 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 -- 2.11.0