summaryrefslogtreecommitdiff
path: root/opcodes/semitone.xml
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/semitone.xml')
-rw-r--r--opcodes/semitone.xml37
1 files changed, 28 insertions, 9 deletions
diff --git a/opcodes/semitone.xml b/opcodes/semitone.xml
index 84a24a4..74de286 100644
--- a/opcodes/semitone.xml
+++ b/opcodes/semitone.xml
@@ -49,21 +49,41 @@
<title>Examples</title>
<para>
Here is an example of the semitone opcode. It uses the file <ulink url="examples/semitone.csd"><citetitle>semitone.csd</citetitle></ulink>.
-
<example>
<title>Example of the semitone 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/semitone.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
</example>
-
Its output should include lines like:
<screen>
-instr 1: iroot = 440.000
-instr 1: ifactor = 1.189
-instr 1: inew = 523.229</screen>
+ i1 880.00000
+ i1 2.00000
+ i1 830.65625
+ i1 1.88786
+ i1 783.94665
+ i1 1.78170
+ i1 739.98885
+ i1 1.68179
+ i1 698.49586
+ i1 1.58749
+ i1 659.21793
+ i1 1.49822
+ i1 622.25397
+ i1 1.41421
+ i1 587.36267
+ i1 1.33492
+ i1 554.33399
+ i1 1.25985
+ i1 523.25113
+ i1 1.18921
+ i1 493.91116
+ i1 1.12253
+ i1 466.13747
+ i1 1.05940
+ i1 440.00000
+ i1 1.00000
+.......
+ </screen>
</para>
</refsect1>
@@ -78,7 +98,6 @@ instr 1: inew = 523.229</screen>
<refsect1>
<title>Credits</title>
- <para>Example written by &namekevin;.</para>
<para>New in version 4.16</para>
</refsect1>
</refentry>