comparison runner/MIDIFeatureWriter.h @ 140:9b94545a7fdc midi

More of MIDIFeatureWriter
author Chris Cannam
date Mon, 13 Oct 2014 12:00:22 +0100
parents 65a488d8c1bb
children b3d73c08b6ce
comparison
equal deleted inserted replaced
139:a4bee1a374b4 140:9b94545a7fdc
48 public: 48 public:
49 TrivialNoteExportable(NoteList notes) : m_notes(notes) { } 49 TrivialNoteExportable(NoteList notes) : m_notes(notes) { }
50 virtual NoteList getNotes() const { 50 virtual NoteList getNotes() const {
51 return m_notes; 51 return m_notes;
52 } 52 }
53 virtual NoteList getNotesWithin(int startFrame, int endFrame) const { 53 virtual NoteList getNotesWithin(int, int) const {
54 // Not required by MIDIFileWriter, not supported 54 // Not required by MIDIFileWriter, not supported
55 return NoteList(); 55 return NoteList();
56 } 56 }
57 private: 57 private:
58 NoteList m_notes; 58 NoteList m_notes;
59 }; 59 };
60 60
61 typedef map<QString, NoteList> NoteMap; // output filename -> notes 61 typedef map<QString, NoteList> NoteMap; // output filename -> notes
62 NoteMap m_notes; 62 NoteMap m_notes;
63
64 typedef map<QString, set<TransformId> > FileTransformMap;
65 FileTransformMap m_fileTransforms;
63 66
64 typedef map<QString, float> SampleRateMap; // NoteData uses sample timing 67 typedef map<QString, float> SampleRateMap; // NoteData uses sample timing
65 SampleRateMap m_rates; 68 SampleRateMap m_rates;
66 69
67 typedef map<TransformId, int> ChannelMap; 70 typedef map<TransformId, int> ChannelMap;
68 ChannelMap m_channels; 71 ChannelMap m_channels;
69 72
70 typedef map<QString, int> LastChannelMap; 73 typedef map<QString, int> NextChannelMap;
71 LastChannelMap m_lastChannels; 74 NextChannelMap m_nextChannels;
72 }; 75 };
73 76
74 #endif 77 #endif
75 78