Marsyas  0.5.0-beta1
Public Member Functions
SimulMaskingFft Class Reference

Return only the power spectrum components above the masking threshold. More...

#include <SimulMaskingFft.h>

Inherits MarSystem.

Public Member Functions

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

Detailed Description

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.


Constructor & Destructor Documentation

SimulMaskingFft ( std::string  name)

Definition at line 44 of file SimulMaskingFft.cpp.

Definition at line 61 of file SimulMaskingFft.cpp.

Definition at line 69 of file SimulMaskingFft.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 77 of file SimulMaskingFft.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 145 of file SimulMaskingFft.cpp.


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