summaryrefslogtreecommitdiff
path: root/opcodes/nchnls_i.xml
diff options
context:
space:
mode:
authorFelipe Sateler <fsateler@debian.org>2014-01-24 13:54:37 -0300
committerFelipe Sateler <fsateler@debian.org>2014-01-24 13:54:37 -0300
commitbcf06a42deb371baf3deb9f4addb474b08273120 (patch)
tree4a8c3fb811dd164d4486628d8eff6043ebe8a6c3 /opcodes/nchnls_i.xml
parent3a91171181113761a14bcc36a086a8dda144b77b (diff)
Imported Upstream version 6.02~dfsg
Diffstat (limited to 'opcodes/nchnls_i.xml')
-rw-r--r--opcodes/nchnls_i.xml22
1 files changed, 17 insertions, 5 deletions
diff --git a/opcodes/nchnls_i.xml b/opcodes/nchnls_i.xml
index a70d23c..6303914 100644
--- a/opcodes/nchnls_i.xml
+++ b/opcodes/nchnls_i.xml
@@ -1,15 +1,15 @@
<refentry id="nchnls_i">
-<indexterm id="IndexNchns_I"><primary>nchns_i</primary></indexterm>
+<indexterm id="IndexNchns_I"><primary>nchnls_i</primary></indexterm>
<refentryinfo><title>Orchestra Syntax:Header</title></refentryinfo>
<refmeta>
- <refentrytitle>nchns_i</refentrytitle>
+ <refentrytitle>nchnls_i</refentrytitle>
</refmeta>
<refnamediv>
- <refname>nchns_i</refname>
+ <refname>nchnls_i</refname>
<refpurpose>
Sets the number of channels of audio input.
@@ -32,13 +32,13 @@
<refsect1>
<title>Syntax</title>
- <synopsis><command>nchns_i</command> = iarg</synopsis>
+ <synopsis><command>nchnls_i</command> = iarg</synopsis>
</refsect1>
<refsect1>
<title>Initialization</title>
<para>
-<emphasis>nchns_i</emphasis> = (optional) -- set number of channels of
+<emphasis>nchnls_i</emphasis> = (optional) -- set number of channels of
audio input to <emphasis>iarg</emphasis>. (1 = mono, 2 = stereo, 4 =
quadraphonic.) The default value is the valus of <emphasis>nchnls</emphasis>.
</para>
@@ -49,6 +49,18 @@ quadraphonic.) The default value is the valus of <emphasis>nchnls</emphasis>.
</refsect1>
<refsect1>
+ <title>Examples</title>
+ <para>
+ 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>.
+ <example>
+ <title>Example of the nchnls_i opcode.</title>
+ <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>
+ <xi:include href="examples-xml/nchnls_i.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+ </example>
+ </para>
+ </refsect1>
+
+ <refsect1>
<title>See Also</title>
<para>
<link linkend="kr"><citetitle>kr</citetitle></link>,