back

Alternatively, see ESP32 MIDI

Insert USB-MIDI transport layer, which depends on MIDIUSB Library for Arduino,
  to use regular (serial hardware) MIDI Arduino sketches with native Arduino USB.

PlatformIO USBLibrary for STM32

STM32MIDI USB

The MIDI class is not supported by the STMCube HAL but it is well known and implemented The first 2 projects have the midi usb class;
one for stm32f1xx and another for stm32f4xx.
It works in a stm32f411CE (Blackpill board)
with cont.trol configuring first the project as USB Audio class,
then later adding the MIDI class and initializing MIDI class Instead of AUDIO.

STM32 MIDI Device Class Middleware driver

STM32F4 synth with USB MIDI Host function

stm32f103c reading serial midi

USB MIDI keyboard using stm32f103c8t6 (bluepill)

multi-port USB MIDI interface for STM32F103C8

@SloBlo:  USB MIDI using usbd_composite_builder

USB_DEVICE/App/usbd_midi_if.c

tinyusb/examples/device/midi_test/src/main.c

replace STM32Cube HID with MIDI

Discussion of ending MIDI event packets to the host
Ensure that the MIDI driver status is IDLE before each transfer initiation by using:
USBD_MIDI_GetState(&hUsbDeviceFS) == MIDI_IDLE

STM32_UART_MIDI direct port of Arduino MIDI library for use with STM32 HAL drivers

NOT USB...

USB to Serial-MIDI Interface using STM32F103 (USB Custom-HID implementation in ST CubeIDE) - YouTube

On GitHub

STMicroelectronics YouTube:  STM32 USB training - Device library

adding STM32 USB MIDI support to Arduino libraries

GitHub USB MIDI interfaces

mi:muz:tuch STM32 MIDI Controller

maintained by blekenbleu