summaryrefslogtreecommitdiff
path: root/opcodes/STKRhodey.xml
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/STKRhodey.xml')
-rw-r--r--[-rwxr-xr-x]opcodes/STKRhodey.xml27
1 files changed, 13 insertions, 14 deletions
diff --git a/opcodes/STKRhodey.xml b/opcodes/STKRhodey.xml
index e439cac..5ea528b 100755..100644
--- a/opcodes/STKRhodey.xml
+++ b/opcodes/STKRhodey.xml
@@ -25,7 +25,7 @@
<refsect1>
<title>Syntax</title>
- <synopsis>asignal <command>STKRhodey</command> ifrequency, iamplitude, [kc1, kv1[, kc2, kv2[, kc3, kv3[, kc4, kv4[, kc5, kv5]]]]]</synopsis>
+ <synopsis>asignal <command>STKRhodey</command> ifrequency, iamplitude, [kmod, kv1[, kcross, kv2[, klfo, kv3[, klfodepth, kv4[, kadsr, kv5]]]]]</synopsis>
</refsect1>
<refsect1>
@@ -41,17 +41,11 @@
<refsect1>
<title>Performance</title>
- <para>
- <emphasis>kc1, kv1, kc2, kv2, kc3, kv3, kc4, kv4, kc5, kv5, kc6, kv6, kc7, kv7, kc8, kv8</emphasis> -- Up to 8 optional k-rate controller pairs for the STK opcodes.
- Each controller pair consists of a controller number (kc) followed by a controller value (kv). The 5 controller numbers and values that work for STKRhodey are:
- <itemizedlist>
- <listitem><para><emphasis>kc, kv</emphasis> -- 2, modulator index 1.</para></listitem>
- <listitem><para><emphasis>kc, kv</emphasis> -- 4, crossfade of outputs.</para></listitem>
- <listitem><para><emphasis>kc, kv</emphasis> -- 11, speed of low-frequency oscillator.</para></listitem>
- <listitem><para><emphasis>kc, kv</emphasis> -- 1, depth of low-frequency oscillator.</para></listitem>
- <listitem><para><emphasis>kc, kv</emphasis> -- 128, ADSR 2 and 4 target.</para></listitem>
- </itemizedlist>
- </para>
+<para><emphasis>kmod</emphasis> -- controller 2, modulator index 1. Value range of kv1 is 0-127.</para>
+<para><emphasis>kcross</emphasis> -- controller 4, crossfade of outputs. Value range of kv2 is 0-127.</para>
+<para><emphasis>klfo</emphasis> -- controller 11, speed of low-frequency oscillator. Value range of kv3 is 0-127.</para>
+<para><emphasis>klfodepth</emphasis> -- controller1, depth of low-frequency oscillator. Value range of kv4 is 0-127.</para>
+<para><emphasis>kadsr</emphasis> -- controller 128, ADSR 2 and 4 target. Value range of kv5 is 0-127.</para>
</refsect1>
<refsect1>
@@ -61,13 +55,18 @@
The code for this opcode is taken directly from the Rhodey class in the Synthesis Toolkit in C++ by Perry R. Cook and Gary P. Scavone. More on the STK classes can be found here:
<ulink url="https://ccrma.stanford.edu/software/stk/classes.html"><citetitle>https://ccrma.stanford.edu/software/stk/classes.html</citetitle></ulink>
</para>
+ <para>
+ <emphasis>kc1, kv1, kc2, kv2, kc3, kv3, kc4, kv4, kc5, kv5, kc6, kv6, kc7, kv7, kc8, kv8</emphasis> -- Up to 8 optional k-rate controller pairs for the STK opcodes.
+ Each controller pair consists of a controller number (kc) followed by a controller value (kv). Both the controller numbers and the controller values are krate variables. However, during a performance, normally the controller numbers stay fixed while the corresponding controller values may change at any time.
+The order of the controller pair is arbitrary, as long as they are after <emphasis>iamplitude</emphasis>. Also, it is not needed that all controller pairs are used.
+</para>
</note>
</refsect1>
<refsect1>
<title>Examples</title>
<para>
- Here is an example of the STKRhodey opcode. It uses the file <ulink url="examples/STKRhodey.csd"><citetitle>STKRhodey.csd</citetitle></ulink>, and <ulink url="examples/fwavblnk.aiff"><citetitle>fwavblnk.aiff</citetitle></ulink>.
+ Here is an example of the STKRhodey opcode. It uses the file <ulink url="examples/STKRhodey.csd"><citetitle>STKRhodey.csd</citetitle></ulink>.
<example>
<title>Example of the STKRhodey opcode.</title>
@@ -79,7 +78,7 @@
<refsect1>
<title>See Also</title>
<para>
- <link linkend="STKWurley"><citetitle>STKWurley</citetitle></link>,
+ <link linkend="STKWurley"><citetitle>STKWurley</citetitle></link>.
</para>
</refsect1>