Jump to content

Software for STM32 Core as USB Midi interface?


fundamental
 Share

Recommended Posts

I have an STM32 built that I intended to use in an mb_seq, but in the meantime I would like to use it as a USB Midi interface. That is, I want to be able to have it show up in for example qjackctl under Linux and be able to configure routes between the ports.

Does anyone know of a software load, existing documentation, or a project already underway for this application (STM32 as USB MIDI interface)?

Thanks!

John

Link to comment
Share on other sites

  • 1 year later...

The Discovery board can run the sequencer app so it should be able to run the MIDI interface example.

 

Just get the latest MIDIBox sources, make sure to set:

 

MIOS32_FAMILY=STM32F4xx

MIOS32_PROCESSOR=STM32F407VG
MIOS32_BOARD=STM32F4DISCOVERY
 
and compile as normal.
Link to comment
Share on other sites

#include <midimon.h> what does this header do? I do not have it...

 

I dont get where you do the communication between USB and midi in the code (I am new to programming world ;p).

 

It seems like you do it in app.c, but there are also some leds that are turned on to see if packages are being sent (i will take all leds off from code seeing as GPIO pins are not the same, and I could care less to see a led flash to tell me package is sent, since i can see it on my midi programme)

 

There is also this terminal.c. I think it is only used to have a "user friendly" interface(not sure). Seing as I do not have an LCD or a way to print the information, I don't think it will be usefull.

 

Finally, can I take off APP_Periodic_100u (used as timer for the leds) and APP_Background (used to initiate LCD which i do not have)?

 

I wanted to make sure all this is correct.

 

Thanks for your time,

 

Nihle

Link to comment
Share on other sites

i figured it worked like that, thanks for the tutorial. Seeing the tutorial doe not answer my other questions. But i think i will just wing it ;p. I'm pretty sure there is no problem in taking out terminal.h and .c , leds in app.c and lcd reset in app.c.

 

Thanks again for the tutorial, it should help a bunch

 

Nihle

Edited by nihle
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...