User Tools

Site Tools


tutorial:3

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tutorial:3 [2010/05/11 00:19] camilletutorial:3 [2010/05/11 00:24] (current) camille
Line 9: Line 9:
  
 {{ :tutorial:img_0280.png | TouchOSC Beatmachine page 2}} {{ :tutorial:img_0280.png | TouchOSC Beatmachine page 2}}
- 
- 
 ===== Overview ===== ===== Overview =====
  
-To sync the LEDs with Live's tempo, we will use MIDI notes sent to OSCulator, and convert them to OSC messages that will be sent to TouchOSC.+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:1:start|as explained in this tutorial]]. You will need to have TouchOSC and OSCulator correctly setup with Live [[tutorial:1:start|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. 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 configuration =====
  
Line 40: Line 36:
 {{ :tutorial:live4.png |The track MIDI output is set to OSCulator In (8000)}} {{ :tutorial:live4.png |The track MIDI output is set to OSCulator In (8000)}}
  
-  * Now press play a short time to register the MIDI data in OSCulator.  message named ''/midi/note/1'' will appear+  * Now press play a short time to register the MIDI data in OSCulator. 
-  * Select the pitch parameter, and do Edit->Demux (or Control-D).  This will turn the ''/midi/note/1'' message purple, and fold it, waiting for more data to come.+  * Switch to OSCulator, a message named ''/midi/note/1'' has beed registered
 +  * Still in OSCulator, select the pitch parameter, and do Edit->Demux (or Control-D).  This will turn the ''/midi/note/1'' message purple, and fold it, waiting for more data to come.
   * 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.   * 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.
 {{ :tutorial:osculator1.png |OSCulator has registered all the notes in the MIDI clip}} {{ :tutorial:osculator1.png |OSCulator has registered all the notes in the MIDI clip}}
Line 72: Line 69:
  
 If you press play in Live, and you should be able to see the LEDs blinking in the order given by the MIDI track. 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 ===== ===== Further notes =====
  
Line 81: Line 76:
 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. 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 Rob((the author of TouchOSC) can fix in a future release of his great software!+I hope this is something Rob((the author of TouchOSC)) can fix in a future release of his great software!
tutorial/3.1273529959.txt.gz · Last modified: 2010/05/11 00:19 by camille