diff options
Diffstat (limited to 'scoregens/gen52.xml')
-rw-r--r-- | scoregens/gen52.xml | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/scoregens/gen52.xml b/scoregens/gen52.xml index 644c4b4..584837a 100644 --- a/scoregens/gen52.xml +++ b/scoregens/gen52.xml @@ -40,8 +40,6 @@ <refsect1> <title>Example</title> - - <programlisting> <emphasis role="comment">; source tables</emphasis> <emphasis role="stamnt">f</emphasis> 1 0 16384 10 1 @@ -52,10 +50,33 @@ <emphasis role="stamnt">f</emphasis> 4 0 16384 -52 1 3 0 2 <emphasis role="comment">; extract second channel from table 3</emphasis> <emphasis role="stamnt">f</emphasis> 5 0 16384 -52 1 3 1 2</programlisting> + <para> + Here is a complete example of the GEN52 opcode. It uses the file <ulink url="examples/gen52.csd"><citetitle>gen52.csd</citetitle></ulink>. + <example> + <title>Example of the GEN52 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/gen52.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> + </example> + <textobject> + <phrase>This is the diagram of the waveform of the GEN52 routine, as used in the example:</phrase> + </textobject> + <mediaobject> + <imageobject> + <imagedata fileref="images/gen52.png" format="PNG"/> + </imageobject> - </refsect1> + <textobject> + <phrase>f 3 0 262144 -52 3 2 0 4 2 1 4 2 2 4</phrase> + </textobject> + <caption> + <para>f 3 0 262144 -52 3 2 0 4 2 1 4 2 2 4</para> + </caption> + </mediaobject> + + </para> + </refsect1> <refsect1> <title>Credits</title> <para>Author: &nameistvan;</para> |