Spectrum2Mel Class Reference
[Analysis]
Convert spectrum magnitude (e.g. output from
PowerSpectrum MarSystem) into Mel frequency scale.
More...
#include <Spectrum2Mel.h>
Inherits Marsyas::MarSystem.
Detailed Description
Convert spectrum magnitude (e.g. output from
PowerSpectrum MarSystem) into Mel frequency scale.
In order to duplicate the mel matrix in Slaney's mfcc.m use the following parameters:
- fftsize = 512
- srate = 8000Hz
- melBands = 40
- bandWidth = 1.0
- bandLowEdge = 133.33
- bandHighEdge = 6855.5
- constAmp = false
Based in the fft2melmx.m MATLAB script by Dan Ellis: http://labrosa.ee.columbia.edu/projects/coversongs/
Controls:
- mrs_natural/melBands [w] : sets the number of Mel bands to output (default = 40, i.e. one per bark)
- mrs_real/bandWidth [w] : sets the constant width of each band relative to standard Mel (default 1.0)
- mrs_real/bandLowEdge [w] : sets the frequency (in Hz) of the lowest band edge (default 0.0, but 133.33 is a common standard (to skip LF))
- mrs_real/bandHighEdge [w] : sets frequency in Hz of upper edge (default audio srate/2)
- mrs_bool/htkMel [w] : use HTK's version of the mel curve, not Slaney's
- mrs_bool/constAmp [w] : make integration windows peak at 1, not sum to 1
Definition at line 54 of file Spectrum2Mel.h.
The documentation for this class was generated from the following files: