mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 20:29:35 +01:00
attempt to handle poly-pressure (polyphonic aftertouch) similarly to other MIDI messages
This commit is contained in:
parent
c229e31720
commit
d6691a80e9
3 changed files with 7 additions and 3 deletions
|
|
@ -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))
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue