HarmonicStrength Class Reference
[Processing]

Calculates the relative strength of harmonics. More...

#include <HarmonicStrength.h>

Inherits Marsyas::MarSystem.


Public Member Functions

MarSystemclone () const
 Implementation of the MarSystem::clone() method.
 HarmonicStrength (const HarmonicStrength &a)
 HarmonicStrength copy constructor.
 HarmonicStrength (std::string name)
 HarmonicStrength constructor.
void myProcess (realvec &in, realvec &out)
 Implementation of the MarSystem::myProcess method.
 ~HarmonicStrength ()
 HarmonicStrength destructor.

Private Member Functions

void addControls ()
 Add specific controls needed by this MarSystem.
void myUpdate (MarControlPtr sender)
 Reads changed controls and sets up variables if necessary.


Detailed Description

Calculates the relative strength of harmonics.

Calculates the strength of multiples of the base_frequency compared to the overall spectrum rms.

Controls:

Definition at line 49 of file HarmonicStrength.h.


Member Function Documentation

void myUpdate ( MarControlPtr  sender  )  [private, virtual]

Reads changed controls and sets up variables if necessary.

Use the default MarSystem setup with equal input/output stream format.

Reimplemented from MarSystem.

Definition at line 65 of file HarmonicStrength.cpp.

References realvec::getSize(), and realvec::stretch().


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

Generated on Wed May 23 00:02:23 2012 for Marsyas by  doxygen 1.5.6