summaryrefslogtreecommitdiff
path: root/scoregens/gen10.xml
diff options
context:
space:
mode:
Diffstat (limited to 'scoregens/gen10.xml')
-rw-r--r--scoregens/gen10.xml69
1 files changed, 54 insertions, 15 deletions
diff --git a/scoregens/gen10.xml b/scoregens/gen10.xml
index d75188f..8fa5403 100644
--- a/scoregens/gen10.xml
+++ b/scoregens/gen10.xml
@@ -55,28 +55,71 @@
<refsect1>
<title>Examples</title>
<para>
- Here is a simple example of the GEN10 routine. It uses the file <ulink url="examples/gen10.csd"><citetitle>gen10.csd</citetitle></ulink>. It will generate a simple sine wave. Here is its diagram:
+ Here is an example of the GEN10 routine. It uses the files <ulink url="examples/gen10.csd"><citetitle>gen10.csd</citetitle></ulink>.
+ <example>
+ <title>An example of the GEN10 routine.</title>
+ <xi:include href="examples-xml/gen10.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+ </example>
+
+ <textobject>
+ <phrase>These are the diagrams of the waveforms of the GEN10 routines, as used in the example:</phrase>
+ </textobject>
+
<mediaobject>
<imageobject>
- <imagedata fileref="images/gen10.png" format="PNG"/>
+ <imagedata fileref="images/gen10_1.png" format="PNG"/>
</imageobject>
<textobject>
- <phrase>Diagram of the waveform generated by GEN10.</phrase>
+ <phrase>f 1 0 16384 10 1 - sine wave with only the fundamental frequency</phrase>
</textobject>
<caption>
- <para>Diagram of the waveform generated by GEN10.</para>
+ <para>f 1 0 16384 10 1 - sine wave with only the fundamental frequency</para>
</caption>
</mediaobject>
- <example>
- <title>A simple example of the GEN10 routine.</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/gen10.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
- </example>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/gen10_2.png" format="PNG"/>
+ </imageobject>
+
+ <textobject>
+ <phrase>f 2 0 16384 10 1 0.5 0.3 0.25 0.2 0.167 0.14 0.125 .111 - sawtooth, with a fundamental and 8 harmonics </phrase>
+ </textobject>
+
+ <caption>
+ <para>f 2 0 16384 10 1 0.5 0.3 0.25 0.2 0.167 0.14 0.125 .111 - sawtooth, with a fundamental and 8 harmonics </para>
+ </caption>
+ </mediaobject>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/gen10_3.png" format="PNG"/>
+ </imageobject>
+
+ <textobject>
+ <phrase>f 3 0 16384 10 1 0 0.3 0 0.2 0 0.14 0 .111 - square wave, with a fundamental and 8 harmonics but 4 have 0 strength</phrase>
+ </textobject>
+
+ <caption>
+ <para>f 3 0 16384 10 1 0 0.3 0 0.2 0 0.14 0 .111 - square wave, with a fundamental and 8 harmonics but 4 have 0 strength</para>
+ </caption>
+ </mediaobject>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/gen10_4.png" format="PNG"/>
+ </imageobject>
+
+ <textobject>
+ <phrase>f 4 0 16384 10 1 1 1 1 0.7 0.5 0.3 0.1 - pulse wave, with a fundamental and 8 harmonics</phrase>
+ </textobject>
+
+ <caption>
+ <para>f 4 0 16384 10 1 1 1 1 0.7 0.5 0.3 0.1 - pulse wave, with a fundamental and 8 harmonics</para>
+ </caption>
+ </mediaobject>
</para>
</refsect1>
@@ -89,8 +132,4 @@
</para>
</refsect1>
- <refsect1>
- <title>Credits</title>
- <para>Example written by &namekevin;</para>
- </refsect1>
</refentry>