TouchOSC with Processing/Eclipse

This is a lecture I gave at the 2012 Live Performers Meeting festival in Rome on how to use TouchOSC with Processing/Eclipse and the OSCP5 java libraries to create a visualizer in Processing. Discussion includes installing and running the OSC P5 libraries for the Eclipse environment in Processing, building some funky visualizations in Processing, and configuring a Touch OSC touch-screen interface on a mobile device. Authoring environment is a MacBook pro with 4gigs of ram with 2.5 MHZ processor.

Here’s a link to the tutorial– it doesn’t yet have the full code download, but should have some helpful configuration pointers:

Touch OSC is a modular OSC and MIDI control surface for iPhone / iPod Touch / iPad and Androi. It sends and receives Open Sound Control messages over a Wi-Fi network using the UDP protocol and supports both CoreMIDI and the Line 6 MIDI Mobilizer interfaces for sending and receiving MIDI messages.

OSC is the acronym for Open Sound Control, a network protocol developed at cnmat, UC Berkeley. It is a protocol for communication among computers, sound synthesizers, and other multimedia devices that is optimized for modern networking technology and has been used in many application areas. For further specifications and application implementations please visit the official osc site:

OscP5 is a library written by Andreas Schlegel for the programming environment Processing.

2 responses to “TouchOSC with Processing/Eclipse”

  1. Claudia says:

    Hi Andy, as mentioned below I’m trnyig to look into the OSC(Global) module to bend it to my will (nothing to do with ableton, i’m actually trnyig to get modul8 to control something, and also the holy grail of getting OSC in/out of other modules) and I’m having a really hard time getting to grips with it as it’s very different from other modules i’ve worked on, is there any way i could get a hold of the OSC module you’ve been working on? I’m not looking for any specific solution really just could be useful to see how others have modified the basic OSC module please let me knowEmmanuel

  2. admin says:

    I’ve played around with Ableton a little bit, and my impression was that its OSC support is pretty basic– it can hear or send preset signals, but that’s about it.

    If you’re rolling your own devices or building from scratch, I’d try Processing– there’s a lot of online support, it seems to work well with other platforms, and you can custom code any kind of OSC signal you want. Here’s a quick tutorial on using Processing to talk to TouchOSC:

    This is Eric, by the way… not sure who Andy is.