Marsyas
0.6.0-alpha
|
Convert spectrum magnitude (e.g. output from PowerSpectrum MarSystem) into Mel frequency scale. More...
#include <Spectrum2Mel.h>
Inherits MarSystem.
Public Member Functions | |
MarSystem * | clone () const |
void | myProcess (realvec &in, realvec &out) |
Processes data. | |
Spectrum2Mel (std::string name) | |
Spectrum2Mel (const Spectrum2Mel &a) | |
~Spectrum2Mel () |
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:
Based in the fft2melmx.m MATLAB script by Dan Ellis: http://labrosa.ee.columbia.edu/projects/coversongs/
Controls:
Definition at line 54 of file Spectrum2Mel.h.
Spectrum2Mel | ( | std::string | name | ) |
Definition at line 25 of file Spectrum2Mel.cpp.
Spectrum2Mel | ( | const Spectrum2Mel & | a | ) |
Definition at line 37 of file Spectrum2Mel.cpp.
~Spectrum2Mel | ( | ) |
Definition at line 56 of file Spectrum2Mel.cpp.
Implements MarSystem.
Definition at line 61 of file Spectrum2Mel.cpp.
Processes data.
in | Input data to read. |
out | Output data to write. |
Implement this method in subclass to define specific data processing.
Implements MarSystem.
Definition at line 205 of file Spectrum2Mel.cpp.