Integrating Random Tempo
The following images will take you through how the tempo randomiser evolved.
Below shows the first starting idea, getting a number to randomly ramp between 4 numbers with the line object.

We then noticed the issue that the number that it spat out did not start from the previous number. We’d want the tempo to ramp from the tempo that it is already on. We chose a range of tempos to implement our purpose of exploring genres through our installation.
- 80bpm = a typical hip hop tempo
- 100bpm = a typical mid range tempo
- 125bpm = a typical pop/upbeat/house tempo
- 140bpm = a typical dubstep tempo
- 175bpm = a typical drum and bass tempo

This issue discussed above was then solved by not including the 2nd number in the number messages.
So that only a each tempo is only selected once (so that the same tempo ramp can’t happen again) we added a ‘one bang’ sequence. The waveform object also visually displays the ramping.

However, Ableton still doesn’t understand the last number that is spat out. We then tried using a Max4Live device (below). Therefore, having some of the patch in a separate window and this then operating the Max4Live device.

So here is the code (below) that is in the separate max patch. The rest of the code had been put into a Max4Live instrument to be controlled.
This video shows the tempo Max4Live instrument working.
It was then suggested to us that we used ‘from Max 1’, as in the code below, in the Ctlout, and now Ableton would be able to interpret this number as the global tempo.

The final code, without the need to use a max4live instrument, is below.













