Mercurial > hg > midi-score-follower
diff src/CannamMidiFileLoader.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 | |
children | de86d77f2612 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/CannamMidiFileLoader.h Fri Aug 19 01:26:40 2011 +0100 @@ -0,0 +1,27 @@ +/* + * CannamMidiFileLoader.h + * midi-score-follower + * + * Created by Chris Cannam on 19/08/2011. + * Copyright 2011 QMUL. All rights reserved. + * + */ + +#ifndef CANNAM_MIDI_FILE_LOADER +#define CANNAM_MIDI_FILE_LOADER + +#include "MIDIFileReader.h" +//#include "MIDIEvent.h" +#include "midiEventHolder.h" +using namespace MIDIConstants; + +class CannamMidiFileLoader{ + +public: + int loadFile(std::string& filename, midiEventHolder& myMidiEvents); + + typedef std::vector<int> IntVector; + IntVector v; + +}; +#endif \ No newline at end of file