Debian Codegraph @

opcodes/ins.xml

raw symbols SCIP
1
2 <refentry id="ins">
3 <indexterm id="Indexins"><primary>ins</primary></indexterm>
4 <refentryinfo><title>Signal I/O:Signal Input</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>ins</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>ins</refname>
13 <refpurpose>
14 Reads stereo audio data from an external device or stream.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 Reads stereo audio data from an external device or stream.
22 </para>
23 <warning>
24 <title>Warning</title>
25 <para>
26 This opcode is designed to be used only with orchestras that have
27 nchnls_i=2. Doing so with orchestras with nchnls_i &gt; 2 will
28 cause incorrect audio input.
29 </para>
30 </warning>
31 </refsect1>
32
33 <refsect1>
34 <title>Syntax</title>
35 <synopsis>ar1, ar2 <command>ins</command></synopsis>
36 </refsect1>
37
38 <refsect1>
39 <title>Performance</title>
40 <para>
41 Reads stereo audio data from an external device or stream. If the command-line <link linkend="FlagsMinusLowerI"><citetitle>-i</citetitle></link> flag is set, sound is read continuously from the audio input stream (e.g. <emphasis>stdin</emphasis> or a soundfile) into an internal buffer. Any number of these opcodes can read freely from this buffer.
42 </para>
43 </refsect1>
44
45 <refsect1>
46 <title>Examples</title>
47 <para>
48 Here is an example of the ins opcode. It uses the file <ulink url="examples/ins.csd"><citetitle>ins.csd</citetitle></ulink>.
49 <example>
50 <title>Example of the ins opcode.</title>
51 <xi:include href="examples-xml/ins.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
52 </example>
53 </para>
54 </refsect1>
55
56 <refsect1>
57 <title>See also</title>
58 <para><link linkend="SigioInput"><citetitle>Signal Input</citetitle></link></para>
59 </refsect1>
60
61 <refsect1>
62 <title>Credits</title>
63 <para>
64 <simplelist>
65 <member>Authors: &namebarry;, &namematt;/&namemike;</member>
66 <member>MIT, Mills College</member>
67 <member>1993-1997</member>
68 </simplelist>
69 </para>
70 </refsect1>
71 </refentry>