MIDI-Input
This is an example on how to attach your own callbacks for receiving MIDI input.
- Boards:
- AVR, AVR USB, Nano Every, Due, Nano 33, Teensy 3.x, ESP32
Connections
None.
Behavior
- When MIDI messages are sent to the USB interface, they are printed to the Serial port.
Mapping
None.
Written by PieterP, 2020-06-11
https://github.com/tttapa/Control-Surface
}
Serial <<
F(
"System Exclusive message: ") <<
hex;
for (
size_t i = 0; i < se.
length; ++i)
Serial << se.
data[i] <<
' ';
}
<<
F(
" on cable ") << rt.
CN <<
endl;
}
} callbacks;
void setup() {
Serial.begin(115200);
}
void loop() {
}
virtual void onChannelMessage(Parsing_MIDI_Interface &midi)
Callback for incoming MIDI Channel Messages (notes, control change, pitch bend, etc....