Mercurial > hg > sonic-annotator
diff 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 |
line wrap: on
line diff
--- a/runner/MIDIFeatureWriter.h Mon Oct 13 11:43:24 2014 +0100 +++ b/runner/MIDIFeatureWriter.h Mon Oct 13 12:00:22 2014 +0100 @@ -50,7 +50,7 @@ virtual NoteList getNotes() const { return m_notes; } - virtual NoteList getNotesWithin(int startFrame, int endFrame) const { + virtual NoteList getNotesWithin(int, int) const { // Not required by MIDIFileWriter, not supported return NoteList(); } @@ -60,6 +60,9 @@ typedef map<QString, NoteList> NoteMap; // output filename -> notes NoteMap m_notes; + + typedef map<QString, set<TransformId> > FileTransformMap; + FileTransformMap m_fileTransforms; typedef map<QString, float> SampleRateMap; // NoteData uses sample timing SampleRateMap m_rates; @@ -67,8 +70,8 @@ typedef map<TransformId, int> ChannelMap; ChannelMap m_channels; - typedef map<QString, int> LastChannelMap; - LastChannelMap m_lastChannels; + typedef map<QString, int> NextChannelMap; + NextChannelMap m_nextChannels; }; #endif