pschatzmann / arduino-midi

Midi support for Arduino (Midi over Serial, Bluetooth, BLE and TCP/IP, Apple MIDI)
30 stars 3 forks source link

USB support? #8

Closed T-vK closed 1 day ago

T-vK commented 1 day ago

Thank you for this amazing library! Are there any plans on adding support for USB? Many Arduino boards support acting as a USB MIDI controller: https://github.com/arduino-libraries/MIDIUSB And for ESPs there's also a library for this: https://github.com/adafruit/Adafruit_TinyUSB_Arduino

Some ESPs like the ESP32-S3 even support host USB, meaning you could connect a standard USB midi keyboard to it and for Arduinos there are USB host shields to add support for this.

It would be great if support for those scenarios could be added at some point.

pschatzmann commented 1 day ago

Have a look at my fork: It should work with any processor which has a standard integration of TinyUSB.

Unfortunately the ESP32 is a big mess and I am not sure if I will be able to find a solution there...