diff options
Diffstat (limited to 'opcodes/fog.xml')
-rw-r--r-- | opcodes/fog.xml | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/opcodes/fog.xml b/opcodes/fog.xml index 34c7867..cc4ed1a 100644 --- a/opcodes/fog.xml +++ b/opcodes/fog.xml @@ -85,22 +85,21 @@ </para> </refsect1> - + <refsect1> <title>Examples</title> <para> - <informalexample> - <programlisting> -;p4 = transposition factor -;p5 = speed factor -;p6 = function table for grain data -i1 = <emphasis role="ohdr">sr</emphasis><emphasis role="op">/</emphasis><emphasis role="opc">ftlen</emphasis>(p6) ;scaling to reflect sample rate and table length -a1 <emphasis role="opc">phasor</emphasis> i1*p5 ;index for speed -a2 <emphasis role="opc">fog</emphasis> 5000, 100, p4, a1, 0, 0, , .01, .02, .01, 2, p6, 1, p3, 0, 1 </programlisting> - </informalexample> + Here is an example of the fog opcode. It uses the file <ulink url="examples/fog.csd"><citetitle>fog.csd</citetitle></ulink>. + + <example> + <title>Example of the fog 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/fog.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> + </example> </para> </refsect1> - + <refsect1> <title>Credits</title> <para> |