Debian Codegraph @

opcodes/STKPlucked.xml

raw symbols SCIP
1 <refentry id="STKPlucked">
2 <indexterm id="IndexStkplucked"><primary>STKPlucked</primary></indexterm>
3 <refentryinfo><title>Signal Generators:STK Opcodes</title></refentryinfo>
4 <refmeta>
5 <refentrytitle>STKPlucked</refentrytitle>
6 </refmeta>
7
8 <refnamediv>
9 <refname>STKPlucked</refname>
10 <refpurpose>
11 STKPlucked uses a plucked string physical model.
12 </refpurpose>
13 </refnamediv>
14
15 <refsect1>
16 <title>Description</title>
17 <para>Plugin opcode in stkopd. This opcode is part of the plugin repository and has to be installed separately.
18 The plugin repository can be found here: <ulink url="https://github.com/csound/plugins"><citetitle>https://github.com/csound/plugins</citetitle></ulink></para>
19 <para>
20 STKPlucked uses a plucked string physical model based on the Karplus-Strong algorithm.
21 </para>
22 </refsect1>
23
24 <refsect1>
25 <title>Syntax</title>
26 <synopsis>asignal <command>STKPlucked</command> ifrequency, iamplitude</synopsis>
27 </refsect1>
28
29 <refsect1>
30 <title>Initialization</title>
31 <para>
32 <emphasis>ifrequency</emphasis> -- Frequency of note played, in Hertz.
33 </para>
34
35 <para>
36 <emphasis>iamplitude</emphasis> -- Amplitude of note played (range 0-1).
37 </para>
38 </refsect1>
39
40 <refsect1>
41 <note>
42 <title>Note</title>
43 <para>
44 The code for this opcode is taken directly from the Plucked class in the Synthesis Toolkit in C++ by Perry R. Cook and Gary P. Scavone. More on the STK classes can be found here:
45 <ulink url="https://ccrma.stanford.edu/software/stk/classes.html"><citetitle>https://ccrma.stanford.edu/software/stk/classes.html</citetitle></ulink>
46 </para>
47 </note>
48 </refsect1>
49
50 <refsect1>
51 <title>Examples</title>
52 <para>
53 Here is an example of the STKPlucked opcode. It uses the file <ulink url="examples/STKPlucked.csd"><citetitle>STKPlucked.csd</citetitle></ulink>.
54
55 <example>
56 <title>Example of the STKPlucked opcode.</title>
57 <xi:include href="examples-xml/STKPlucked.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
58 </example>
59 </para>
60 </refsect1>
61
62 <refsect1>
63 <title>See also</title>
64 <para><link linkend="STKTop"><citetitle>STK Opcodes</citetitle></link></para>
65 </refsect1>
66
67 <refsect1>
68 <title>Credits</title>
69 <para>
70 <simplelist>
71 <member>Author: &namemichael; (after &nameperry;)</member>
72 <member>Irreducible Productions</member>
73 <member>New York, NY</member>
74 </simplelist>
75 </para>
76 <para>New in Csound version 5.11</para>
77 </refsect1>
78 </refentry>
79