Marsyas
0.6.0-alpha
|
Magnitude/power of complex spectrum. More...
#include <PowerSpectrum.h>
Inherits MarSystem.
Public Member Functions | |
MarSystem * | clone () const |
void | myProcess (realvec &in, realvec &out) |
Processes data. | |
PowerSpectrum (std::string name) | |
PowerSpectrum (const PowerSpectrum &) | |
~PowerSpectrum () |
Magnitude/power of complex spectrum.
Computes the magnitude/power/decibels/powerdensity of a complex spectrum (as output from the Spectrum MarSystem - see its documentation for info about the spectrum format used in Marsyas). PowerSpectrum takes N/2+1 complex spectrum bins and computes the corresponding N/2+1 power/magnitude/decibels/powerdensity real values.
Controls:
Definition at line 44 of file PowerSpectrum.h.
PowerSpectrum | ( | std::string | name | ) |
Definition at line 32 of file PowerSpectrum.cpp.
PowerSpectrum | ( | const PowerSpectrum & | a | ) |
Definition at line 44 of file PowerSpectrum.cpp.
~PowerSpectrum | ( | ) |
Definition at line 50 of file PowerSpectrum.cpp.
Implements MarSystem.
Definition at line 62 of file PowerSpectrum.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 105 of file PowerSpectrum.cpp.