PhaseLock Class Reference
[Processing]
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 Marsyas::MarSystem.
Detailed Description
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:
- mrs_realvec/beatHypotheses [w] : matrix with the raw hypothesis, giving M phases for each of the N predicted periods (+ the correspondent period salience).
- mrs_natural/inductionTime [r] : time (in tick counts) dispended in the initial induction stage.
- mrs_natural/nrPhasesPerPeriod [r] : Nr. of considered beat timming hypotheses (M).
- mrs_natural/nrPeriodHyps[r] : nr. of considered beat tempo hypotheses (N).
- mrs_string/scoreFunc [r] : heuristics which conducts the beat tracking.
- mrs_natural/hopSize [r] : hop size of the analysis.
- mrs_real/srcFs [r] : input sampling rate.
- mrs_string/mode [r] : mode of operation - regular operation or annotated induction (retrieved from the first two beats of the input beat times file).
- mrs_string/gtBeatsFile [r] : path of the input beat times file.
- mrs_natural/tickCount [r] : current considered time (tick count) updated from BeatReferee.
Definition at line 59 of file PhaseLock.h.
The documentation for this class was generated from the following files: