diff --git a/plugins/examples/midi_inverter/src/lib.rs b/plugins/examples/midi_inverter/src/lib.rs index 49d70873..1e09725e 100644 --- a/plugins/examples/midi_inverter/src/lib.rs +++ b/plugins/examples/midi_inverter/src/lib.rs @@ -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,