Update MIDI inverter comment
This commit is contained in:
parent
ad50852aeb
commit
bcc8453861
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@ impl Plugin for MidiInverter {
|
||||||
_buffer: &mut Buffer,
|
_buffer: &mut Buffer,
|
||||||
context: &mut impl ProcessContext,
|
context: &mut impl ProcessContext,
|
||||||
) -> ProcessStatus {
|
) -> 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() {
|
while let Some(event) = context.next_event() {
|
||||||
match event {
|
match event {
|
||||||
NoteEvent::NoteOn {
|
NoteEvent::NoteOn {
|
||||||
|
|
Loading…
Add table
Reference in a new issue