Wireless MIDI on iPhone: Open Source Motion Control Talks to Nintendo DS, Computer

The Cupertino-Mushroom Kingdom gap has been closed: you can now mix and match DS and iPhone/iPod touch for wireless control of music and visuals. DSMI, the homebrew library that has enabled wireless and serial MIDI connections from the Nintendo DS, has come to iPod touch and iPhone. That means anyone building instruments and controllers on the iThing can now add wireless MIDI controllers that talk to computers – or other mobile devices, including the DS. It also means that DSMI’s acronym standing for “Nintendo DS Music Interface” has only one word that describes all the things it does.

If you’re a developer, you can grab the open source (LGPL-licensed) code. If you’re a user, apps are already supporting the new wireless features. There’s MIDI Motion Machine, which provides tilt and 16 triggers, and iXY, a 99-cent app for KAOSS Pad-style X/Y touch control. The MIDI Motion Machine author, TheRain, takes an interesting approach: there’s both a free and pay version, and the free version has source code.

iXY has one of the cleverest interfaces I’ve seen yet for something as simple as the trusted X/Y pad controller. Who says there isn’t still some room to refine interfaces?

Tobias Weyand, DSMI’s original co-creator along with TheRain, writes:

My friend TheRain has ported DSMI to the iPhone! This enables iPhone deveopers to easily integrate wireless MIDI in their applications, making it possible to control any MIDI application on the PC with the iPhone. The Wifi-to-MIDI bridge is the same DSMI server application that is also used for the DS, thus it works with Windows, OSX and Linux.
Also, like on the DS, both OSC and MIDI are supported!

DSMI for iPhone is available from our Google Code site (http://code.google.com/p/dsmi/) together with an open source example application called MIDI Motion Machine that is a tilt-based xy-controller.

The cool thing is that this library takes away all the hassle of communicating MIDI messages to the PC and makes development of MIDI controllers very very simple. So, we hope that people will use the DSMI to create a lot of innovative iPhone MIDI controller apps.

Pretty cool, isn’t it? :-)

read more

Now on the Nintendo DS: OpenSoundControl

Big news from the homebrew Nintendo DS scene: OpenSoundControl is now supported, thanks to a community contribution from Tim Wood. That means you can drag your stylus around and send high-resolution data straight to software running on your computer. From the DSMI site:

OSC is an emerging standard for exchanging music control signals that is much more flexible and modern than MIDI. For example, OSC can directly communicate via network, so the PC-side DSMI server is not required.

fishuyo also made a nice demo with a Kaoss pad and sliders of the new OSC capabilities. It comes with a pd patch that is a nice little synth. Check out the demo’s source code! OSC is really easy to add to your application. And it’s the future! So, get libdsmi v3.0 now!

Add this to controller apps for the iPhone/iPod touch, and it’s easy to turn your mobile device into an additional controller. (Think an easy-to-add X/Y pad, for instance, that you can plop on that blank space on your keyboard.)

Full details:

http://dsmi.tobw.net/

I got lots of requests in our holiday guide survey for tutorials on Pd and tutorials on OSC, so – be sure you’re going to get a Pd + OSC tutorial!

For the record, this opens up OSC to as many as 84+ million units of hardware. (and that’s before you decide you want to get the new model just for the color red)