Midi USB to Bluetooth?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
jayfehr
Posts: 4
Joined: Sun Mar 23, 2014 2:17 pm

Midi USB to Bluetooth?

Post by jayfehr » Wed Dec 02, 2015 8:06 pm

I'm curious if it's possible to use the micropython board to read in midi commands from a usb keyboard, then transfer them to a bluetooth module over uart?

This is the Bluetooth module I have: https://www.adafruit.com/products/1697

I did find this piece of code that suggests it's possible: http://docs.micropython.org/en/latest/p ... rough.html

I also read in this forum that the USB can't act as a host, so I'm a little confused. Any clarification would be appreciated.

SpotlightKid
Posts: 437
Joined: Wed Apr 08, 2015 5:19 am

Re: Midi USB to Bluetooth?

Post by SpotlightKid » Thu Dec 03, 2015 12:41 pm

USB MIDI is s different protocol than HID, which is used for USB typing keyboards. Also, to be able to support musical keyboards, the pyboard would first need to be able to act as a USB host.

The processor and the STM library support it, it has been done on the STM32F4DISCOVERYY board. See, for example, the midibox project (http://ucapps.de). But I am not aware that USB host or MIDI support has been integrated in MicroPython yet.

Post Reply