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
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.
OSCulator In (8000). This will have the effect of sending the MIDI notes to OSCulator.
/midi/note/1has beed registered.
/midi/note/1message purple, and fold it, waiting for more data to come.
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?).
/2/led3, and so on ;
gedeon.local:8001 → /2/led1(of course, this is not
gedeonbut your phone's network name) ;
If you press play in Live, and you should be able to see the LEDs blinking in the order given by the MIDI track.
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!