Debian Codegraph @

opcodes/instr.xml

raw symbols SCIP
1
2 <refentry id="instr">
3 <indexterm id="IndexInstr"><primary>instr</primary></indexterm>
4 <refentryinfo><title>Orchestra Syntax:Block Statements</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>instr</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>instr</refname>
11
12 <refpurpose>
13 Starts an instrument block.
14 </refpurpose>
15 </refnamediv>
16
17 <refsect1>
18 <title>Description</title>
19 <para>
20 Starts an instrument block.
21 </para>
22 </refsect1>
23
24 <refsect1>
25 <title>Syntax</title>
26 <synopsis><command>instr</command> i, j, ...</synopsis>
27 </refsect1>
28
29 <refsect1>
30 <title>Initialization</title>
31 <para>
32 Starts an instrument block defining instruments <emphasis>i, j</emphasis>, ...
33 </para>
34
35 <para>
36 <emphasis>i, j</emphasis>, ... must be numbers or names, not expressions. Any positive integer is legal, and in any order, but excessively high numbers are best avoided.
37 </para>
38
39 <note>
40 <title>Note</title>
41 <para>
42 There may be any number of instrument blocks in an orchestra.
43 </para>
44 </note>
45
46 <para>
47 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).
48 </para>
49 <para> For more information on named instruments, see <link linkend="OrchNamedInstruments"><citetitle>Named Instruments</citetitle></link>.</para>
50 </refsect1>
51
52 <refsect1>
53 <title>Examples</title>
54 <para>
55 Here is an example of the instr opcode. It uses the file <ulink url="examples/instr.csd"><citetitle>instr.csd</citetitle></ulink>.
56
57 <example>
58 <title>Example of the instr opcode.</title>
59 <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>
60 <xi:include href="examples-xml/instr.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
61 </example>
62 </para>
63 </refsect1>
64
65 <refsect1>
66 <title>See also</title>
67 <para><link linkend="OrchIblock"><citetitle>Instrument and Opcode Block Statements</citetitle></link></para>
68 </refsect1>
69
70 <refsect1>
71 <title>Credits</title>
72 <para>Example written by &namekevin;.</para>
73 </refsect1>
74 </refentry>