TouchOSC and Logic: look mom, no cables!
The App Store is somewhat deluged with music-related applications. While I find many of the instruments to be novelties, the iPhone-based remote controls available for various Digital Audio Workstations have really caught my attention.
I've been playing around with the various musical remote controllers available for a while now. When the various iTouchMidi controllers were released, I got pretty excited. Problematically, I'm a fan of Logic Pro, and these intriguing but mostly Logic-incompatible controllers weren't up to snuff for my personal needs. It was a few weeks before I discovered the available OpenSound Control (OSC) apps in the App Store.
I've played with the lineup of controllers such as OSCemote and Mrmr (iTunes link), and both of those are a lot of fun with a good amount of potential. One stood out for me, though, and TouchOSC has officially become part of my home studio setup.
TouchOSC provides an array of control screens consisting of faders, rotary controls, buttons, toggles, XY pads, multi-faders/toggles and LEDs in various configurations. It communicates wirelessly with software and hardware which can receive and send the OSC protocol. I thought I'd offer a quick rundown of the steps I used to get from TouchOSC to Logic. I'm sure the same methods can be applied to other software, with a little variation.
An overview of the controller configurations in TouchOSC can be found in the gallery below. Read on for the lowdown.
TouchOSC
You can pick up TouchOSC in the App Store for $3.99USD. When you first launch it, you get a configuration panel where you can set your host and communication ports. TouchOSC can both send and receive, so there are two port settings. I used my bonjour address (mbpro.local) as the Host, and the OSC standard (I think) ports : 3333 for outgoing and 8000 for incoming. At the bottom of the configuration panel, you can choose a layout for the controller. I'm working with "Mix 16", but any of the layouts will work with this setup.
OSCulator
OSCulator is the software I used on my MacBook Pro to translate the incoming OSC signals to MIDI controls. OSCulator works with a variety of hardware and software devices, including the Nintendo Wiimote, if you've got one handy. It can interface with any MIDI software or hardware you've got, translating the OSC signals into MIDI controller commands (CC) or notes. Additionally, you can reroute signals as OSC or MIDI, and even trigger AppleScripts.
OSCulator is shareware, and you can choose how much to donate to get a license (minimum $19USD). It will nag incessantly until you buy it, which I tend to frown on, but I quickly found it vital enough to be worth a donation. Once you've got it, registered or not, you can open up the templates found at the TouchOSC site, almost at the bottom of the page under the OSCulator heading. Open the Mix 16 template (or something less complicated, if you choose) in OSCulator, either by double clicking or by using File -> Open. Once the template is open, you'll see a port setting in the upper left corner of the window. Set it to 3333 (or whichever port you chose for "outgoing" in TouchOSC).
By default, the signal indicators in OSCulator are set to light up when receiving. Double check, though, and make sure they're on ... it helps a lot with setup and you can disable them later if they cause a performance hit. The option is on the first panel of the preferences, titled "Flash activity lights." If you haven't already started TouchOSC with the above settings at this point, load it up now. If you're connected properly, you'll see an indicator in the upper right (the Mix 16 configuration works in landscape mode) of the TouchOSC screen, flashing green. Playing around with any of the controllers should light up their associated receiver in OSCulator (scroll down if you're not seeing anything, there are a lot of controls in this one).
Each control is already set up in the template to link to a MIDI CC. That's pretty much all we need to get moving in Logic.
Logic Controller Assignments
This is the tedious part. I was unable to find any ready-to-go templates to do this quickly in Logic, so we have to teach Logic what we want each controller command to do. Fortunately, it's not overly complicated, although it can be a little clumsy. To get started, drag, click or rotate the Logic control you want to associate TouchOSC with first. Under Logic's main application menu, find Preferences -> Control Surfaces -> Learn assignment for "...," where "..." will be the control you last touched. The shortcut for this is Command-L, which is a big timesaver.
The Controller Assignment window will open with "Learn Mode" enabled. Then, just slide, touch or rotate the controller in TouchOSC that you want to associate with this function. A tooltip in Logic will notify you when the signal has been received and its parameters determined. If things look about right, I suggest you immediately turn off Learn Mode in the lower right hand corner of Logic's Controller Assignment window to avoid changing the parameters inadvertently. For most fader controls, you'll want the values set from 0 to 127, and "scaled" with a multiplier of 1.00. For toggles, buttons and other controllers, you'll set the mode appropriately. In most cases Logic will handle this automatically.
Repeat these steps as required to get your TouchOSC controllers associated with Logic functions. A couple dozen iterations later (or however many you think will actually be useful), you've got a control surface which can assist with mixing, transport controls, effects and more. I really like using the XY Pad with a filter effect, assigned to cutoff and resonance, respectively. I also really like being able to have a guitar and requisite microphones set up away from the workstation, and be able to trigger record, undo, return to starting point, etc. without having to fumble for the keyboard from my stool. My iPhone can sit on any nearby surface or music stand and control all of the necessary functions.
Rock and Roll
If nothing else, this will hopefully be some kind of inspiration to incorporate your iPhone into your existing music setup in some fashion. Whether or not you go with TouchOSC, or if you're more inclined to work in something like Ableton Live than Logic, your iPhone can be a great assistant in any digital audio setup. Happy rock and/or rolling.
Share
Source: http://hexler.net/touchosc
Categories
The App Store is somewhat deluged with music-related applications. While I find many of the instruments to be novelties, the iPhone-based...
Add a Comment
me too... but also with the mute button. it works very well in ableton live.
December 06 2008 at 4:05 PM Report abuse Permalink rate up rate down Replyi can't get the record button to register in the control assignments in Logic.
any clues?
Could you please upload a screenshot of what your Controller Assignments window looks like for an event using the accelerometer?
I'm using OSCemote and I'm finding it hard to map the accelerometer properly... I think it's to do with the settings for the event in the Controller Assignments window.
Thanks.
http://www.youtube.com/watch?v=7fpLZXDBVjA
November 23 2008 at 4:25 PM Report abuse Permalink rate up rate down ReplyDoes anyone know if this works with MainStage? This could really be the missing link for my live setup.
November 19 2008 at 5:32 PM Report abuse Permalink rate up rate down ReplyMrmr, which was also mentioned, lets you create your own layouts and is designed to be customized. It has an interface creation tool, like Lemur, or you can make your own interfaces in a text editor.
It is also FREE and open source so you might want to try that first.
wow, amazing app!!!
after seeing your blog i immediately downloaded touchosc and osculator. i have set everything up a it seems to work fine, however logic isnt responding to the controls. i cant seem to learn any controls from logic. is there something i need to setup in logic before it can interact with osculator??
I've been looking for something like GarageRemote! Thanks so much!
When you say "moderate success" does that mean it didn't work, completely??
I'm having trouble remembering what my frustration ended up being with it. It's been a while, but I do recall at least getting the transport controls working. If necessary, it could probably act as a go-between for Osculator and GarageBand... I would think.
November 14 2008 at 5:39 PM Report abuse Permalink rate up rate down Replya.m.a.z.i.n.g!
thank you!
Hot Apps on TUAW
Deals of the Day
more deals- Philips Fidelio Primo Speaker Dock for iPhone / iPod for $320 + $6 s&h
- miFrame Picture Frame Dock for iPad for $64 + $8 s&h
- Refurb Apple iPod nano 8GB MP3 Player for $99 + free shipping, 16GB for $119
- Hannspree Apple-Shaped 28" 1080p LCD HDTV for $270 + free shipping
- Philips wOOx Alarm Clock Radio for Apple iPod / iPhone for $60 + free shipping
- iWatchz Elemetal Collection Bracelet for iPod nano for $75 + free shipping
Software Updates
more updates- EFI Firmware Update brings Lion Internet Recovery to 2010-model Macs
- OS X Lion 10.7.3 released with Safari 5.1.3, Wi-Fi bug fix
- Aperture updated to 3.2.2, addresses Photo Stream issue
- Apple updates Keynote to address Lion issues
- Google Search app gets new look on iPad
- Apple releases Apple TV Software Update 4.4.3



22 Comments