Control Surface
main
MIDI Control Surface library for Arduino
|
This example prints all MIDI messages that arrive over USB to the Serial monitor so you can use the Arduino as a MIDI monitor. It also allows you to enter MIDI messages as text in the Serial monitor, and then sends these messages as MIDI over USB.
This example requires an Arduino board with native MIDI over USB support.
To send a MIDI message from the Serial monitor, select “Newline” as the line ending, enter the MIDI message in hexadecimal, and press enter.
For example, if you enter 90 3C 7F
, a MIDI Note On message for middle C (0x3C) with a velocity of 127 (0x7F) will be sent over USB.
Spaces between bytes are not required (903C7F
will be interpreted as 90 3C 7F
), but they are recommended to prevent framing errors.
Written by PieterP, 2021-06-28
https://github.com/tttapa/Control-Surface