Debian Codegraph @

opcodes/p.xml

raw symbols SCIP
1
2 <refentry id="p">
3 <indexterm id="IndexP"><primary>p</primary></indexterm>
4 <refentryinfo><title>Instrument Control:Initialization and Reinitialization</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>p</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>p</refname>
13 <refpurpose>
14 Show the value in a given p-field.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 Show the value in a given p-field.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis><command>p</command>(x) </synopsis>
28
29 <para>
30 This function works at i-rate and k-rate.
31 </para>
32 </refsect1>
33
34 <refsect1>
35 <title>Initialization</title>
36 <para>
37 <emphasis>x</emphasis> -- the number of the p-field.
38 </para>
39 </refsect1>
40
41 <refsect1>
42 <title>Performance</title>
43 <para>
44 The value returned by the <emphasis>p</emphasis> function is the value in a p-field.
45 </para>
46 </refsect1>
47
48 <refsect1>
49 <title>Examples</title>
50 <para>
51 Here is an example of the p opcode. It uses the file <ulink url="examples/p.csd"><citetitle>p.csd</citetitle></ulink>.
52
53 <example>
54 <title>Example of the p opcode.</title>
55
56
57
58 <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>
59 <xi:include href="examples-xml/p.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
60 </example>
61
62 Its output should include lines like:
63 <screen>
64 random number is now 105.248963
65 random number is now 32.504969
66 random number is now 139.496898
67 </screen>
68 </para>
69 </refsect1>
70
71 <refsect1>
72 <title>See also</title>
73 <para><link linkend="ControlReinitn"><citetitle>Initialization and Reinitialization</citetitle></link></para>
74 </refsect1>
75
76 </refentry>