I am a university student studying embedded system design. I'm totally new to MIDI but I want to make a MIDI keyboard using an ARM-Cortex-M0+ MCU as my coursework. I plan to use a USB wire to connect it with my laptop, so that I could use it to controll softwares like FL Studio. But besides all the hardware designing work, I don't know how to make my bareboard recognized as a MIDI keyboard. Should I add some related libraries into my program?
I am not sure if you still require an answer but take a look at TinyUSB and their MIDI implementation + example. You can create MIDI devices using the TUSB library.
That’s an exciting project! To make your board recognized as a MIDI keyboard, you’ll need to implement the USB MIDI device class. Look for USB MIDI libraries compatible with your ARM Cortex-M0+ (e.g., TinyUSB or STM32Cube depending on your MCU). These libraries can help handle MIDI message formatting and USB communication. Best of luck with your coursework!