#include <Krumhansl_key_finder.h>
Inherits Marsyas::MarSystem.
Public Member Functions | |
| MarSystem * | clone () const |
| Implementation of the MarSystem::clone() method. | |
| Krumhansl_key_finder (const Krumhansl_key_finder &a) | |
| Krumhansl_key_finder copy constructor. | |
| Krumhansl_key_finder (std::string name) | |
| Krumhansl_key_finder constructor. | |
| void | myProcess (realvec &in, realvec &out) |
| Implementation of the MarSystem::myProcess method. | |
| ~Krumhansl_key_finder () | |
| Krumhansl_key_finder 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. | |
Performs simple chord detection using the Krumhansl-Schmuckler Key-Finding Algorithm. The input is a pitch class profile or chroma vector with 12 values one for each chromatic note.
Controls:
Definition at line 37 of file Krumhansl_key_finder.h.
| Krumhansl_key_finder | ( | std::string | name | ) |
Krumhansl_key_finder constructor.
Add any specific controls needed by this MarSystem.
Definition at line 25 of file Krumhansl_key_finder.cpp.
References Krumhansl_key_finder::addControls().
Referenced by Krumhansl_key_finder::clone().
| void addControls | ( | ) | [private] |
Add specific controls needed by this MarSystem.
Add any specific controls needed by this MarSystem.
Reimplemented from MarSystem.
Definition at line 51 of file Krumhansl_key_finder.cpp.
Referenced by Krumhansl_key_finder::Krumhansl_key_finder().
| 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 61 of file Krumhansl_key_finder.cpp.
References realvec::create().
1.5.6