Can I use the Arduino MIDI library on a esp32 cam ?


Can I use the Arduino MIDI library on a esp32-cam ?
If so, my problem's solved. If not, what are the alternative libraries?
The documentation mentions it's compatibility with AVR processors. ESP32 isn't.
I'm wondering why? and what the restrictions are when using on a esp32.


The MIDI library does indeed only mention ["atmelavr", "atmelsam", "teensy"] in its library.json file. However, I would be surprised if it didn't work on an ESP32.
Just try it, and you'll find out.

If it doesn't work, an alternative could be the Control Surface library I maintain. It supports many different MIDI transports on many different Arduino-compatible boards, including the ESP32.
You can find example code and more information here.