This library allows an esp32 board with USB capabilities to act as a MIDI instrument over USB. The library is based on tinyusb included in arduino-esp32.
This library support Arduino MIDI Library in combination with Arduino USB-MIDI Transport(multi-cable-support branch on my forked version)