Debian Codegraph @

opcodes/compilecsd.xml

raw symbols SCIP
1 
2 <refentry id="compilecsd">
3 <indexterm id="Indexcompilecsd"><primary>compilecsd</primary></indexterm>
4 <refentryinfo><title>Instrument Control:Compilation</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>compilecsd</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>compilecsd</refname>
11 <refpurpose>
12 compiles a new orchestra from an ASCII file
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>
19 Compilecsd will read a CSD file and compile one or more instruments at init time, which will be added to the running engine. In case of existing instrument numbers or names, these will be replaced, but any instance still running of the old instrument definition will still perform until it terminates. In addition, it will read the score (if it exists) contained in the CSD file and add it to the list of events to be performed by Csound. The opcode ignores any section in the CSD file that is not the orchestra or the score.
20 </para>
21 </refsect1>
22
23 <refsect1>
24 <title>Syntax</title>
25 <synopsis>ires <command>compilecsd</command> Sfilename</synopsis>
26 </refsect1>
27
28 <refsect1>
29 <title>Initialization</title>
30 <para>
31 <emphasis><quote>Sfilename</quote></emphasis> -- a string containing the name of the file containing the orchestra.
32 </para>
33 <para>
34 <emphasis><quote>ires</quote></emphasis> -- returns 0 if compilation was successful, or -1 if not.
35 </para>
36 </refsect1>
37
38 <refsect1>
39 <title>Examples</title>
40 <para>
41 Here is an example of the compilecsd opcode. It uses the file <ulink url="examples/compilecsd.csd"><citetitle>compilecsd.csd</citetitle></ulink>.
42 <example>
43 <title>Example of the compilecsd opcode.</title>
44 <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>
45 <xi:include href="examples-xml/compilecsd.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
46 </example>
47 </para>
48
49 </refsect1>
50
51 <refsect1>
52 <title>See also</title>
53 <para><link linkend="ControlInvocat"><citetitle>Instrument Invocation</citetitle></link></para>
54 </refsect1>
55
56 <refsect1>
57 <title>Credits</title>
58 <para>Author: &namevictor;, 2013 </para>
59 </refsect1>
60 </refentry>