Marsyas  0.5.0-beta1
Public Member Functions
Spectrum2Mel Class Reference

Convert spectrum magnitude (e.g. output from PowerSpectrum MarSystem) into Mel frequency scale. More...

#include <Spectrum2Mel.h>

Inherits MarSystem.

Public Member Functions

MarSystemclone () const
void myProcess (realvec &in, realvec &out)
 Processes data.
 Spectrum2Mel (std::string name)
 Spectrum2Mel (const Spectrum2Mel &a)
 ~Spectrum2Mel ()

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:

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.


Constructor & Destructor Documentation

Spectrum2Mel ( std::string  name)

Definition at line 25 of file Spectrum2Mel.cpp.

Spectrum2Mel ( const Spectrum2Mel a)

Definition at line 37 of file Spectrum2Mel.cpp.

Definition at line 56 of file Spectrum2Mel.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 61 of file Spectrum2Mel.cpp.

void myProcess ( realvec in,
realvec out 
) [virtual]

Processes data.

Parameters:
inInput data to read.
outOutput data to write.

Implement this method in subclass to define specific data processing.

Implements MarSystem.

Definition at line 205 of file Spectrum2Mel.cpp.


The documentation for this class was generated from the following files: