fundamental Posted August 27, 2011 Report Share Posted August 27, 2011 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 Quote Link to comment Share on other sites More sharing options...
TK. Posted August 27, 2011 Report Share Posted August 27, 2011 You will find a simple USB application under: http://www.ucapps.de/mios32_download.html search for usb_midi_2x2 The package contains a README.txt file with some useful informations Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
fundamental Posted August 27, 2011 Author Report Share Posted August 27, 2011 You will find a simple USB application under: http://www.ucapps.de/mios32_download.html search for usb_midi_2x2 The package contains a README.txt file with some useful informations Best Regards, Thorsten. Cool, thanks! Quote Link to comment Share on other sites More sharing options...
nihle Posted July 9, 2013 Report Share Posted July 9, 2013 Hello, I am using an STM32-F4 discovery, and I was wondering if the usb midi interface code would also work for it or not, seeing as it is an STM32 series. Thank you in advance, Nihle Quote Link to comment Share on other sites More sharing options...
Duggle Posted July 10, 2013 Report Share Posted July 10, 2013 It certainly appears that such applications can be built and run on the F4 (there are currently limitations such as no LCD yet, as I understand). Do you mean can the pre compiled binary be loaded and work? Try it! Quote Link to comment Share on other sites More sharing options...
niklasni1 Posted July 10, 2013 Report Share Posted July 10, 2013 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. Quote Link to comment Share on other sites More sharing options...
nihle Posted July 12, 2013 Report Share Posted July 12, 2013 #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 Quote Link to comment Share on other sites More sharing options...
Duggle Posted July 12, 2013 Report Share Posted July 12, 2013 I dont get where you do the communication between USB and midi in the code (I am new to programming world ;p). You have not seen the tutorials yet?http://svnmios.midibox.org/listing.php?repname=svn.mios32&path=/trunk/apps/tutorials/001_forwarding_midi/&# Quote Link to comment Share on other sites More sharing options...
nihle Posted July 12, 2013 Report Share Posted July 12, 2013 (edited) 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 July 12, 2013 by nihle Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.