diff src/CannamMidiFileLoader.h @ 17:d75d16c57eac

Fixed the ordering of the note matrix when loaded so it has a double check feature that they are ordered min to max. Prevents draw problems down the line
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Tue, 15 Nov 2011 20:06:55 +0000
parents de86d77f2612
children
line wrap: on
line diff
--- a/src/CannamMidiFileLoader.h	Tue Nov 15 19:35:05 2011 +0000
+++ b/src/CannamMidiFileLoader.h	Tue Nov 15 20:06:55 2011 +0000
@@ -22,6 +22,8 @@
 	
 	int loadFile(std::string& filename, midiEventHolder& myMidiEvents);
 
+	void createEventTiming( midiEventHolder& myMidiEvents);
+	
 	double firstNoteTime;
 	int firstTickTime;
 	bool chopBeginning;