* This program creates a simple MIDI device with 2 separate virtual cables. * The device prints out each message it receives by cable number. Every second, * it sends out on both cables a note on and ...
Open the Midi example sketch. There are details at Arduino tutorials. Compile to check the code. It requires no new libraries or add-on files. Setup() turns on the UART circuit with Serial.begin(31250 ...
The Adafruit TinyUSB Library driver for USB MIDI devices properly creates a USB descriptor that can support multiple virtual cables. However, it only provides one MIDI Library MIDI Interface object.