1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
<title>TAP-plugins</title>
7
<meta name="generator" content="GNU Emacs 21.2.1">
8
<meta http-equiv="Content-Type" content="text/html;
10
<meta name="description" content="Tom's Audio Processing plugins for
11
audio engineering on the Linux platform.">
12
<meta name="keywords" content="TAP-plugins TAP Reverb Editor
13
Reverberator Equalizer EQ Vibrato Tremolo Echo Tom Szilagyi LADSPA
14
JACK Plugin Linux Audio">
15
<meta name="author" content="Tom Szilagyi">
18
<body bgcolor=#ffffff>
19
<table cellpadding="5" cellspacing="0" border="0" bgcolor=#ffffc0
22
<font size="+2" color=#004060><b>TAP</b>-plugins</font><br>
23
<font color=#004060>Tom's Audio Processing plugins</font><br>
24
<font size="-1" color=#004060><i>for audio engineering on the Linux
28
<a href="../index.html">[ Home ]</a>
29
<a href="../ladspa.html">[ LADSPA plugins ]</a>
30
<a href="../reverbed.html">[ TAP Reverb Editor ]</a>
34
<a href="releases.html">[ Releases ]</a>
35
<a href="cvs.html">[ CVS ]</a>
36
<a href="general.html">[ General Info ]</a>
37
<a href="manuals.html">[ Plugin Manuals ]</a>
43
<a href="autopan.html">[ TAP AutoPanner ]</a>
44
<a href="chorusflanger.html">[ TAP Chorus/Flanger ]</a>
45
<a href="deesser.html">[ TAP DeEsser ]</a>
46
<a href="dynamics.html">[ TAP Dynamics (Mono & Stereo) ]</a>
47
<a href="eq.html">[ TAP Equalizer and TAP Equalizer/BW ]</a>
48
<a href="doubler.html">[ TAP Fractal Doubler ]</a>
49
<a href="pinknoise.html">[ TAP Pink/Fractal Noise ]</a>
50
<a href="pitch.html">[ TAP Pitch Shifter ]</a>
51
<a href="reflector.html">[ TAP Reflector ]</a>
52
<a href="reverb.html">[ TAP Reverberator ]</a>
53
<a href="rotspeak.html">[ TAP Rotary Speaker ]</a>
54
<a href="limiter.html">[ TAP Scaling Limiter ]</a>
55
<a href="sigmoid.html">[ TAP Sigmoid Booster ]</a>
56
<a href="echo.html">[ TAP Stereo Echo ]</a>
57
<a href="tremolo.html">[ TAP Tremolo ]</a>
58
<a href="tubewarmth.html">[ TAP TubeWarmth ]</a>
59
<a href="vibrato.html">[ TAP Vibrato ]</a>
62
<h2>TAP Dynamics (Mono & Stereo)</h2>
63
<img src="tap_dynamics_m.png" alt="[TAP Dynamics (M) GUI as shown in Ardour]">
65
<img src="tap_dynamics_st.png" alt="[TAP Dynamics (St) GUI as shown in Ardour]">
67
<b>TAP Dynamics</b> is a versatile tool for changing the dynamic
68
content of your tracks. Currently it supports 15 dynamics transfer
69
functions, among which there are compressors, limiters, expanders and
70
noise gates. However, the plugin itself supports arbitrary dynamics
71
transfer functions, so you may add your own functions as well, without
72
any actual programming.
75
The plugin comes in two versions: Mono (M) and Stereo (St). This is
76
needed because independent processing of two channels is not always
77
desirable in the case of stereo material. The stereo version has an
78
additional control to set the appropriate mode for stereo processing
79
(you may still choose to process the two channels independently,
80
although the same effect is achieved by using the mono version).
83
<h3>General information</h3>
85
<table cellspacing="0" cellpadding="5" border="1">
86
<tr><th align="left">Unique ID</th><td>2152 (Mono), 2153 (Stereo)</td>
87
<tr><th align="left">I/O ports</th><td>1 input / 1 output (Mono), 2 inputs / 2 outputs (Stereo)</td>
88
<tr><th align="left">CPU usage (44.1 kHz)</th><td>1.9% [1]</td>
89
<tr><th align="left">CPU usage (96 kHz)</th><td>3.9% [1]</td>
90
<tr><th align="left">Hard RT Capable</th><td>No (see Notes)</td></tr>
91
<tr><th align="left">In-place operation</th><td>Supported</td>
92
<tr><th align="left">run_adding() function</th><td>Provided</td>
95
[1] When placed on a stereo track with equal settings, the difference
96
between the results of the mono and stereo version is not significant.
101
The Attack and Release controls set the parameters for the envelope
102
computation code. By setting smaller values, the envelope level will
103
follow the actual momentary volume level more accurately; by setting
104
larger values, envelopes will be more sluggish. As a rule of thumb,
105
the release time should be about 2-4 times as much as the attack time,
106
but this rule is very weak: don't hesitate to set anything else if
107
that is what you need.
110
Setting small attack/release times means that the plugin will spring
111
into action on every beat. Setting relatively long attack/release
112
times (above 200-300 ms) yield an effect that tends to compensate for
113
volume changes in a track, and lets shorter changes (beats) get
117
The envelope level determines the amount of gain applied to the input
118
signal, with respect to the dynamics function set. There will be times
119
when you need to modify the threshold/limit levels of a function to
120
get the best results. The Offset Gain control is provided for this
121
reason. By setting this control, you specify the gain with which the
122
whole dynamics function is shifted horizontally, in the negative
123
direction. To put it another way, you may think of this control like a
124
gain control applied to the input signal just before it reaches the
125
envelope stage; however, note that this gain will not show up in the
126
indicated envelope levels. Let's take an example: if you set the
127
Function to, say, "Hard limiter at -12 dB", and set an Offset Gain of
128
+6 dB, the result will be a hard limiter at -18 dB. Use this control
129
to adjust the chosen function to the actual level of your track.
132
The Stereo version has an additional control: Stereo Mode. It has
133
three values: Independent, Average and Peak. This setting controls how
134
the envelope levels are used to determine the needed gain adjustment.
135
When in Independent mode, the two envelope levels control the two
136
channel's gains independently. In Average mode, the average of the two
137
envelope levels is computed and the gain determined by this average
138
level is applied to both input channels. Peak mode is the same as
139
Average mode, but the greater envelope level is taken instead of the
140
average of the two envelope levels.
143
Generally, you will want to use Average or Peak mode on a stereo mix
144
in order to retain stereo balance. Independent mode tends to cancel
145
out larger volume differences between the two channels; of course,
146
this may be just what you want.
149
<h3>Dynamics transfer functions</h3>
151
The plots of the dynamics functions are shown below. The identity
152
function (which always yields zero gain modification) is plot as a
153
yellow line. The actual function's plot is red. At any input level,
154
the gain modification is the vertical distance between the yellow and
157
<table cellspacing="0" cellpadding="5" border="1">
158
<tr><th>No. </th><th>Dynamics function</th></tr>
160
<tr><td valign="top">0</td><td>
161
<img src="tap_dynamics_00.png" alt="Dynamics function no. 0">
164
<tr><td valign="top">1</td><td>
165
<img src="tap_dynamics_01.png" alt="Dynamics function no. 1">
168
<tr><td valign="top">2</td><td>
169
<img src="tap_dynamics_02.png" alt="Dynamics function no. 2">
172
<tr><td valign="top">3</td><td>
173
<img src="tap_dynamics_03.png" alt="Dynamics function no. 3">
176
<tr><td valign="top">4</td><td>
177
<img src="tap_dynamics_04.png" alt="Dynamics function no. 4">
180
<tr><td valign="top">5</td><td>
181
<img src="tap_dynamics_05.png" alt="Dynamics function no. 5">
184
<tr><td valign="top">6</td><td>
185
<img src="tap_dynamics_06.png" alt="Dynamics function no. 6">
188
<tr><td valign="top">7</td><td>
189
<img src="tap_dynamics_07.png" alt="Dynamics function no. 7">
192
<tr><td valign="top">8</td><td>
193
<img src="tap_dynamics_08.png" alt="Dynamics function no. 8">
196
<tr><td valign="top">9</td><td>
197
<img src="tap_dynamics_09.png" alt="Dynamics function no. 9">
200
<tr><td valign="top">10</td><td>
201
<img src="tap_dynamics_10.png" alt="Dynamics function no. 10">
204
<tr><td valign="top">11</td><td>
205
<img src="tap_dynamics_11.png" alt="Dynamics function no. 11">
208
<tr><td valign="top">12</td><td>
209
<img src="tap_dynamics_12.png" alt="Dynamics function no. 12">
212
<tr><td valign="top">13</td><td>
213
<img src="tap_dynamics_13.png" alt="Dynamics function no. 13">
216
<tr><td valign="top">14</td><td>
217
<img src="tap_dynamics_14.png" alt="Dynamics function no. 14">
224
<table cellspacing="0" cellpadding="5" border"1" bgcolor="#f0f0f0">
226
<h3>How to add a new dynamics function</h3>
228
If you want to add a new function, here is how to do it. If you are
229
not interested in creating your own functions, you can safely skip
233
You have to specify the following parameters in order to describe a
234
dynamics transfer function.
237
<i>(a)</i> The number of breakpoints on the input/output plane (the
238
maximum number is 20).
240
<i>(b)</i> For each breakpoint, the input (X) and output (Y) values
241
are needed. Input coordinates must be greater or equal to -80 dB,
242
output coordinates may be arbitrary.
246
Function data is described in the file
247
<code>tap_dynamics_presets.h</code> in a structure written in C
248
syntax. But don't be scared, you don't have to be a C programmer to be
249
able to add a new function. Just follow the instructions.
252
First of all, at the top of the file you find this:<br><br>
253
<code>/* Number of dynamics presets */<br>
254
#define NUM_MODES 15</code><br><br>
255
It is important that this number always equals to the functions
256
described in the file. For this reason, you have to increase this
257
value if you add a new preset.
260
Below is an existing function, as it looks in the file. Note that
261
fractional numbers are given in C float format. This means that a
262
decimal dot is found in every number ( <code>.0</code> is appended if
263
it happens to be an integer) and it is ended with the letter
268
269
{ /* Compressor/Gate */<br>
270
271
273
274
276
277
278
279
{-80.0f, -105.0f},<br>
280
281
282
283
{-62.0f, -80.0f},<br>
284
285
286
287
{-15.4f, -15.4f},<br>
288
289
290
292
293
294
296
297
299
303
This function consists of 5 breakpoints <i>(a)</i>. Each breakpoint
304
has two coordinates, the first value is the input, the second is the
309
When you have designed a new function, all you have to do is append it
310
in a form shown above, to the end of
311
<code>tap_dynamics_presets.h</code>, but before the last closing
312
<code>};</code> brace. After re-compiling the plugin, your new
313
dynamics function should be available. (Don't forget to increment the
314
<code>NUM_MODES</code> constant at the top of the file, as shown
315
above, or your new function will not show up.)
318
If you have developed a new preset that you think is useful, please
319
mail it with your name and e-mail address to the author so it can be
320
included in the next release. You will be given due credit, of course.
328
<h3>Summary of user controls</h3>
330
<table cellspacing="0" cellpadding="5" border="1">
331
<tr><th>name</th><th>min. value</th><th>default value</th><th>max. value</th></tr>
333
<tr align="center"><td>Attack [ms]</td>
337
<tr align="center"><td>Release [ms]</td>
341
<tr align="center"><td>Offset Gain [dB]</td>
345
<tr align="center"><td>Makeup Gain [dB]</td>
349
<tr align="center"><td>Stereo Mode [2]</td>
353
<tr align="center"><td>Function</td>
359
[2] This control appears only in the Stereo version.
364
The plugin consumes varying amounts of CPU power, depending on the
365
exact function used. The plugin is by definition not hard RT capable,
366
although CPU usage tends to be fairly constant. CPU metrics were
367
measured with the function set to Expander, which is currently the
368
most complex function.
374
$Id: dynamics.html,v 1.3 2004/08/17 13:05:16 tszilagyi Exp $