summaryrefslogtreecommitdiff
path: root/scoregens/gen20.xml
diff options
context:
space:
mode:
Diffstat (limited to 'scoregens/gen20.xml')
-rw-r--r--scoregens/gen20.xml47
1 files changed, 45 insertions, 2 deletions
diff --git a/scoregens/gen20.xml b/scoregens/gen20.xml
index 7745f73..9e13195 100644
--- a/scoregens/gen20.xml
+++ b/scoregens/gen20.xml
@@ -127,10 +127,53 @@
example the s.d. is 2. The default value is 1.
</para>
<para>
- For diagrams, see <link linkend="MiscWindows"><citetitle>Window Functions</citetitle></link>
+ For all diagrams, see <link linkend="MiscWindows"><citetitle>Window Functions</citetitle></link>
+ </para>
+
+ <para>
+ Here is an example of the GEN20 routine. It uses the file <ulink url="examples/gen20.csd"><citetitle>gen20.csd</citetitle></ulink>.
+
+ <example>
+ <title>Example of the GEN20 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/gen20.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+ </example>
+ <textobject>
+ <phrase>These are the diagrams of the waveforms of the GEN20 routines, as used in the example:</phrase>
+ </textobject>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/gen20_1.png" format="PNG"/>
+ </imageobject>
+
+ <textobject>
+ <phrase> f 1 0 512 20 2 - Hanning window</phrase>
+ </textobject>
+
+
+ <caption>
+ <para> f 1 0 512 20 2 - Hanning window</para>
+ </caption>
+ </mediaobject>
+
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/gen20_2.png" format="PNG"/>
+ </imageobject>
+
+ <textobject>
+ <phrase> f 2 0 512 20 6 1 - Gaussian window</phrase>
+ </textobject>
+
+ <caption>
+ <para> f 2 0 512 20 6 1 - Gaussian window</para>
+ </caption>
+ </mediaobject>
+
</para>
</refsect1>
-
+
<refsect1>
<title>Credits</title>
<para>