instrOrchestra Syntax:Block Statementsinstrinstr
Starts an instrument block.
Description
Starts an instrument block.
Syntaxinstr i, j, ...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.
Example of the instr opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoInstrument and Opcode Block StatementsCreditsExample written by &namekevin;.