< Back to IRCAM Forum

Tempo lists in Voice objects?

Simple question: Is it possible to give a VOICE object a list of tempi (somehow, correlating it to measures), or is only the fixed tempo possible?

Thanks,
Chris

Yes, you can. It’s just a little bit tricky :slight_smile:
You can enter a list in the tempo input of the VOICE object.

Consider the following example

((1/4 60)   
 (((1 0) (1/4 70 nil))  
  ((2 0) (1/4 60 nil))  
  ...  
  ))

Here your voice will start at tempo 1/4 = 60
Then at the chord (or group) #0 (that is, at the beginning) of measure #1 (that is, the second one starting from 0) you will change the tempo for 1/4=70
Then at the beginning of measure #2 you switch back to 60.
And so on…
You can also do this from the editor by right-clicking on a group, measure or chord and selecting “Tempo change”.
Then, just check at the result of evaluating the tempo outoput of the voice object.

This is a very old thread but I have a question. What is the parameter you skip by passing nil?

It is not exactly a “skipped” parameter: the last element in the list is a boolean (T or NIL) specifying whether the change of tempo should be continuous (from the last change) or not.