Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Is it possible to configure RPi as a MIDI device?
I'd like it to show up as a MIDI device on my computer when connected via USB OTG to my computer.
OTG does not work on most Pi models due to hardware restrictions.
To enable OTG on the Pi Zero, see Andrew Mulholland's blog post Raspberry Pi Zero – Programming over USB!, and the linked guide.
(To summarize: add dtoverlay=dwc2 to /boot/config.txt, and load the dwc2 and g_midi modules.)
Required, but never shown