1
0
Fork 0

Update MIDI inverter comment

This commit is contained in:
Robbert van der Helm 2022-04-11 20:55:43 +02:00
parent ad50852aeb
commit bcc8453861

View file

@ -43,7 +43,8 @@ impl Plugin for MidiInverter {
_buffer: &mut Buffer,
context: &mut impl ProcessContext,
) -> ProcessStatus {
// Act on the next MIDI event
// We'll invert the channel, note index, velocity, pressure, CC value, pitch bend, and
// anything else that is invertable for all events we receive
while let Some(event) = context.next_event() {
match event {
NoteEvent::NoteOn {