diff src/midiEventHolder.h @ 2:5581023e0de4

Added separate CannamMidiFileLoader class to handle the loading in.
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Fri, 19 Aug 2011 01:26:40 +0100
parents 1a32ce016bb9
children de86d77f2612
line wrap: on
line diff
--- a/src/midiEventHolder.h	Thu Aug 18 23:27:42 2011 +0100
+++ b/src/midiEventHolder.h	Fri Aug 19 01:26:40 2011 +0100
@@ -6,6 +6,9 @@
  *  Copyright 2011 QMUL. All rights reserved.
  *
  */
+#ifndef MIDI_EVENT_HOLDER
+#define MIDI_EVENT_HOLDER
+ 
 #include "ofMain.h"
 #include "BayesianArrayStructure.h"
 
@@ -26,11 +29,13 @@
 	
 	//the rehearsal version
 	IntMatrix recordedNoteOnMatrix;//note, velocity, duration
+	DoubleVector recordedEventTimes;
+	
 	IntVector matchesFound;
 	BoolVector noteOnMatches;
 	
 //	int recordedNoteOnIndex;
-	DoubleVector recordedEventTimes;
+	
 	
 	IntMatrix playedNoteOnMatrix;
 	DoubleVector playedEventTimes;
@@ -110,4 +115,5 @@
 	string timeString;
 	double startTime;
 	
-};
\ No newline at end of file
+};
+#endif
\ No newline at end of file