Marsyas  0.5.0-beta1
Public Member Functions
Pitch2Chroma Class Reference

Transform pitch to chroma. More...

#include <Pitch2Chroma.h>

Inherits MarSystem.

Public Member Functions

void addControls ()
MarSystemclone () const
void myProcess (realvec &inVec, realvec &outVec)
 Processes data.
void myUpdate (MarControlPtr inSender)
 Updates internal state due to a control change.
 Pitch2Chroma (mrs_string inName)
 Pitch2Chroma (const Pitch2Chroma &inToCopy)
 ~Pitch2Chroma ()

Detailed Description

Transform pitch to chroma.

mrs_real/SampleRate [rw] : sample rate of the input spectrum

Definition at line 44 of file Pitch2Chroma.h.


Constructor & Destructor Documentation

Pitch2Chroma ( mrs_string  inName)

Definition at line 11 of file Pitch2Chroma.cpp.

Pitch2Chroma ( const Pitch2Chroma inToCopy)

Definition at line 17 of file Pitch2Chroma.cpp.

Definition at line 33 of file Pitch2Chroma.cpp.


Member Function Documentation

void addControls ( )

Reimplemented from MarSystem.

Definition at line 40 of file Pitch2Chroma.cpp.

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 35 of file Pitch2Chroma.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 124 of file Pitch2Chroma.cpp.

void myUpdate ( MarControlPtr  sender) [virtual]

Updates internal state due to a control change.

Parameters:
senderThe control that triggered the update; more precisely, any control passed to the update() method - could be an invalid one.

Implement this method in subclass to define specific response to control changes.

Reimplemented from MarSystem.

Definition at line 61 of file Pitch2Chroma.cpp.


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