tutorial:3
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
tutorial:3 [2010/05/10 23:19] – created camille | tutorial:3 [2010/05/11 00:24] (current) – camille | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== How to control TouchOSC LEDs with Ableton Live and OSCulator ====== | ====== How to control TouchOSC LEDs with Ableton Live and OSCulator ====== | ||
- | TouchOSC features a LED control that can display an on/ | + | TouchOSC features a control that displays a stylized |
- | In the Beatmachine default layout, page 2, there are 16 LED controls. They can be activated by sending an OSC message like: | + | You can see those LEDs in the Beatmachine default layout, |
- | ''/ | + | ''/ |
- | ''/ | + | ''/ |
+ | {{ : | ||
+ | ===== 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 [[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 ===== | ||
+ | |||
+ | * Launch OSCulator and Live. | ||
+ | * Open an empty session in Live and switch to the arrangement view (press TAB). | ||
+ | * Select a region of 1 bar in an empty MIDI track: | ||
+ | {{ : | ||
+ | |||
+ | * Press Command-Shift-M, | ||
+ | * Right click the background of the MIDI editor and choose a fixed grid size of 1/16th note: | ||
+ | {{ : | ||
+ | |||
+ | * Fill the grid view with 16 consecutive 1/16th notes starting at C0 and ending at D#1((it doesn' | ||
+ | {{ : | ||
+ | |||
+ | * In the arrangement, | ||
+ | {{ : | ||
+ | |||
+ | * Go back to Launch mode (press TAB), and set the track' | ||
+ | {{ : | ||
+ | |||
+ | * Now press play a short time to register the MIDI data in OSCulator. | ||
+ | * Switch to OSCulator, a message named ''/ | ||
+ | * Still in OSCulator, select the pitch parameter, and do Edit-> | ||
+ | * Go back to Live, and press play for at least one bar. This will register new messages in OSCulator, and you will be able to access all the different notes by their respective pitch. | ||
+ | {{ : | ||
+ | |||
+ | |||
+ | ===== OSCulator configuration ===== | ||
+ | |||
+ | First of all, we will need to know what is the network host for the iPhone or iPad. | ||
+ | How to do this [[faq: | ||
+ | |||
+ | * Open the Parameters window (Command-Option-P) and go in the OSC Routes tab ; | ||
+ | * Click on the + button to add a new routing ; | ||
+ | * Change the //Host// to your's iPhone network name or IP address (we will use here '' | ||
+ | * Set the //Port// to TouchOSC' | ||
+ | * Click on the //Rewrite Address// field to edit the rewrite address, this will display the OSC editor window ; | ||
+ | * In the //Target OSC address// field, type ''/ | ||
+ | * Back to OSCulator (don't close the OSC Editor yet), select the OSC routing you just created, and copy it (Command-C) ; | ||
+ | * Paste it 15 more times to create 16 OSC routings ; | ||
+ | * For each routing change the target OSC address to ''/ | ||
+ | * You should have this (don't pay attention to the sorting order, but you get the idea): | ||
+ | {{ : | ||
+ | |||
+ | * Click OK to dismiss the Parameters window ; | ||
+ | * Select every //trigger// parameters. | ||
+ | * In the //Event Type// column, select //OSC Routing// ; | ||
+ | * In the //Value// column, select '' | ||
+ | * Assign the other the routings by note pitch order ((you will notice that as of version 2.9.5, OSCulator doesn' | ||
+ | * You will end up will something like: | ||
+ | {{ : | ||
+ | |||
+ | 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 {{: | ||
+ | |||
+ | 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. | ||
+ | |||
+ | I hope this is something Rob((the author of TouchOSC)) can fix in a future release of his great software! |
tutorial/3.1273526367.txt.gz · Last modified: 2010/05/10 23:19 by camille