Marsyas
0.6.0-alpha
|
Difference between detected and expected pitch. More...
#include <PitchDiff.h>
Inherits MarSystem.
Public Member Functions | |
MarSystem * | clone () const |
Implementation of the MarSystem::clone() method. | |
void | myProcess (realvec &in, realvec &out) |
Implementation of the MarSystem::myProcess method. | |
PitchDiff (std::string name) | |
PitchDiff constructor. | |
PitchDiff (const PitchDiff &a) | |
PitchDiff copy constructor. | |
~PitchDiff () | |
PitchDiff destructor. |
Difference between detected and expected pitch.
Place this in a series after Yin (or any other pitch-detection MarSystem), and feed it the expected pitch as a control. Outputs the difference as a midi pitch value.
Controls:
Definition at line 43 of file PitchDiff.h.
PitchDiff | ( | std::string | name | ) |
PitchDiff constructor.
Add any specific controls needed by this MarSystem.
Definition at line 25 of file PitchDiff.cpp.
PitchDiff copy constructor.
All member MarControlPtr have to be explicitly reassigned in the copy constructor.
Definition at line 31 of file PitchDiff.cpp.
~PitchDiff | ( | ) |
PitchDiff destructor.
Definition at line 41 of file PitchDiff.cpp.
Implementation of the MarSystem::clone() method.
Implements MarSystem.
Definition at line 46 of file PitchDiff.cpp.
Implementation of the MarSystem::myProcess method.
Iterate over the observations and samples and do the processing.
Implements MarSystem.
Definition at line 78 of file PitchDiff.cpp.