Debian Codegraph @

opcodes/nchnls_i.xml

raw symbols SCIP
1
2 <refentry id="nchnls_i">
3 <indexterm id="IndexNchns_I"><primary>nchnls_i</primary></indexterm>
4 <refentryinfo><title>Orchestra Syntax:Header</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>nchnls_i</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>nchnls_i</refname>
13
14 <refpurpose>
15 Sets the number of channels of audio input.
16 </refpurpose>
17 </refnamediv>
18
19 <refsect1>
20 <title>Description</title>
21 <para>
22 These statements are global value <link
23 linkend="assign"><citetitle>assignments</citetitle></link>, made
24 at the beginning of an orchestra, before any instrument block is
25 defined. Their function is to set certain <link
26 linkend="VariableTypes"><citetitle>reserved symbol
27 variables</citetitle></link> that are required for
28 performance. Once set, these reserved symbols can be used in
29 expressions anywhere in the orchestra.
30 </para>
31 </refsect1>
32
33 <refsect1>
34 <title>Syntax</title>
35 <synopsis><command>nchnls_i</command> = iarg</synopsis>
36 </refsect1>
37
38 <refsect1>
39 <title>Initialization</title>
40 <para>
41 <emphasis>nchnls_i</emphasis> = (optional) -- set number of channels of
42 audio input to <emphasis>iarg</emphasis>. (1 = mono, 2 = stereo, 4 =
43 quadraphonic.) The default value is the valus of <emphasis>nchnls</emphasis>.
44 </para>
45
46 <para>
47 In addition, any <link linkend="GlobalVariables"><citetitle>global variable</citetitle></link> can be initialized by an <emphasis>init-time assignment</emphasis> anywhere before the first <link linkend="instr"><citetitle>instr statement</citetitle></link>. All of the above assignments are run as instrument 0 (i-pass only) at the start of real performance.
48 </para>
49 </refsect1>
50
51 <refsect1>
52 <title>Examples</title>
53 <para>
54 Here is an example of the nchnls_i opcode. It uses the file <ulink url="examples/nchnls_i.csd"><citetitle>nchnls_i.csd</citetitle></ulink>.
55 <example>
56 <title>Example of the nchnls_i opcode.</title>
57 <para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para>
58 <xi:include href="examples-xml/nchnls_i.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
59 </example>
60 </para>
61 </refsect1>
62
63 <refsect1>
64 <title>See also</title>
65 <para><link linkend="OrchHeader"><citetitle>Orchestra Header Statements</citetitle></link></para>
66 </refsect1>
67
68 </refentry>