Debian Codegraph @

opcodes/sleighbells.xml

raw symbols SCIP
1
2 <refentry id="sleighbells">
3 <indexterm id="IndexSleighbells"><primary>sleighbells</primary></indexterm>
4 <refentryinfo><title>Signal Generators:Models and Emulations</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>sleighbells</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>sleighbells</refname>
13 <refpurpose>
14 Semi-physical model of a sleighbell sound.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 <emphasis>sleighbells</emphasis> is a semi-physical model of a sleighbell 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>sleighbells</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.9994 + (idamp * 0.002)</literallayout>
44 </para>
45
46 <para>
47 The default <emphasis>damping_amount</emphasis> is 0.9994 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.03.
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 2500.
60 </para>
61
62 <para>
63 <emphasis>ifreq1</emphasis> (optional) -- the first resonant frequency. The default value is 5300.
64 </para>
65
66 <para>
67 <emphasis>ifreq2</emphasis> (optional) -- the second resonant frequency. The default value is 6500.
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 sleighbells opcode. It uses the file <ulink url="examples/sleighbells.csd"><citetitle>sleighbells.csd</citetitle></ulink>.
82 <example>
83 <title>Example of the sleighbells opcode.</title>
84
85
86
87 <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>
88 <xi:include href="examples-xml/sleighbells.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
89 </example>
90 </para>
91 </refsect1>
92
93 <refsect1>
94 <title>See Also</title>
95 <para>
96 <link linkend="SiggenModels"><citetitle>Models and Emulations</citetitle></link>
97 </para>
98 </refsect1>
99
100 <refsect1>
101 <title>Credits</title>
102 <para>
103 <simplelist>
104 <member>Author: &nameperry;, part of the PhISEM (Physically Informed Stochastic Event Modeling)</member>
105 <member>Adapted by &namejohn;</member>
106 <member>University of Bath, Codemist Ltd.</member>
107 <member>Bath, UK</member>
108 </simplelist>
109 </para>
110
111 <para>New in Csound version 4.07</para>
112 <para>Added notes by &namerasmus; on May 2002.</para>
113 </refsect1>
114 </refentry>