Mercurial > hg > midi-score-follower
comparison 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 |
comparison
equal
deleted
inserted
replaced
1:1a32ce016bb9 | 2:5581023e0de4 |
---|---|
1 /* | |
2 * CannamMidiFileLoader.h | |
3 * midi-score-follower | |
4 * | |
5 * Created by Chris Cannam on 19/08/2011. | |
6 * Copyright 2011 QMUL. All rights reserved. | |
7 * | |
8 */ | |
9 | |
10 #ifndef CANNAM_MIDI_FILE_LOADER | |
11 #define CANNAM_MIDI_FILE_LOADER | |
12 | |
13 #include "MIDIFileReader.h" | |
14 //#include "MIDIEvent.h" | |
15 #include "midiEventHolder.h" | |
16 using namespace MIDIConstants; | |
17 | |
18 class CannamMidiFileLoader{ | |
19 | |
20 public: | |
21 int loadFile(std::string& filename, midiEventHolder& myMidiEvents); | |
22 | |
23 typedef std::vector<int> IntVector; | |
24 IntVector v; | |
25 | |
26 }; | |
27 #endif |