diff options
author | Felipe Sateler <fsateler@debian.org> | 2011-07-26 23:02:40 -0400 |
---|---|---|
committer | Felipe Sateler <fsateler@debian.org> | 2011-07-26 23:02:40 -0400 |
commit | 3a91171181113761a14bcc36a086a8dda144b77b (patch) | |
tree | 7affbde923b0131e3e954519a8afb24cd408982d /opcodes/STKStifKarp.xml | |
parent | e99de1fa9e7b72351523a958cb2a13557884f0a4 (diff) |
Imported Upstream version 5.13~dfsg
Diffstat (limited to 'opcodes/STKStifKarp.xml')
-rwxr-xr-x | opcodes/STKStifKarp.xml | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/opcodes/STKStifKarp.xml b/opcodes/STKStifKarp.xml new file mode 100755 index 0000000..df4feb6 --- /dev/null +++ b/opcodes/STKStifKarp.xml @@ -0,0 +1,86 @@ +<refentry id="STKStifKarp"> + <indexterm id="IndexStkstifkarp"><primary>STKStifKarp</primary></indexterm> + <refentryinfo><title>Signal Generators:STK Opcodes</title></refentryinfo> + <refmeta> + <refentrytitle>STKStifKarp</refentrytitle> + </refmeta> + + <refnamediv> + <refname>STKStifKarp</refname> + <refpurpose> + STKStifKarp is a plucked stiff string instrument. + </refpurpose> + </refnamediv> + + <refsect1> + <title>Description</title> + <para> + STKStifKarp is a plucked stiff string instrument. + It a simple plucked string algorithm (Karplus Strong) with enhancements, including string stiffness and pluck position controls. The stiffness is modeled with allpass filters. + </para> + </refsect1> + + <refsect1> + <title>Syntax</title> + <synopsis>asignal <command>STKStifKarp</command> ifrequency, iamplitude, [kc1, kv1[, kc2, kv2[, kc3, kv3]]]</synopsis> + </refsect1> + + <refsect1> + <title>Initialization</title> + <para> + <emphasis>ifrequency</emphasis> -- Frequency of note played, in Hertz. + </para> + + <para> + <emphasis>iamplitude</emphasis> -- Amplitude of note played (range 0-1). + </para> + </refsect1> + + <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 3 controller numbers and values that work for STKStifKarp are: + <itemizedlist> + <listitem><para><emphasis>kc, kv</emphasis> -- 4, pickup position.</para></listitem> + <listitem><para><emphasis>kc, kv</emphasis> -- 11, string sustain </para></listitem> + <listitem><para><emphasis>kc, kv</emphasis> -- 1, string stretch.</para></listitem> + </itemizedlist> + </para> + </refsect1> + + <refsect1> + <note> + <title>Note</title> + <para> + The code for this opcode is taken directly from the StifKarp 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> + </note> + </refsect1> + + <refsect1> + <title>Examples</title> + <para> + Here is an example of the STKStifKarp opcode. It uses the file <ulink url="examples/STKStifKarp.csd"><citetitle>STKStifKarp.csd</citetitle></ulink>. + + <example> + <title>Example of the STKStifKarp opcode.</title> + <xi:include href="examples-xml/STKStifKarp.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/> + </example> + </para> + </refsect1> + + <refsect1> + <title>Credits</title> + <para> + <simplelist> + <member>Author: &namemichael; (after &nameperry;)</member> + <member>Irreducible Productions</member> + <member>New York, NY</member> + </simplelist> + </para> + <para>New in Csound version 5.11</para> + </refsect1> +</refentry> |