diff options
Diffstat (limited to 'scoregens/gen17.xml')
-rw-r--r-- | scoregens/gen17.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/scoregens/gen17.xml b/scoregens/gen17.xml index 66911b4..8c536fe 100644 --- a/scoregens/gen17.xml +++ b/scoregens/gen17.xml @@ -56,6 +56,32 @@ This describes a step function with 8 successively increasing levels, each 12 locations wide except the last which extends its value to the end of the table. Rescaling is inhibited. Indexing into this table with a MIDI note-number would retrieve a different value every octave up to the eighth, above which the value returned would remain the same. </para> + <para> + Here is a complete example of the GEN17 routine. It uses the files <ulink url="examples/gen17.csd"><citetitle>gen17.csd</citetitle></ulink>. + <example> + <title>An example of the GEN17 routine.</title> + <xi:include href="examples-xml/gen17.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> + </example> + + <textobject> + <phrase>This is the diagram of the waveform of the GEN17 routine, as used in the example:</phrase> + </textobject> + + <mediaobject> + <imageobject> + <imagedata fileref="images/gen17.png" format="PNG"/> + </imageobject> + + <textobject> + <phrase>f 2 0 128 -17 0 10 32 20 64 30 96 40 - a step function with 4 equal levels, each 32 locations wide except the last which extends its value to the end of the table</phrase> + </textobject> + + <caption> + <para>f 2 0 128 -17 0 10 32 20 64 30 96 40 - a step function with 4 equal levels, each 32 locations wide except the last which extends its value to the end of the table</para> + </caption> + </mediaobject> + + </para> </refsect1> <refsect1> |