/midi_examples

sketches to hack for ESP32-S2

Primary LanguageC

midi_examples

One of several ESP32 repositories

See also MIDI sketches

Sample sketches for TinyUSB MIDI, musical instrument digital interface class

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