Krumhansl_key_finder Class Reference
[Analysis]

Krumhansl-Schmuckler Key-Finding Algorithm. More...

#include <Krumhansl_key_finder.h>

Inherits Marsyas::MarSystem.


Public Member Functions

MarSystemclone () 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.


Detailed Description

Krumhansl-Schmuckler Key-Finding Algorithm.

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.


Constructor & Destructor Documentation

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().


Member Function Documentation

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().


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