instr
Starts an instrument block.
Syntax
Initialization
Starts an instrument block defining instruments i, j, ...
i, j, ... must be numbers or names, not expressions. Any positive integer is legal, and in any order, but excessively high numbers are best avoided.
Note
There may be any number of instrument blocks in an orchestra.
Instruments can be defined in any order (but they will always be both initialized and performed in ascending instrument number order, with the exception of notes triggered by real time events that are initialized in the order of being received but still performed in ascending instrument number order). Instrument blocks cannot be nested (i.e. one block cannot contain another).
For more information on named instruments, see Named Instruments.
Examples
Here is an example of the instr opcode. It uses the file instr.csd.
See also
Instrument and Opcode Block Statements
Credits
Example written by Kevin Conder.