diff options
author | Felipe Sateler <fsateler@debian.org> | 2014-01-24 13:54:37 -0300 |
---|---|---|
committer | Felipe Sateler <fsateler@debian.org> | 2014-01-24 13:54:37 -0300 |
commit | bcf06a42deb371baf3deb9f4addb474b08273120 (patch) | |
tree | 4a8c3fb811dd164d4486628d8eff6043ebe8a6c3 /opcodes/readk.xml | |
parent | 3a91171181113761a14bcc36a086a8dda144b77b (diff) |
Imported Upstream version 6.02~dfsg
Diffstat (limited to 'opcodes/readk.xml')
-rw-r--r-- | opcodes/readk.xml | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/opcodes/readk.xml b/opcodes/readk.xml index b84e3f1..ff7278c 100644 --- a/opcodes/readk.xml +++ b/opcodes/readk.xml @@ -91,13 +91,37 @@ <refsect1> <title>Examples</title> <para> - Here is an example of the readk opcode. It uses the file <ulink url="examples/readk.csd"><citetitle>dumpk.csd</citetitle></ulink>. + Here is an example of the readk opcode. It uses the file <ulink url="examples/readk.csd"><citetitle>readk.csd</citetitle></ulink>. <example> <title>Example of the readk 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/readk.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> </example> </para> + <para> + Here is another example of the readk opcode. It uses the file <ulink url="examples/readk-2.csd"><citetitle>readk-2.csd</citetitle></ulink>. + <example> + <title>Example 2 of the readk opcode.</title> + <xi:include href="examples-xml/readk-2.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> + </example> + Its output should include lines like this: + <screen> +WARNING: Seeding from current time 683384022 + + i 1 time 1.00033: 463.64510 + i 1 time 2.00000: 463.64510 + i 1 time 3.00000: 483.14200 + i 1 time 4.00000: 567.55973 + i 1 time 5.00000: 576.37060 + i 1 time 6.00000: 460.66550 + + i 2 time 6.00033: 463.64510 + i 2 time 7.00000: 463.64510 + i 2 time 8.00000: 483.14200 + i 2 time 9.00000: 567.55970 + i 2 time 10.00000: 576.37060 + i 2 time 11.00000: 460.66550</screen> + </para> </refsect1> <!-- <refsect1> <title>Examples</title> |