Debian Codegraph @

opcodes/repluck.xml

raw symbols SCIP
1
2 <refentry id="repluck">
3 <indexterm id="IndexRepluck"><primary>repluck</primary></indexterm>
4 <refentryinfo><title>Signal Generators:Waveguide Physical Modeling</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>repluck</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>repluck</refname>
13 <refpurpose>
14 Physical model of the plucked string.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 <emphasis>repluck</emphasis> is an implementation of the physical model of the plucked string. A user can control the pluck point, the pickup point, the filter, and an additional audio signal, <emphasis>axcite</emphasis>. <emphasis>axcite</emphasis> is used to excite the 'string'. Based on the Karplus-Strong algorithm.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>ares <command>repluck</command> iplk, kamp, icps, kpick, krefl, axcite</synopsis>
28 </refsect1>
29
30 <refsect1>
31 <title>Initialization</title>
32 <para>
33 <emphasis>iplk</emphasis> -- The point of pluck is <emphasis>iplk</emphasis>, which is a fraction of the way up the string (0 to 1). A pluck point of zero means no initial pluck.
34 </para>
35
36 <para>
37 <emphasis>icps</emphasis> -- The string plays at <emphasis>icps</emphasis> pitch.
38 </para>
39 </refsect1>
40
41 <refsect1>
42 <title>Performance</title>
43 <para>
44 <emphasis>kamp</emphasis> -- Amplitude of note.
45 </para>
46
47 <para>
48 <emphasis>kpick</emphasis> -- Proportion of the way along the string to sample the output.
49 </para>
50
51 <para>
52 <emphasis>krefl</emphasis> -- the coefficient of reflection, indicating the lossiness and the rate of decay. It must be strictly between 0 and 1 (it will complain about both 0 and 1).
53 </para>
54 </refsect1>
55
56 <refsect1>
57 <title>Performance</title>
58 <para>
59 <emphasis>axcite</emphasis> -- A signal which excites the string.
60 </para>
61 </refsect1>
62
63 <refsect1>
64 <title>Examples</title>
65 <para>
66 Here is an example of the repluck opcode. It uses the file <ulink url="examples/repluck.csd"><citetitle>repluck.csd</citetitle></ulink>.
67
68 <example>
69 <title>Example of the repluck opcode.</title>
70
71
72
73 <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>
74 <xi:include href="examples-xml/repluck.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
75 </example>
76 </para>
77 </refsect1>
78
79 <refsect1>
80 <para>
81 Here is another example of the repluck opcode. It uses the file <ulink url="examples/repluck-advanced.csd"><citetitle>repluck-advanced.csd</citetitle></ulink>.
82 <example>
83 <title>Advanced example of the repluck opcode.</title>
84 <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>
85 <xi:include href="examples-xml/repluck-advanced.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
86 </example>
87 </para>
88 </refsect1>
89
90 <refsect1>
91 <title>See also</title>
92 <para><link linkend="SiggenWavguide"><citetitle>Waveguide Physical Modeling</citetitle></link></para>
93 </refsect1>
94
95 <refsect1>
96 <title>Credits</title>
97 <para>
98 <simplelist>
99 <member>Author: &namejohn;</member>
100 <member>University of Bath/Codemist Ltd.</member>
101 <member>Bath, UK</member>
102 <member>1997</member>
103 </simplelist>
104 </para>
105 <para>New in version 3.47</para>
106 </refsect1>
107 </refentry>