1
0
Fork 0

Handle choke events in MidiInverter

This commit is contained in:
Robbert van der Helm 2022-07-06 13:41:20 +02:00
parent 1424b98e38
commit 2ac5eaadf8

View file

@ -73,6 +73,17 @@ impl Plugin for MidiInverter {
note: 127 - note,
velocity: 1.0 - velocity,
}),
NoteEvent::Choke {
timing,
voice_id,
channel,
note,
} => context.send_event(NoteEvent::Choke {
timing,
voice_id,
channel: 15 - channel,
note: 127 - note,
}),
NoteEvent::PolyPressure {
timing,
voice_id,