mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Fix MIDI Aftertouch (import, record and play) in the backend
This commit is contained in:
parent
8f5e5c4c60
commit
6f95dfdc31
1 changed files with 2 additions and 1 deletions
|
|
@ -949,7 +949,8 @@ Sequence<Time>::append(const Event<Time>& ev, event_id_t evid)
|
|||
| (0x7F & ev.pitch_bender_lsb())),
|
||||
evid);
|
||||
} else if (ev.is_poly_pressure()) {
|
||||
append_control_unlocked (Parameter (ev.event_type(), ev.channel(), ev.poly_note()), ev.time(), ev.poly_pressure(), evid);
|
||||
const ParameterType ptype = _type_map.midi_parameter_type(ev.buffer(), ev.size());
|
||||
append_control_unlocked (Parameter (ptype, ev.channel(), ev.poly_note()), ev.time(), ev.poly_pressure(), evid);
|
||||
} else if (ev.is_channel_pressure()) {
|
||||
const ParameterType ptype = _type_map.midi_parameter_type(ev.buffer(), ev.size());
|
||||
append_control_unlocked(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue