Table of Contents

How to control TouchOSC LEDs with Ableton Live and OSCulator

TouchOSC features a control that displays a stylized on/off LED. This control can not be touched, but it can be controlled with OSC messages. The purpose of this tutorial is to explain how to control these LEDs from Ableton Live.

You can see those LEDs in the Beatmachine default layout, on page 2, there are 16 of them. They can be activated by sending an OSC message like:

  ''/2/led3 1.0''   ... will turn the third LED on
  ''/2/led3 0.0''   ... will turn the third LED off

 TouchOSC Beatmachine page 2

Overview

To sync the LEDs with Live's tempo, we will use MIDI notes sent to OSCulator, and convert them to OSC messages in turn sent to TouchOSC.

You will need to have TouchOSC and OSCulator correctly setup with Live as explained in this tutorial.

You can download the files used here at the end of this tutorial, however it is highly recommended to start from scratch and follow the instructions step by step.

Live configuration

Live Arrangement with 1 bar selected

Selecting a grid of 1/16th

MIDI clip filled with 1/16th notes

The clip has been repeated many times

The track MIDI output is set to OSCulator In (8000)

OSCulator has registered all the notes in the MIDI clip

OSCulator configuration

First of all, we will need to know what is the network host for the iPhone or iPad. How to do this is explained in this FAQ (How do I know what is the IP address or host name of my iPhone or iPad?).

All teh 16 OSC routings have been created

OSCulator with the completed OSC configuration

If you press play in Live, and you should be able to see the LEDs blinking in the order given by the MIDI track.

Further notes

You can download the setup files of this tutorial here. If you want to use these files, you will have to change the OSC Routings' target host to your phone's IP address or network host name, or it won't work.

It should be noted that the LEDs will not blink with a very precise timing, which can be disappointing. This is due to a limitation of iPhone OS that will throttle the network input to 250 ms time slices in order to optimize battery usage. The fun thing is that every time the phone is sending data over the network this throttling effect fades away. You can try to move a slider quickly back and forth, and you will see that the LEDs timing becomes much more accurate.

I hope this is something Rob3) can fix in a future release of his great software!

1)
it doesn't matter what note you are starting with, any note will do
2)
you will notice that as of version 2.9.5, OSCulator doesn't sort properly the OSC routings, be sure to choose them in the correct order
3)
the author of TouchOSC