Debian Codegraph @

opcodes/pset.xml

raw symbols SCIP
1
2 <refentry id="pset">
3 <indexterm id="IndexPset"><primary>pset</primary></indexterm>
4 <refentryinfo><title>Instrument Control:Initialization and Reinitialization</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>pset</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>pset</refname>
11 <refpurpose>
12 Defines and initializes numeric arrays at orchestra load time.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Defines and initializes numeric arrays at orchestra load time.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis><command>pset</command> icon1 [, icon2] [...]</synopsis>
26 </refsect1>
27
28 <refsect1>
29 <title>Initialization</title>
30 <para>
31 <emphasis>icon1, icon2, ...</emphasis> -- preset values for a MIDI instrument
32 </para>
33
34 <para>
35 <emphasis>pset</emphasis> (optional) defines and initializes numeric arrays at orchestra load time. It may be used as an orchestra header statement (i.e. instrument 0) or within an instrument. When defined within an instrument, it is not part of its i-time or performance operation, and only one statement is allowed per instrument. These values are available as i-time defaults. When an instrument is triggered from MIDI it only gets p1 and p2 from the event, and p3, p4, etc. will receive the actual preset values.
36 </para>
37 </refsect1>
38
39 <refsect1>
40 <title>Examples</title>
41 <para>
42 Here is an example of the pset opcode. It uses the file <ulink url="examples/pset.csd"><citetitle>pset.csd</citetitle></ulink>
43 <example>
44 <title>Example of the pset opcode.</title>
45 <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>
46 <xi:include href="examples-xml/pset.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
47 </example>
48 <para> Here is another example of the pset opcode, using pset with a midi file. It uses the files <ulink url="examples/pset-midi.csd"><citetitle>pset-midi.csd</citetitle></ulink> and <ulink url="examples/midiChords.mid"><citetitle>midiChords.mid</citetitle></ulink></para>.
49 <example>
50 <title>Second example of the pset opcode.</title>
51 <xi:include href="examples-xml/pset-midi.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="ControlReinitn"><citetitle>Initialization and Reinitialization</citetitle></link></para>
59 <para><link linkend="OrchHeader"><citetitle>Orchestra Header Statements</citetitle></link></para>
60 </refsect1>
61
62 </refentry>