summaryrefslogtreecommitdiff
path: root/opcodes/sqrt.xml
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/sqrt.xml')
-rw-r--r--opcodes/sqrt.xml24
1 files changed, 13 insertions, 11 deletions
diff --git a/opcodes/sqrt.xml b/opcodes/sqrt.xml
index 6246f50..c88aaff 100644
--- a/opcodes/sqrt.xml
+++ b/opcodes/sqrt.xml
@@ -41,18 +41,24 @@
<title>Examples</title>
<para>
Here is an example of the sqrt opcode. It uses the file <ulink url="examples/sqrt.csd"><citetitle>sqrt.csd</citetitle></ulink>.
-
<example>
<title>Example of the sqrt 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/sqrt.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
</example>
-
- Its output should include lines like this:
- <screen>instr 1: i1 = 8.000</screen>
+ Its output should include lines like these:
+ <screen>
+square root of left channel = 1.000000
+square root of left channel = 0.948688
+square root of left channel = 0.894437
+square root of left channel = 0.836676
+square root of left channel = 0.774620
+square root of left channel = 0.707139
+square root of left channel = 0.632499
+square root of left channel = 0.547781
+square root of left channel = 0.447295
+square root of left channel = 0.316242
+ </screen>
</para>
</refsect1>
@@ -69,8 +75,4 @@
</para>
</refsect1>
- <refsect1>
- <title>Credits</title>
- <para>Example written by &namekevin;.</para>
- </refsect1>
</refentry>