summaryrefslogtreecommitdiff
path: root/opcodes/vco2init.xml
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/vco2init.xml')
-rw-r--r--opcodes/vco2init.xml24
1 files changed, 23 insertions, 1 deletions
diff --git a/opcodes/vco2init.xml b/opcodes/vco2init.xml
index cbb41cc..3655047 100644
--- a/opcodes/vco2init.xml
+++ b/opcodes/vco2init.xml
@@ -115,7 +115,29 @@
<refsect1>
<title>Examples</title>
<para>
- See the example for the <link linkend="vco2"><citetitle>vco2</citetitle></link> opcode.
+ Here is an example of the vco2init opcode. It uses the file <ulink url="examples/vco2init.csd"><citetitle>vco2init.csd</citetitle></ulink>.
+ <example>
+ <title>Example of the vco2init 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/vco2init.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+ </example>
+ Its output should include a line like these:
+ <screen>
+ i 1 time 0.00002: 103.00000
+ i 1 time 0.10000: 103.00000
+ i 1 time 0.20000: 103.00000
+ i 1 time 0.30002: 103.00000
+ i 1 time 0.40000: 104.00000
+ i 1 time 0.50000: 104.00000
+.......
+......
+ i 1 time 4.80002: 135.00000
+ i 1 time 4.90000: 136.00000
+ i 1 time 5.00000: 138.00000
+ </screen>
+ </para>
+ <para>
+ See the example for the <link linkend="vco2"><citetitle>vco2</citetitle></link> opcode too.
</para>
</refsect1>