Use Non-Frames Version Previous Page Next Page
Instrument Control: Sensing and Control

tempo, tempoval

          tempo     ktempo, istartempo
  kr      tempoval

Description

tempo allows the performance speed of Csound scored events to be controlled from within an orchestra.

tempoval reads current value of the tempo.

Initialization

istartempo – initial tempo (in beats per minute). Typically 60.

Performance

ktempo – new tempo to which the performance is to be adjusted, in beats per minute.

tempo operates only in the presence of the Csound -t flag. When that flag is set, scored events will be performed from their uninterpreted p2 and p3 (beat) parameters, initially at the given command-line tempo. When a tempo statement is activated in any instrument (ktempo 0.), the operating tempo will be adjusted to ktempo beats per minute. There may be any number of tempo statements in an orchestra, but coincident activation is best avoided.

If the tempo has not been changed either through the -t command line flag or a tempo statement, tempoval will produce kr = 60, the default tempo of a Csound score.

Example

          tempo     kx, 75                   ; and control the tempo of performance

Use Non-Frames Version Previous Page Next Page
Instrument Control: Sensing and Control