Debian Codegraph @

opcodes/babo.xml

raw symbols SCIP
1
2 <refentry id="babo">
3 <indexterm id="IndexBabo"><primary>babo</primary></indexterm>
4 <refentryinfo><title>Signal Modifiers:Reverberation</title></refentryinfo>
5 <refmeta>
6 <refentrytitle>babo</refentrytitle>
7 </refmeta>
8
9
10
11 <refnamediv>
12 <refname>babo</refname>
13 <refpurpose>
14 A physical model reverberator.
15 </refpurpose>
16 </refnamediv>
17
18 <refsect1>
19 <title>Description</title>
20 <para>
21 <emphasis>babo</emphasis> stands for <emphasis>ba</emphasis>ll-within-the-<emphasis>bo</emphasis>x. It is a physical model reverberator based on the paper by Davide Rocchesso "The Ball within the Box: a sound-processing metaphor", Computer Music Journal, Vol 19, N.4, pp.45-47, Winter 1995.
22 </para>
23
24 <para>
25 The resonator geometry can be defined, along with some response characteristics, the position of the listener within the resonator, and the position of the sound source.
26 </para>
27
28
29 <para>
30 <emphasis>babo2</emphasis> was introduced to fix the issue of
31 the direct sound parameter (see expert parameters), which is a
32 non-op in the original opcode.
33 </para>
34
35 </refsect1>
36
37 <refsect1>
38 <title>Syntax</title>
39 <synopsis>a1, a2 <command>babo</command> asig, ksrcx, ksrcy,
40 ksrcz, irx, iry, irz [, idiff] [, ifno]</synopsis>
41 <synopsis>a1, a2 <command>babo2</command> asig, ksrcx, ksrcy, ksrcz, irx, iry, irz [, idiff] [, ifno]</synopsis>
42 </refsect1>
43
44 <refsect1>
45 <title>Initialization</title>
46 <para>
47 <emphasis>irx, iry, irz</emphasis> -- the coordinates of the geometry of the resonator (length of the edges in meters)
48 </para>
49
50 <para>
51 <emphasis>idiff</emphasis> -- is the coefficient of diffusion at the walls, which regulates the amount of diffusion (0-1, where 0 = no diffusion, 1 = maximum diffusion - default: 1)
52 </para>
53
54 <para>
55 <emphasis>ifno</emphasis> -- expert values function: a function number that holds all the additional parameters of the resonator. This is typically a GEN2--type function used in non-rescaling mode. They are as follows:
56 <itemizedlist>
57 <listitem><para><emphasis>decay</emphasis> -- main decay of the resonator (default: 0.99)</para></listitem>
58 <listitem><para><emphasis>hydecay</emphasis> -- high frequency decay of the resonator (default: 0.1)</para></listitem>
59 <listitem><para><emphasis>rcvx, rcvy, rcvz</emphasis> -- the coordinates of the position of the receiver (the listener) (in meters; 0,0,0 is the resonator center)</para></listitem>
60 <listitem><para><emphasis>rdistance</emphasis> -- the distance in meters between the two pickups (your ears, for example - default: 0.3)</para></listitem>
61 <listitem><para><emphasis>direct</emphasis> -- the attenuation
62 of the direct signal (0-1, default: 0.5). This is a non-op in
63 babo, but has been introduced in babo2.
64 </para></listitem>
65 <listitem><para><emphasis>early_diff</emphasis> -- the attenuation coefficient of the early reflections (0-1, default: 0.8)</para></listitem>
66 </itemizedlist>
67 </para>
68 </refsect1>
69
70 <refsect1>
71 <title>Performance</title>
72 <para>
73 <emphasis>asig</emphasis> -- the input signal
74 </para>
75
76 <para>
77 <emphasis>ksrcx, ksrcy, ksrcz</emphasis> -- the virtual coordinates of the source of sound (the input signal). These are allowed to move at k-rate and provide all the necessary variations in terms of response of the resonator.
78 </para>
79 </refsect1>
80
81 <refsect1>
82 <title>Examples</title>
83 <para>
84 Here is a simple example of the babo opcode. It uses the file <ulink url="examples/babo.csd"><citetitle>babo.csd</citetitle></ulink>, and <ulink url="examples/drumsMlp.wav"><citetitle>drumsMlp.wav</citetitle></ulink>.
85 <example>
86 <title>A simple example of the babo opcode.</title>
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/babo.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
89 </example>
90 </para>
91
92 <para>
93 Here is an advanced example of the babo opcode. It uses the file <ulink url="examples/babo_expert.csd"><citetitle>babo_expert.csd</citetitle></ulink>, and <ulink url="examples/drumsMlp.wav"><citetitle>drumsMlp.wav</citetitle></ulink>.
94
95 <example>
96 <title>An advanced example of the babo opcode.</title>
97
98 <xi:include href="examples-xml/babo_expert.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
99 </example>
100 </para>
101 </refsect1>
102
103 <refsect1>
104 <title>See also</title>
105 <para><link linkend="SigmodReverbtn"><citetitle>Reverberation</citetitle></link></para>
106 </refsect1>
107
108 <refsect1>
109 <title>Credits</title>
110 <para>
111 <simplelist>
112 <member>Author: Paolo Filippi</member>
113 <member>Padova, Italy</member>
114 <member>1999</member>
115 </simplelist>
116 </para>
117
118 <para>
119 <simplelist>
120 <member>Nicola Bernardini</member>
121 <member>Rome, Italy</member>
122 <member>2000</member>
123 </simplelist>
124 </para>
125
126 <para>New in Csound version 4.09</para>
127 </refsect1>
128 </refentry>