summaryrefslogtreecommitdiff
path: root/opcodes/sr.xml
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/sr.xml')
-rw-r--r--opcodes/sr.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/opcodes/sr.xml b/opcodes/sr.xml
index 2da6072..1562dd2 100644
--- a/opcodes/sr.xml
+++ b/opcodes/sr.xml
@@ -56,6 +56,20 @@ ga <emphasis role="opc">init</emphasis> 0
itranspose <emphasis role="op">=</emphasis> <emphasis role="opc">octpch</emphasis>(.0l)</programlisting>
</informalexample>
</para>
+ <para>
+ Here is another example of the sr opcode. It uses the file <ulink url="examples/sr.csd"><citetitle>sr.csd</citetitle></ulink>.
+ <example>
+ <title>Example of the sr 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/sr.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
+ </example>
+ Its output should include lines like this:
+ <screen>
+maximum number of harmonics = 240
+maximum number of harmonics = 24
+maximum number of harmonics = 2
+ </screen>
+ </para>
</refsect1>
<refsect1>