1
<refentry id="STKBeeThree">
2
<indexterm id="IndexStkbeethree"><primary>STKBeeThree</primary></indexterm>
3
<refentryinfo><title>Signal Generators:STK Opcodes</title></refentryinfo>
5
<refentrytitle>STKBeeThree</refentrytitle>
9
<refname>STKBeeThree</refname>
11
STK Hammond-oid organ-like FM synthesis instrument.
16
<title>Description</title>
18
STK Hammond-oid organ-like FM synthesis instrument.</para>
20
This opcode a simple 4 operator topology, also referred to as algorithm 8 of the TX81Z.
21
It simulates the sound of a Hammond-oid organ, and some related sounds.
27
<synopsis>asignal <command>STKBeeThree</command> ifrequency, iamplitude, [kc1, kv1[, kc2, kv2[, kc3, kv3[, kc4, kv4[, kc5, kv5]]]]]</synopsis>
31
<title>Initialization</title>
33
<emphasis>ifrequency</emphasis> -- Frequency of note played, in Hertz.
37
<emphasis>iamplitude</emphasis> -- Amplitude of note played (range 0-1).
42
<title>Performance</title>
45
<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.
46
Each controller pair consists of a controller number (kc) followed by a controller value (kv). The 5 controller numbers and values that work for STKBeeThree are:
48
<listitem><para><emphasis>kc, kv</emphasis> -- 2, gain of feedback of operator 4.</para></listitem>
49
<listitem><para><emphasis>kc, kv</emphasis> -- 4, gain of operator 3 </para></listitem>
50
<listitem><para><emphasis>kc, kv</emphasis> -- 11, speed of low-frequency oscillator.</para></listitem>
51
<listitem><para><emphasis>kc, kv</emphasis> -- 1, depth of low-frequency oscillator.</para></listitem>
52
<listitem><para><emphasis>kc, kv</emphasis> -- 128, ADSR 2 and 4 target.</para></listitem>
61
The code for this opcode is taken directly from the BeeThree class in the Synthesis Toolkit in C++ by Perry R. Cook and Gary P. Scavone. More on the STK classes can be found here:
62
<ulink url="https://ccrma.stanford.edu/software/stk/classes.html"><citetitle>https://ccrma.stanford.edu/software/stk/classes.html</citetitle></ulink>
68
<title>Examples</title>
70
Here is an example of the STKBeeThree opcode. It uses the file <ulink url="examples/STKBeeThree.csd"><citetitle>STKBeeThree.csd</citetitle></ulink>, and <ulink url="examples/fwavblnk.aiff"><citetitle>fwavblnk.aiff</citetitle></ulink>.
73
<title>Example of the STKBeeThree opcode.</title>
74
<xi:include href="examples-xml/STKBeeThree.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
80
<title>Credits</title>
83
<member>Author: &namemichael; (after &nameperry;)</member>
84
<member>Irreducible Productions</member>
85
<member>New York, NY</member>
88
<para>New in Csound version 5.11</para>