nchnls_iOrchestra Syntax:Headernchnls_inchnls_i
Sets the number of channels of audio input.
Description
These statements are global value assignments, made
at the beginning of an orchestra, before any instrument block is
defined. Their function is to set certain reserved symbol
variables that are required for
performance. Once set, these reserved symbols can be used in
expressions anywhere in the orchestra.
Syntaxnchnls_i = iargInitializationnchnls_i = (optional) -- set number of channels of
audio input to iarg. (1 = mono, 2 = stereo, 4 =
quadraphonic.) The default value is the valus of nchnls.
In addition, any global variable can be initialized by an init-time assignment anywhere before the first instr statement. All of the above assignments are run as instrument 0 (i-pass only) at the start of real performance.
Examples
Here is an example of the nchnls_i opcode. It uses the file nchnls_i.csd.
Example of the nchnls_i opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.See alsoOrchestra Header Statements