Mercurial > hg > midi-score-follower
diff hackday/midiEventHolder.h @ 25:2a025ea7c793
hackday work to get live midi input, follow the notes, output measure, read measure in with midi file
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Sat, 03 Dec 2011 21:09:13 +0000 |
parents | 5a11b19906c7 |
children | 179365726f07 |
line wrap: on
line diff
--- a/hackday/midiEventHolder.h Sat Dec 03 17:19:43 2011 +0000 +++ b/hackday/midiEventHolder.h Sat Dec 03 21:09:13 2011 +0000 @@ -44,6 +44,7 @@ int playedNoteIndex; IntMatrix matchMatrix; IntVector bestMatchFound; + IntVector measureVector; DoubleMatrix matchConfidence; double totalConfidence; @@ -113,6 +114,7 @@ float noteHeight; float tempo; double lastPeriodUpdateTime; + int lastPlayedPitch; double playPositionInMillis;