Marsyas
0.6.0-alpha
|
Various spectral transformations. Input and output are complex spectrums. Mainly used to demonstrate how spectral analyis works. More...
#include <SpectralTransformations.h>
Inherits MarSystem.
Public Member Functions | |
MarSystem * | clone () const |
void | compress_magnitude (realvec &in, realvec &out) |
void | myProcess (realvec &in, realvec &out) |
Processes data. | |
void | phaseRandomize (realvec &in, realvec &out) |
void | singlebin (realvec &in, realvec &out) |
SpectralTransformations (std::string name) | |
SpectralTransformations (const SpectralTransformations &a) | |
void | three_peaks (realvec &in, realvec &out) |
~SpectralTransformations () |
Various spectral transformations. Input and output are complex spectrums. Mainly used to demonstrate how spectral analyis works.
Controls:
Definition at line 38 of file SpectralTransformations.h.
SpectralTransformations | ( | std::string | name | ) |
Definition at line 25 of file SpectralTransformations.cpp.
SpectralTransformations | ( | const SpectralTransformations & | a | ) |
Definition at line 30 of file SpectralTransformations.cpp.
Definition at line 37 of file SpectralTransformations.cpp.
Implements MarSystem.
Definition at line 42 of file SpectralTransformations.cpp.
void compress_magnitude | ( | realvec & | in, |
realvec & | out | ||
) |
Definition at line 109 of file SpectralTransformations.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 309 of file SpectralTransformations.cpp.
void phaseRandomize | ( | realvec & | in, |
realvec & | out | ||
) |
Definition at line 69 of file SpectralTransformations.cpp.
Definition at line 258 of file SpectralTransformations.cpp.
void three_peaks | ( | realvec & | in, |
realvec & | out | ||
) |
Definition at line 151 of file SpectralTransformations.cpp.