Marsyas  0.5.0-beta1
Public Member Functions
Spectrum2Chroma Class Reference

Convert spectrum magnitude (e.g. output from PowerSpectrum MarSystem) into a Chroma vector representation. More...

#include <Spectrum2Chroma.h>

Inherits MarSystem.

Public Member Functions

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

Detailed Description

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.


Constructor & Destructor Documentation

Spectrum2Chroma ( std::string  name)

Definition at line 24 of file Spectrum2Chroma.cpp.

Definition at line 47 of file Spectrum2Chroma.cpp.

Definition at line 62 of file Spectrum2Chroma.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 67 of file Spectrum2Chroma.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 235 of file Spectrum2Chroma.cpp.


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