Debian Codegraph @

opcodes/prints.xml

raw symbols SCIP
1
2 <refentry id="prints">
3 <indexterm id="IndexPrints"><primary>prints</primary></indexterm>
4 <refentryinfo><title>Signal I/O:Printing and Display</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>prints</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>prints</refname>
13 <refpurpose>
14 Prints at init-time using a printf() style syntax.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 Prints at init-time using a printf() style syntax.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis><command>prints</command> &quot;string&quot; [, xval1] [, xval2] [...]</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Initialization</title>
32 <para>
33 <emphasis>&quot;string&quot;</emphasis> -- the text string to be printed. Can be up to 8192 characters and must be in double quotes.
34 </para>
35 </refsect1>
36
37 <refsect1>
38 <title>Performance</title>
39 <para>
40 <emphasis>xval1, xval2, ...</emphasis> (optional) -- The k-rate
41 values or strings to be printed. These are specified in
42 <emphasis><quote>string</quote></emphasis> with the standard C
43 value specifier (%f, %d, %s etc.) in the order given.
44 </para>
45
46 <para>
47 <emphasis>prints</emphasis> is similar to the <emphasis>printks</emphasis> opcode except it operates at init-time instead of k-rate. For more information about output formatting, please look at <link linkend="printks"><citetitle>printks's documentation</citetitle></link>.
48 </para>
49 </refsect1>
50
51 <refsect1>
52 <title>Examples</title>
53 <para>
54 Here is an example of the prints opcode. It uses the file <ulink url="examples/prints.csd"><citetitle>prints.csd</citetitle></ulink>.
55
56 <example>
57 <title>Example of the prints opcode.</title>
58
59
60
61 <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>
62 <xi:include href="examples-xml/prints.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
63 </example>
64
65 Its output should include a line like this:
66
67 <screen>
68 1234.568 ;;;;;;semicolons!
69 </screen>
70 </para>
71 </refsect1>
72
73 <refsect1>
74 <title>See also</title>
75 <para><link linkend="SigioPdisplay"><citetitle>Printing and Display</citetitle></link></para>
76 </refsect1>
77
78 <refsect1>
79 <title>Credits</title>
80 <para>
81 <simplelist>
82 <member>Author: &namematt;</member>
83 <member>January 2003</member>
84 </simplelist>
85 </para>
86 </refsect1>
87 </refentry>