Group Admins

  • Profile picture of Karim
  • Profile picture of Jean


Public Group active 10 hours, 45 minutes ago

User group for OpenMusic and computer-aided composition. Visit the Forum for discussions.

Tempo lists in Voice objects?

Author 3 Subscribed Users |
Profile photo of zipzappoozoo

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?


September 29, 2016 at 04:32 #19169
Profile photo of Jean

Yes, you can. It’s just a little bit tricky :)
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.

October 5, 2016 at 08:51 #19224
Profile photo of Sahin Kureta
Sahin Kureta

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

December 27, 2017 at 17:33 #24745
Profile photo of Jean

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.

December 27, 2017 at 17:40 #24746

You must be logged in to reply to this topic.

Log in now