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.
* 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 ...