I found a few USB / MIDI 'libraries' for STM32.

However, I'm looking for a library that can handle (multiple) MIDI In/Out (DIN5) connectors with STM32 (preferably STM32F4), thus using UART/USART.

I wonder if something is available (to prevent creating it myself while something similar exists), since I cannot imagine I'm the first one doing something with MIDI (DIN5) ports.

I'm looking for something similar as the Fourtyseven Effects MIDI library like on the Arduino: fourtyseven effects.

  • 1
    With multiple UARTs running in parallel, you just have to use multiple instances of the library data structures in parallel. (If your library uses global variables, change it appropriately.) – CL. Aug 29 '17 at 12:39
  • @CL I understand, but so far I don't know what is a (good) library to use ... I assume the library (if there is one) supports having multiple instances. – Michel Keijzers Aug 29 '17 at 12:51
  • @CL: is this really a good place? I doubt (except you) there are very few people heard even about STM32 – Michel Keijzers Aug 29 '17 at 13:14
  • 1
    That message is misleading; the first four users voted to close as off topic; only an admin can migrate to softwarerecs. Anyway, this is the only site where this question could be on topic. – CL. Aug 29 '17 at 13:41
  • 1
    Consider porting some other library to the STM hardware. – CL. Aug 29 '17 at 16:29

Here is a github repository for something that should do the trick. https://github.com/TheKikGen/USBMidiKliK4x4

  • 2
    It looks good, although I reverted back to Arduino for now. But good to know there is a MIDI library. – Michel Keijzers Jan 27 at 20:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.