The tutorial walks through the entire game from scratch in 13 steps, explaining every line of code along the way.
This program is based on an ESP-IDF TinyUSB USB MIDI example with minimal changes so it works with arduino-esp32. See https://github.com/espressif/esp-idf/blob/master ...