| Iain Duncan wrote:
> If a note has already begun, and lasts say 8 bars, and the tempo changes
> during the course of the note, will it's duration be warped accordingly
> or will the end of the note then be out of sync? ( for csound5 )
For MIDI files, and also score files without using the experimental
"beat mode", all note timings are precalculated at start-up, and
everything is time warped as you would expect.
However, in "beat mode" when tempo is controlled by the orchestra,
the duration of a score note is calculated at init time from the
current tempo and is not updated if the tempo changes later, so it
does go out of sync.
> Also, what about an event call? If I use event an event to schedule a
> note 8 bars into the future, and the tempo changes in that period, will
> that stay in sync?
The event opcode, and anything else that creates new notes from the
orchestra, takes the start time and duration parameters in seconds,
and is not affected by tempo changes. So, the following will always
result in instr 3 being turned on 1 second later for 2 seconds,
regardless of what the tempo is:
event_i "i", 3, 1, 2 |