Debian Codegraph @

opcodes/tambourine.xml

raw symbols SCIP
1
2 <refentry id="tambourine">
3 <indexterm id="IndexTambourine"><primary>tambourine</primary></indexterm>
4 <refentryinfo><title>Signal Generators:Models and Emulations</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>tambourine</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>tambourine</refname>
13 <refpurpose>
14 Semi-physical model of a tambourine sound.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 <emphasis>tambourine</emphasis> is a semi-physical model of a tambourine sound. It is one of the PhISEM percussion opcodes. PhISEM (Physically Informed Stochastic Event Modeling) is an algorithmic approach for simulating collisions of multiple independent sound producing objects.
22 </para>
23 </refsect1>
24
25 <refsect1>
26 <title>Syntax</title>
27 <synopsis>ares <command>tambourine</command> kamp, idettack [, inum] [, idamp] [, imaxshake] [, ifreq] \
28 [, ifreq1] [, ifreq2]</synopsis>
29 </refsect1>
30
31 <refsect1>
32 <title>Initialization</title>
33 <para>
34 <emphasis>idettack</emphasis> -- period of time over which all sound is stopped
35 </para>
36
37 <para>
38 <emphasis>inum</emphasis> (optional) -- The number of beads, teeth, bells, timbrels, etc. If zero, the default value is 32.
39 </para>
40
41 <para>
42 <emphasis>idamp</emphasis> (optional) -- the damping factor, as part of this equation:
43 <literallayout>damping_amount = 0.9985 + (idamp * 0.002)</literallayout>
44 </para>
45
46 <para>
47 The default <emphasis>damping_amount</emphasis> is 0.9985 which means that the default value of <emphasis>idamp</emphasis> is 0. The maximum <emphasis>damping_amount</emphasis> is 1.0 (no damping). This means the maximum value for <emphasis>idamp</emphasis> is 0.75.
48 </para>
49
50 <para>
51 The recommended range for <emphasis>idamp</emphasis> is usually below 75% of the maximum value.
52 </para>
53
54 <para>
55 <emphasis>imaxshake</emphasis> (optional, default=0) -- amount of energy to add back into the system. The value should be in range 0 to 1.
56 </para>
57
58 <para>
59 <emphasis>ifreq</emphasis> (optional) -- the main resonant frequency. The default value is 2300.
60 </para>
61
62 <para>
63 <emphasis>ifreq1</emphasis> (optional) -- the first resonant frequency. The default value is 5600.
64 </para>
65
66 <para>
67 <emphasis>ifreq2</emphasis> (optional) -- the second resonant frequency. The default value is 8100.
68 </para>
69 </refsect1>
70
71 <refsect1>
72 <title>Performance</title>
73 <para>
74 <emphasis>kamp</emphasis> -- Amplitude of output. Note: As these instruments are stochastic, this is only an approximation.
75 </para>
76 </refsect1>
77
78 <refsect1>
79 <title>Examples</title>
80 <para>
81 Here is an example of the tambourine opcode. It uses the file <ulink url="examples/tambourine.csd"><citetitle>tambourine.csd</citetitle></ulink>.
82
83 <example>
84 <title>Example of the tambourine opcode.</title>
85
86
87
88 <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>
89 <xi:include href="examples-xml/tambourine.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
90 </example>
91 </para>
92 </refsect1>
93
94 <refsect1>
95 <title>See Also</title>
96 <para>
97 <link linkend="SiggenModels"><citetitle>Models and Emulations</citetitle></link>
98 </para>
99 </refsect1>
100
101 <refsect1>
102 <title>Credits</title>
103 <para>
104 <simplelist>
105 <member>Author: &nameperry;, part of the PhISEM (Physically Informed Stochastic Event Modeling)</member>
106 <member>Adapted by &namejohn;</member>
107 <member>University of Bath, Codemist Ltd.</member>
108 <member>Bath, UK</member>
109 </simplelist>
110 </para>
111
112 <para>New in Csound version 4.07</para>
113 <para>Added notes by &namerasmus; on May 2002.</para>
114 </refsect1>
115 </refentry>