Turn any Bluetooth device into a MIDI controller

[Peter Brinkman] is working on a circuit that makes it easy to interface MIDI and Bluetooth devices. His target hardware has been a MIDI compatible keyboard and an Android phone. He was inspired to tip us off about the project after reading about yesterday’s Bluescripts project.

We’ve embedded two demo videos after the break. They show [Peter] first using this hardware to receive MIDI signals from a keyboard on his Android phone, and then he demonstrates using the phone and an on-screen musical keyboard to transmit data back to a MIDI device which generates the intended sounds.

It’s an interesting project and he’s headed down the kit-production path right now. You’ll want to browse all of his recent posts, but we especially liked reading his thoughts about simplifying the circuitry. He originally had two separate voltages running in the circuit with a level converter for data signals. After some re-conceptualization he ditched several components and improved the functionality a bit.

Comments

  1. lou eney says:

    this is awesome. I have the same yamaha keyboard as you and this is a cool tool if put to good use. Picture this with a midi guitar…. my mouth waters

  2. dsurge says:

    I was actually expecting quite a bit of latency.

  3. zuul says:

    pretty cool

  4. wetware says:

    it’s a great idea but…

    like so many other hobby microcontroller project midi kits out there I don’t see any isolation of the midi ports from the rest of the circuit. older midi devices are very sensitive to these types of microcontroller based adapters not having proper isolation and introducing too little/much current on the midi cable.

    and latency isn’t much of a problem from the bluetooth side as midi is already fairly slow and adapting bluetooth signals to midi is only going to add latency in the 1-2 ms range where midi is already at ~ 5-9 ms

  5. nettoyeur says:

    @wetware The MIDI circuitry is straight from the specs of the MIDI Manufacturers Association (http://www.midi.org/techspecs/electrispec.php), except that a few resistor values and the buffering of the output have been adjusted for operation at 3.3V. In particular, the MIDI In port connects to an optoisolator and has no electrical connection to the rest of the device. Am I missing anything?

    As for latency, you have to consider delays due to buffering, protocol issues, and asymmetries between master and slave. (That’s actually the reason why MIDI over Bluetooth didn’t take off when people first tried it a few years ago; prior to Bluetooth 2.1, latency and jitter were terrible.) Bluetooth 2.1 is supposed to add about 7ms, which is consistent of my measurements of an overall latency of 15-20ms (including everything, Bluetooth and MIDI).

  6. Whatnot says:

    That bluesmirf modem is 65 bux? That’s not the cheapest way of doing thing eh.

  7. st2000 says:

    @HAD
    There are many Bluetooth protocols. So I don’t think you can turn *any* Bluetooth device into a MIDI controller. There is a re-occurring misconception about Bluetooth in the forum as people keep trying to hack a cell-phone ear-piece into a stereo head set -or- try to get keyboards to work with their Bluetooth media players.

    @wetware
    I always thought MIDI isolation was to prevent current loops or, worst, to prevent electrocuting someone on stage. But this is a self contained device that runs on batteries. What difference would it make if it had good or bad MIDI isolation?

  8. nettoyeur says:

    @Whatnot True, the BlueSMiRF Gold is a bit expensive, but I’ve only used it in the very first prototype. Recent versions use RN-41 or KC-21 Bluetooth boards, which are around $20.

  9. Volfram says:

    @nettoyeur: Pay no attention to Whatnot. He considers any home-built project utterly worthless if it costs any more than half what a store-bought solution would cost, even if there’s no store-bought solution. Makes me wonder what he thinks of homework assignments in engineering schools.

    I, on the other hand, have been looking for something EXACTLY LIKE THIS! When do you intend to start taking orders?

  10. Whatnot says:

    @nettoyeur ah, there we go, 20 is much more realistic for a hack project :)

  11. nettoyeur says:

    @Volfram We currently don’t have a firm date for taking orders, but I’m hoping that we’ll get there soon. Stay tuned!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 92,428 other followers