amy icon indicating copy to clipboard operation
amy copied to clipboard

feature request: USB midi support for the esp32s3 in arduino

Open bwhitman opened this issue 1 year ago • 5 comments

See https://github.com/shorepine/tulipcc/discussions/323

Try porting in usb_keyboard.c and midi.c into Arduino for the esp32s3 example, with a polyphonic midi synth example.

bwhitman avatar Aug 20 '24 15:08 bwhitman

This may actually mean "USB gadget support" , not USB Host support

bwhitman avatar Aug 21 '24 18:08 bwhitman

Had a look at that example I posted? That functions for sending USB MIDI notes from ESP32-S3 to a DAW on a laptop. Really a combo example that sends bi-directional USB MIDI between a DAW on a Linux/Mac/Windows computer and an ESP32-S3 without any middlemen would be great for the ESP32 synth community. That being modular, so that handling single directional MIDI by switching a single bool or similar to ease MCU processing load, would be nice architecture. By the way, I am pondering designing a dual S3 board for touchscreen synths soon, although hopefully P4 modules will be available (or already are somewhere) very soon, so I can use one module rather than having to add a second one for synths that use more MCU cycles. Designing a dual MCU board simply to run synths honestly seems somewhat ridiculous, so hopefully that new MCU will be available to try this week.

01GOD avatar Aug 25 '24 05:08 01GOD

By the way, including the USB MIDI Host capability to connect a USB keyboard directly will certainly be appreciated. I may have a look at combining various repos with some custom code later today, but I was up until 3am working the past 2 nights and I should be kinder to My body than I have been recently.

01GOD avatar Aug 25 '24 05:08 01GOD

Saw that proposal. Thanks for continuing to move this project forward!

01GOD avatar Aug 31 '24 06:08 01GOD

Arduino still does not support USB host for S3 yet. It can be done in esp-idf, though. I'd be happy to submit my code for that, if it is useful. I have a working esp-idf example with USB MIDI Host, setup in Platformio.

marchingband avatar Jul 15 '25 04:07 marchingband