Marsyas  0.5.0-beta1
Public Member Functions
Krumhansl_key_finder Class Reference

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

#include <Krumhansl_key_finder.h>

Inherits MarSystem.

Public Member Functions

MarSystemclone () const
 Implementation of the MarSystem::clone() method.
 Krumhansl_key_finder (std::string name)
 Krumhansl_key_finder constructor.
 Krumhansl_key_finder (const Krumhansl_key_finder &a)
 Krumhansl_key_finder copy constructor.
void myProcess (realvec &in, realvec &out)
 Implementation of the MarSystem::myProcess method.
 ~Krumhansl_key_finder ()
 Krumhansl_key_finder destructor.

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.

Krumhansl_key_finder copy constructor.

Definition at line 31 of file Krumhansl_key_finder.cpp.

Krumhansl_key_finder destructor.

Definition at line 40 of file Krumhansl_key_finder.cpp.


Member Function Documentation

MarSystem * clone ( ) const [virtual]

Implementation of the MarSystem::clone() method.

Implements MarSystem.

Definition at line 45 of file Krumhansl_key_finder.cpp.

void myProcess ( realvec in,
realvec out 
) [virtual]

Implementation of the MarSystem::myProcess method.

Implements MarSystem.

Definition at line 133 of file Krumhansl_key_finder.cpp.


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