summaryrefslogtreecommitdiff
path: root/opcodes/trirand.xml
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/trirand.xml')
-rw-r--r--opcodes/trirand.xml27
1 files changed, 23 insertions, 4 deletions
diff --git a/opcodes/trirand.xml b/opcodes/trirand.xml
index 8bce292..cbade3a 100644
--- a/opcodes/trirand.xml
+++ b/opcodes/trirand.xml
@@ -55,16 +55,36 @@
<title>Examples</title>
<para>
Here is an example of the trirand opcode. It uses the file <ulink url="examples/trirand.csd"><citetitle>trirand.csd</citetitle></ulink>.
-
<example>
<title>Example of the trirand opcode.</title>
<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>
<xi:include href="examples-xml/trirand.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
</example>
-
Its output should include a line like this:
<screen>
-instr 1: i1 = 7506.261
+ i 1 time 0.00067: -4.97993
+ i 1 time 0.20067: 1.20909
+ i 1 time 0.40067: 17.45873
+ i 1 time 0.60067: 52.55409
+ i 1 time 0.80067: -1.92888
+ i 1 time 1.00000: -11.01149
+ i 1 time 1.20067: 9.79521
+ i 1 time 1.40067: 26.98504
+ i 1 time 1.60067: 24.67405
+ i 1 time 1.80000: -67.59846
+ i 1 time 2.00000: 64.24861
+WARNING: Seeding from current time 521999639
+ i 2 time 3.00067: 3.28969
+ i 2 time 3.20067: 54.98986
+ i 2 time 3.40067: -33.84788
+ i 2 time 3.60000: -41.93523
+ i 2 time 3.80067: -6.61742
+ i 2 time 4.00000: 39.67097
+ i 2 time 4.20000: 2.95123
+ i 2 time 4.40067: 45.59255
+ i 2 time 4.60067: 16.57259
+ i 2 time 4.80067: -18.80273
+ i 2 time 5.00000: -2.01697
</screen>
</para>
</refsect1>
@@ -94,6 +114,5 @@ instr 1: i1 = 7506.261
<member>1995</member>
</simplelist>
</para>
- <para>Example written by &namekevin;.</para>
</refsect1>
</refentry>