PeakDistanceHorizontality Class Reference
[Processing]

compute a weight depending on how "horizontal" the distance between two peak entries is More...

#include <PeakDistanceHorizontality.h>

Inherits Marsyas::MarSystem.


Public Member Functions

MarSystemclone () const
 Implementation of the MarSystem::clone() method.
void myProcess (realvec &in, realvec &out)
 Implementation of the MarSystem::myProcess method.
 PeakDistanceHorizontality (const PeakDistanceHorizontality &a)
 PeakDistanceHorizontality copy constructor.
 PeakDistanceHorizontality (std::string name)
 PeakDistanceHorizontality constructor.
 ~PeakDistanceHorizontality ()
 PeakDistanceHorizontality 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.

Private Attributes

MarControlPtr ctrl_horizvert_
 MarControlPtr for the gain control.


Detailed Description

compute a weight depending on how "horizontal" the distance between two peak entries is

Controls:

Definition at line 40 of file PeakDistanceHorizontality.h.


Constructor & Destructor Documentation

PeakDistanceHorizontality ( std::string  name  ) 

PeakDistanceHorizontality constructor.

Add any specific controls needed by this MarSystem.

Definition at line 34 of file PeakDistanceHorizontality.cpp.

References PeakDistanceHorizontality::addControls().

Referenced by PeakDistanceHorizontality::clone().


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 79 of file PeakDistanceHorizontality.cpp.

References 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