Marsyas
0.6.0-alpha
|
Convert spectrum magnitude (e.g. output from PowerSpectrum MarSystem) into a Chroma vector representation. More...
#include <Spectrum2Chroma.h>
Inherits MarSystem.
Public Member Functions | |
MarSystem * | clone () const |
void | myProcess (realvec &in, realvec &out) |
Processes data. | |
Spectrum2Chroma (std::string name) | |
Spectrum2Chroma (const Spectrum2Chroma &a) | |
~Spectrum2Chroma () |
Convert spectrum magnitude (e.g. output from PowerSpectrum MarSystem) into a Chroma vector representation.
Based in the fft2chromamx.m MATLAB script by Dan Ellis: http://www.ee.columbia.edu/~dpwe/resources/matlab/chroma-ansyn/#1
Controls:
Definition at line 44 of file Spectrum2Chroma.h.
Spectrum2Chroma | ( | std::string | name | ) |
Definition at line 24 of file Spectrum2Chroma.cpp.
Spectrum2Chroma | ( | const Spectrum2Chroma & | a | ) |
Definition at line 47 of file Spectrum2Chroma.cpp.
~Spectrum2Chroma | ( | ) |
Definition at line 62 of file Spectrum2Chroma.cpp.
Implements MarSystem.
Definition at line 67 of file Spectrum2Chroma.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 235 of file Spectrum2Chroma.cpp.