< Back to IRCAM Forum

tempo changes on tied notes

Hello all, this is a question about using antescofo for sequencing, i.e. with the follower off.

I have a score with a nominal ‘follower’ part and ‘accompanying’ parts. Let’s say I have a long note in the follower part, and it ties over a bar line which has a tempo change on it. There are no notes in the other parts until halfway through the second bar (with the new tempo). How do I ensure timing is correct when playing the score? Seems to me once I have something like “note 60 8”, then duration is calculated based on the current tempo, so a succeeding BPM message won’t influence timing until the previous note is completed, as in this very simple example with just a ‘follower’ part:

BPM 60
note 60 1
note 61 1
note 62 1
note 63 1
; I’d like to change tempo to 120 4 beats into the next note
note 60 8
BPM 120
note 60 1
note 61 1
note 62 1
note 63 1

Currently, there is no way of changing the tempo in the middle of an event using the BPM keyword.

However, you can use the internal tempo command like this with a delay:

  
BPM 60  
note 60 1  
note 61 1  
; I’d like to change tempo to 120 4 beats into the next note  
note 60 8  
4.0 antescofo::tempo 120  
note 60 1  

Note that this is equivalent to sending a message [tempo 120] to the Antescofo object! You can use any Max/pd method like this inside your scores, if you precede them with an antescofo:: name-space and combine them with delays like a regular action. Note that the delay “4.0” above is relative to the last detected musician’s tempo. It’ll reschedule the rest of the note so that the remaining 4 beats are in the new tempo. So everything should workout smoothly.

Thanks Arshia, looks like that will do the job perfectly. All the best from Edinburgh, Michael