PowerSpectrum Class Reference
[Analysis]
PowerSpectrum computes the magnitude/power of the complex spectrum.
More...
#include <PowerSpectrum.h>
Inherits Marsyas::MarSystem.
Detailed Description
PowerSpectrum computes the magnitude/power of the 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:
- mrs_string/spectrumType [w] : choose between "power", "magnitude", "decibels", "logmagnitude" (for 1+log(magnitude*1000), "logmagnitude2" (for 1+log10(magnitude)) and "powerdensity" computations
- See also:
- Spectrum
Definition at line 43 of file PowerSpectrum.h.
The documentation for this class was generated from the following files: