midi_examples
One of several ESP32 repositories
See also MIDI sketches
Sample sketches for TinyUSB MIDI, musical instrument digital interface class
- midi from EP32TinyUSB examples
- midi_test from Adafruit_TinyUSB_Arduino
- Basic_IO from MIDI_Library
- RGBW from Freenove WS2812 Lib for ESP32
- ESPAsyncWebServer from ESP32-S2/Arduino (ESP32-S2-Saola-1) web server control onboard RGB LED (NeoPixel)
Libraries used for sample sketches
Hardware
To use native ESP32-S2 USB needs connecting pins 19 and 20 to usb cable or with similar connectors:
ESP32TinyUSB Known issue
Currently library is not working with vanila arduino-esp32, due to
tinyusb callbacks that cannot be overriden and are used by arduino-esp32.
To make it work required adding __attribute__ ((weak))
in 3 lines:
https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/esp32-hal-tinyusb.c#L266
https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/esp32-hal-tinyusb.c#L275
https://github.com/espressif/arduino-esp32/blob/master/cores/esp32/esp32-hal-tinyusb.c#L284