Hey all!
I'm rather new to the bluepill/stm32 stuff but have been messing with my arduino mega for a while now, I was wondering if theres a way to make the pluebill Midi Complaint so that when I plug it into something like Pro Tools/Logic it will be detected. Is this the same as regular HID complaint? thanks again!
MIDI Class Compliance
Re: MIDI Class Compliance
there probably isn't an existing implementation
perhaps you can check out
usb composite
viewtopic.php?f=50&t=36
and try to port hiduino
https://github.com/ddiakopoulos/hiduino
accordingly hid + midi can be proprietary i.e. those may not be the simple midi specs
normally this isn't quite a stm32duino 'beginners' project, try a blinky with usb serial (e.g. serial commands and Serial.print() )
response etc to get a feel of stm32duino before taking on usb-hid
midi is basically a protocol, if the software can do midi over usb serial (i.e. virtual com ports) it may work by porting hiduino to simply using Serial.print(), Serial.read() etc
perhaps you can check out
usb composite
viewtopic.php?f=50&t=36
and try to port hiduino
https://github.com/ddiakopoulos/hiduino
accordingly hid + midi can be proprietary i.e. those may not be the simple midi specs
normally this isn't quite a stm32duino 'beginners' project, try a blinky with usb serial (e.g. serial commands and Serial.print() )
response etc to get a feel of stm32duino before taking on usb-hid
midi is basically a protocol, if the software can do midi over usb serial (i.e. virtual com ports) it may work by porting hiduino to simply using Serial.print(), Serial.read() etc
Last edited by ag123 on Sat Jan 18, 2020 5:30 am, edited 2 times in total.
-
- Posts: 633
- Joined: Thu Dec 19, 2019 1:23 am
Re: MIDI Class Compliance
There is already a request in github to port MIDI into the official core.
Issue #668
For the future, an easy way to query google is like below:
Issue #668
For the future, an easy way to query google is like below:
"midi" site:github.com/stm32duino
Re: MIDI Class Compliance
Thanks! Yeah I’ve got a program I’ve been working on, on my mega but wanted the processing power of the STM32,
-
- Posts: 2
- Joined: Mon Jan 06, 2020 12:42 pm
Re: MIDI Class Compliance
I have written an Arduino sketch to send Midi commands over Ethernet using the IPMIdi protocol. This was written for the BluePill board with a W5500 SPI Ethernet adapter although it does work on other boards such as the Adafruit Feather M0 and M4 boards.
You can find my sketch here: https://github.com/djbottrill/IPMidi_example
You can find my sketch here: https://github.com/djbottrill/IPMidi_example
-
- Posts: 633
- Joined: Thu Dec 19, 2019 1:23 am
Re: MIDI Class Compliance
Do you need the extra clock cycles and efficiency of the STM32? My experience last year with the Mega2560 is that even at 16MHz, the board is quiet the powerhouse. An entire Rotax engine monitor is taking only about 60% of the clock cycles and there is no libraries being optimized. SRAM is like < 20% and flash < 30%... mainly used for static lookup tables.Kprellz wrote: Sat Jan 18, 2020 7:00 am Thanks! Yeah I’ve got a program I’ve been working on, on my mega but wanted the processing power of the STM32,