diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-08-08 10:34:54 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2021-08-08 10:34:54 +0200 |
commit | f43935b5c873676a632b23cbfcef45a4431b233d (patch) | |
tree | ad1473fa34f3da5292e3344a99ed447261d99584 /src/midimapparser.cc | |
parent | a2483a839264369482fff135d33f007ded266d3c (diff) |
Add support for a single midi note that plays multiple instruments.
Diffstat (limited to 'src/midimapparser.cc')
-rw-r--r-- | src/midimapparser.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/midimapparser.cc b/src/midimapparser.cc index 059dfec..363e1d5 100644 --- a/src/midimapparser.cc +++ b/src/midimapparser.cc @@ -50,7 +50,8 @@ bool MidiMapParser::parseFile(const std::string& filename) continue; } - midimap[note] = instr; + MidimapEntry entry{note, instr}; + midimap.push_back(entry); } return true; |