Mercurial > hg > midi-score-follower
comparison src/midiEventHolder.h @ 16:f0abb0e414ec
reorders the MIDI matrix once loaded from all channels, chop the beginning now less relevant - check how this might work...
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Tue, 15 Nov 2011 19:35:05 +0000 |
parents | 3f103cf78148 |
children | d75d16c57eac |
comparison
equal
deleted
inserted
replaced
15:9e972948d654 | 16:f0abb0e414ec |
---|---|
75 | 75 |
76 double likelihoodWidth; | 76 double likelihoodWidth; |
77 double likelihoodToNoiseRatio; | 77 double likelihoodToNoiseRatio; |
78 | 78 |
79 void printMatchMatrix(); | 79 void printMatchMatrix(); |
80 void printRecordedEvents(); | |
80 | 81 |
81 void setMatchLikelihoods(int numberOfMatches); | 82 void setMatchLikelihoods(int numberOfMatches); |
82 | 83 |
83 void setStartPlayingTimes(); | 84 void setStartPlayingTimes(); |
84 void setSpeedPrior(double speedPriorValue); | 85 void setSpeedPrior(double speedPriorValue); |
126 | 127 |
127 bool confidenceWeightingUsed; | 128 bool confidenceWeightingUsed; |
128 | 129 |
129 double minimumMatchError;//recent best error between observed note and aligned midi file | 130 double minimumMatchError;//recent best error between observed note and aligned midi file |
130 | 131 |
132 void reorderMatrixFromNoteTimes(IntMatrix& noteOnMatrix); | |
133 int getIndexOfMinimumAboveTime(const double& time, IntMatrix& noteOnMatrix); | |
134 void correctTiming(IntMatrix& noteOnMatrix); | |
131 }; | 135 }; |
132 #endif | 136 #endif |