Debian Codegraph @

opcodes/dripwater.xml

raw symbols SCIP
1
2 <refentry id="dripwater">
3 <indexterm id="IndexDripwater"><primary>dripwater</primary></indexterm>
4 <refentryinfo><title>Signal Generators:Models and Emulations</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>dripwater</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>dripwater</refname>
13 <refpurpose>
14 Semi-physical model of a water drop.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 <emphasis>dripwater</emphasis> is a semi-physical model of a water drop. 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>dripwater</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 10.
39 </para>
40
41
42 <para>
43 <emphasis>idamp</emphasis> (optional) -- the damping factor, as part of this equation:
44 <literallayout>damping_amount = 0.996 + (idamp * 0.002)</literallayout>
45 </para>
46
47 <para>
48 The default <emphasis>damping_amount</emphasis> is 0.996 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 2.0.
49 </para>
50
51 <para>
52 The recommended range for <emphasis>idamp</emphasis> is usually below 75% of the maximum value. &namerasmus; suggests a range of 1.4-1.75. He also suggests a maximum value of 1.9 instead of the theoretical limit of 2.0.
53 </para>
54
55 <para>
56 <emphasis>imaxshake</emphasis> (optional, default=0) -- amount of energy to add back into the system. The value should be in range 0 to 1.
57 </para>
58
59 <para>
60 <emphasis>ifreq</emphasis> (optional) -- the main resonant frequency. The default value is 450.
61 </para>
62
63 <para>
64 <emphasis>ifreq1</emphasis> (optional) -- the first resonant frequency. The default value is 600.
65 </para>
66
67 <para>
68 <emphasis>ifreq2</emphasis> (optional) -- the second resonant frequency. The default value is 750.
69 </para>
70 </refsect1>
71
72 <refsect1>
73 <title>Performance</title>
74 <para>
75 <emphasis>kamp</emphasis> -- Amplitude of output. Note: As these instruments are stochastic, this is only an approximation.
76 </para>
77 </refsect1>
78
79 <refsect1>
80 <title>Examples</title>
81 <para>
82 Here is an example of the dripwater opcode. It uses the file <ulink url="examples/dripwater.csd"><citetitle>dripwater.csd</citetitle></ulink>.
83
84 <example>
85 <title>Example of the dripwater opcode.</title>
86
87
88
89 <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>
90 <xi:include href="examples-xml/dripwater.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
91 </example>
92 </para>
93 </refsect1>
94
95 <refsect1>
96 <title>See Also</title>
97 <para>
98 <link linkend="SiggenModels"><citetitle>Models and Emulations</citetitle></link>
99 </para>
100 </refsect1>
101
102 <refsect1>
103 <title>Credits</title>
104 <para>
105 <simplelist>
106 <member>Author: &nameperry;, part of the PhISEM (Physically Informed Stochastic Event Modeling)</member>
107 <member>Adapted by &namejohn;</member>
108 <member>University of Bath, Codemist Ltd.</member>
109 <member>Bath, UK</member>
110 </simplelist>
111 </para>
112
113 <para>New in Csound version 4.07</para>
114 <para>Added notes by &namerasmus; on May 2002.</para>
115 </refsect1>
116 </refentry>