Arduino MIDI Library
Version 5.0.1
|
This example shows how to perform simple input and output MIDI.
When any message arrives to the Arduino, the LED is turned on, then we send a Note On message, wait for a second, then send the Note Off and turn off the LED.
Note that instead of sending a Note Off, we could have sent a Note On with velocity 0 to shorten the message. This is called Running Status.