turnonInstrument Control:Duration Controlturnonturnon
Activate an instrument for an indefinite time.
Description
Activate an instrument for an indefinite time.
Syntaxturnon insnum [, itime]Initializationinsnum -- instrument number to be activated
itime (optional, default=0) -- delay, in seconds, after which instrument insnum will be activated. Default is 0.
Performanceturnon activates instrument insnum after a delay of itime seconds, or immediately if itime is not specified. Instrument is active until explicitly turned off. (See turnoff.)
Examples
Here is an example of the turnon opcode. It uses the files turnon.csd.
Example of the turnon opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoDuration Control Statements