Marsyas
0.6.0-alpha
|
Return only the power spectrum components above the masking threshold. More...
#include <SimulMaskingFft.h>
Inherits MarSystem.
Public Member Functions | |
MarSystem * | clone () const |
void | myProcess (realvec &in, realvec &out) |
Processes data. | |
SimulMaskingFft (std::string name) | |
SimulMaskingFft (const SimulMaskingFft &a) | |
~SimulMaskingFft () |
Return only the power spectrum components above the masking threshold.
This code originates from https://feapi.svn.sourceforge.net/svnroot/feapi/trunk/FEAPI/examples/plugin/FEAPIExamplePluginLoudness/FEAPIExamplePluginLoudness.cpp and has been modified. It is based on the psycho-acoustic model in ITU-R BS.1387.
The input is a power spectrum, the output is the difference of the input spectrum and the masking threshold
Controls:
Definition at line 42 of file SimulMaskingFft.h.
SimulMaskingFft | ( | std::string | name | ) |
Definition at line 44 of file SimulMaskingFft.cpp.
SimulMaskingFft | ( | const SimulMaskingFft & | a | ) |
Definition at line 61 of file SimulMaskingFft.cpp.
~SimulMaskingFft | ( | ) |
Definition at line 69 of file SimulMaskingFft.cpp.
Implements MarSystem.
Definition at line 77 of file SimulMaskingFft.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 145 of file SimulMaskingFft.cpp.