Debian Codegraph @

opcodes/faustcompile.xml

raw symbols SCIP
1 
2 <refentry id="faustcompile">
3 <indexterm id="Indexfaustcompile"><primary>faustcompile</primary></indexterm>
4 <refentryinfo><title>Faust Opcodes</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>faustcompile</refentrytitle>
7 </refmeta>
8
9 <refnamediv>
10 <refname>faustcompile</refname>
11 <refpurpose>
12 Invokes the just-in-time compiler to produce a instantiable DSP process from a Faust program.
13 </refpurpose>
14 </refnamediv>
15
16 <refsect1>
17 <title>Description</title>
18 <para>Plugin opcode in faustcsound. This opcode is part of the plugin repository and has to be installed separately.
19 The plugin repository can be found here: <ulink url="https://github.com/csound/plugins"><citetitle>https://github.com/csound/plugins</citetitle></ulink></para>
20 <para>
21 Faustcompile will compile a Faust program from a string, controlled by various arguments.
22 Multi-line strings are accepted, using {{ }} to enclose the string.
23 </para>
24 </refsect1>
25
26 <refsect1>
27 <title>Syntax</title>
28 <synopsis><command>ihandle faustcompile</command> Scode, Sargs[,iasync, istacksize] </synopsis>
29 </refsect1>
30
31 <refsect1>
32 <title>Initialization</title>
33 <para>
34 <emphasis><quote>Scode</quote></emphasis> -- a string (in double-quotes or enclosed by {{ }}) containing a Faust program.
35 </para>
36 <para>
37 <emphasis><quote>Sargs</quote></emphasis> -- a string (in double-quotes or enclosed by {{ }}) containing Faust compiler args.
38 </para>
39 <para>
40 <emphasis><quote>iasync</quote></emphasis> -- run the code
41 asynchronously, non-blocking, (iasync=1), or
42 blocking mode (iasync=0). Defaults to 1.
43 </para>
44 <para>
45 <emphasis><quote>istacksize</quote></emphasis> -- size of
46 the compiler thread stack in MB (defaults to 1).
47 </para>
48 </refsect1>
49
50 <refsect1>
51 <title>Examples</title>
52 <para>
53 Here is an example of the faustcompile opcode. It uses the file <ulink url="examples/faustcompile.csd"><citetitle>faustcompile.csd</citetitle></ulink>.
54 <example>
55 <title>Example of the faustcompile opcode.</title>
56 <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>
57 <xi:include href="examples-xml/faustcompile.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
58 </example>
59 </para>
60 </refsect1>
61
62 <refsect1>
63 <title>See also</title>
64 <para><link linkend="FaustTop"><citetitle>Faust Opcodes</citetitle></link></para>
65 </refsect1>
66
67 <refsect1>
68 <title>Credits</title>
69 <para>Author: &namevictor;, 2013 </para>
70 </refsect1>
71 </refentry>