Marsyas
0.6.0-alpha
|
Retrieves the N best {period, phase} hypotheses by affering the phase more suited to each period (by correlating each of the N*M hypotheses with the onset detection function within the initial induction window). Besides, it tries to infer the correct metre (duple or triple) by atributing the correspondent hierarchical set of initial scores, normalized in accordance to the weigth imposed by the time of the initial induction window. It supports ground-truth mode which inputs the first two beats retrieved from a ground-truth beat times annotation file, for initially assigning (only) one agent with the ground-truth period and phase. More...
#include <PhaseLock.h>
Inherits MarSystem.
Public Member Functions | |
MarSystem * | clone () const |
void | myProcess (realvec &in, realvec &out) |
Processes data. | |
PhaseLock (std::string name) | |
PhaseLock (const PhaseLock &a) | |
~PhaseLock () |
Retrieves the N best {period, phase} hypotheses by affering the phase more suited to each period (by correlating each of the N*M hypotheses with the onset detection function within the initial induction window). Besides, it tries to infer the correct metre (duple or triple) by atributing the correspondent hierarchical set of initial scores, normalized in accordance to the weigth imposed by the time of the initial induction window. It supports ground-truth mode which inputs the first two beats retrieved from a ground-truth beat times annotation file, for initially assigning (only) one agent with the ground-truth period and phase.
Input: Onset detection fucntion (uses Spectral Flux). Output: Matrix with the N ( = nrPeriodHyps) best {period, phase} hypotheses:
[Periodi|bestPhaseForPeriodi|initialScorei] [ ... | ... | ... ] [PeriodN|bestPhaseForPeriodN|initialScoreN]
Controls:
Definition at line 58 of file PhaseLock.h.
PhaseLock | ( | std::string | name | ) |
Definition at line 31 of file PhaseLock.cpp.
Definition at line 42 of file PhaseLock.cpp.
~PhaseLock | ( | ) |
Definition at line 88 of file PhaseLock.cpp.
Implements MarSystem.
Definition at line 93 of file PhaseLock.cpp.
Processes data.
in | Input data to read. |
out | Output data to write. |
Implement this method in subclass to define specific data processing.
Implements MarSystem.
Definition at line 1355 of file PhaseLock.cpp.