diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-08-18 09:44:20 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-08-19 08:32:44 -0400 |
commit | d6691a80e97ba6edf0d324f24a64cae581575a95 (patch) | |
tree | 9f0cddbda3586606ba3633ca04c38784becc17a6 /libs/evoral/src/SMF.cpp | |
parent | c229e31720013e5147efe2929204faee476bfe2d (diff) |
attempt to handle poly-pressure (polyphonic aftertouch) similarly to other MIDI messages
Diffstat (limited to 'libs/evoral/src/SMF.cpp')
-rw-r--r-- | libs/evoral/src/SMF.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/evoral/src/SMF.cpp b/libs/evoral/src/SMF.cpp index 45109b50e5..65304c4e4d 100644 --- a/libs/evoral/src/SMF.cpp +++ b/libs/evoral/src/SMF.cpp @@ -338,6 +338,7 @@ SMF::append_event_delta(uint32_t delta_t, uint32_t size, const uint8_t* buf, eve bool const store_id = ( c == MIDI_CMD_NOTE_ON || c == MIDI_CMD_NOTE_OFF || + c == MIDI_CMD_NOTE_PRESSURE || c == MIDI_CMD_PGM_CHANGE || (c == MIDI_CMD_CONTROL && (buf[1] == MIDI_CTL_MSB_BANK || buf[1] == MIDI_CTL_LSB_BANK)) ); |