Mercurial > hg > svcore
comparison data/fileio/MIDIFileWriter.h @ 1450:a12fd0456f0c streaming-csv-writer
Merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 17 Apr 2018 10:35:42 +0100 |
parents | 48e9f538e6e9 |
children | ad5f892c0c4d |
comparison
equal
deleted
inserted
replaced
1449:deabf9fd3d28 | 1450:a12fd0456f0c |
---|---|
58 protected: | 58 protected: |
59 typedef std::vector<MIDIEvent *> MIDITrack; | 59 typedef std::vector<MIDIEvent *> MIDITrack; |
60 typedef std::map<unsigned int, MIDITrack> MIDIComposition; | 60 typedef std::map<unsigned int, MIDITrack> MIDIComposition; |
61 | 61 |
62 typedef enum { | 62 typedef enum { |
63 MIDI_SINGLE_TRACK_FILE = 0x00, | 63 MIDI_SINGLE_TRACK_FILE = 0x00, |
64 MIDI_SIMULTANEOUS_TRACK_FILE = 0x01, | 64 MIDI_SIMULTANEOUS_TRACK_FILE = 0x01, |
65 MIDI_SEQUENTIAL_TRACK_FILE = 0x02, | 65 MIDI_SEQUENTIAL_TRACK_FILE = 0x02, |
66 MIDI_FILE_BAD_FORMAT = 0xFF | 66 MIDI_FILE_BAD_FORMAT = 0xFF |
67 } MIDIFileFormatType; | 67 } MIDIFileFormatType; |
68 | 68 |
69 std::string intToMIDIBytes(int number) const; | 69 std::string intToMIDIBytes(int number) const; |
70 std::string longToMIDIBytes(unsigned long number) const; | 70 std::string longToMIDIBytes(unsigned long number) const; |
71 std::string longToVarBuffer(unsigned long number) const; | 71 std::string longToVarBuffer(unsigned long number) const; |