VVI-World

Blog of Bouke his Musical Trips

  • Increase font size
  • Default font size
  • Decrease font size

Chapter 5 - Tempo Control

E-mail Print PDF
User Rating: / 5
PoorBest 

TempoControl
This little patch controls the tempo.

This works very simple. First I get the path to the live_set. There I make sure the id is send to the bottom live.object. This is the one which is sending the new tempo to Live. Next I make sure the 'zl change' is cleared. Initialize the live.observer with the tempo property. Convert the output which is a float into an integer (i). This is send to the Lemur, being prepend with the correct osc address, and send it ToLemur (check out the 'p Communications').

The Lemur button presses are being send to metro, so when holding the button, it re-triggers. Speed is controlled with 'TempoRate' which is in the 'p Settings' (a central location where you can control your preferences). Sending it to 'set tempo $1' message, replacing $1 with the calculated value. This is send to live.object. Since we've got an observer running on Live's tempo, we receive the new value, which is send to the Lemur, and everything starts back again.

I think this is the most effective way to control Live's tempo with the Lemur, including some control for fancy stuff. I've you've got any tips, let me know.

Here is the compressed format:

<pre><code>
----------begin_max5_patcher----------
1195.3oc0Z10aaaCEF9ZWf9efPX.cC0IQ7CIKu6VuXW0.TTj6FJJjkXhUgDo
AEUZZJ1+8wOjhUrcrkiIsVARhLonDe8iN7kjGke912LIXA+AZc.3OA+CXxje
ppYhoNcMS5pXRPU5CYko0lFFjwqpnLYvz1SJoOHMm3lkE0fUoBIfunlJtmVC
jKo.IsZEG762VTJoB.uQZpMm2rnjBporb.mAJXEx+XJHiytmptAEpeXRNHUe
FI8NpXpsopSnpVeC9HspQbI3F0GKo2JscrflQK553EMRImsRPqq0cwSWzTUy
RyMkuQqsOmJoSAUTofCt.B3B.rqSdOfwyoJYjCZpolpxZDB0WevG9z0l5Syy
0WRcyBoHMSptVcsaH1Rkntju3aTUC9dgboox2USksz42fu6IdVVvnY7FlApP
bW0rlpBVIUZdH.6p8VNSxRqnlG.+knHsLn2Enfc2UD1UcQtosJwbADQB5eip
KdzbifnKep4qRkYKKX28UEZk1.EBNRcd.z923Pygj3KCAewbQ+6aei9n5vzA
GTwneWonsioDlHifcBgviFBvcBAzSs11T4OVQseSCB.e4U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-04 17:01
Would you be willing to share this patch and your Lemur template? I've been researching and racking my brain on how to control Ableton's Tempo with Pads and have a BPM display. It looks like you pulled it off. I have M4L, but don't really know how to use it yet.
Quote
 

Add comment


Security code
Refresh