Handle choke events in MidiInverter
This commit is contained in:
parent
1424b98e38
commit
2ac5eaadf8
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue