LMMS
Loading...
Searching...
No Matches
tap_dynamics_presets.h
Go to the documentation of this file.
1/* -*- linux-c -*-
2 Copyright (C) 2004 Tom Szilagyi
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17*/
18
19
20/* Number of dynamics presets */
21#define NUM_MODES 15
22
23
24/* Dynamics presets data */
26
27 { /* 2:1 compression starting at -6 dB */
28 4,
29 {
30 {-80.0f, -80.0f},
31 {-6.0f, -6.0f},
32 {0.0f, -3.8f},
33 {20.0f, 3.5f},
34 },
35 },
36
37 { /* 2:1 compression starting at -9 dB */
38 4,
39 {
40 {-80.0f, -80.0f},
41 {-9.0f, -9.0f},
42 {0.0f, -5.3f},
43 {20.0f, 2.9f},
44 },
45 },
46
47 { /* 2:1 compression starting at -12 dB */
48 4,
49 {
50 {-80.0f, -80.0f},
51 {-12.0f, -12.0f},
52 {0.0f, -6.8f},
53 {20.0f, 1.9f},
54 },
55 },
56
57 { /* 2:1 compression starting at -18 dB */
58 4,
59 {
60 {-80.0f, -80.0f},
61 {-18.0f, -18.0f},
62 {0.0f, -9.8f},
63 {20.0f, -0.7f},
64 },
65 },
66
67 { /* 2.5:1 compression starting at -12 dB */
68 4,
69 {
70 {-80.0f, -80.0f},
71 {-12.0f, -12.0f},
72 {0.0f, -7.5f},
73 {20.0f, 0.0f},
74 },
75 },
76
77 { /* 3:1 compression starting at -12 dB */
78 4,
79 {
80 {-80.0f, -80.0f},
81 {-12.0f, -12.0f},
82 {0.0f, -9.0f},
83 {20.0f, -4.0f},
84 },
85 },
86
87 { /* 3:1 compression starting at -15 dB */
88 4,
89 {
90 {-80.0f, -80.0f},
91 {-15.0f, -15.0f},
92 {0.0f, -10.8f},
93 {20.0f, -5.2f},
94 },
95 },
96
97 { /* Compressor/Gate */
98 5,
99 {
100 {-80.0f, -105.0f},
101 {-62.0f, -80.0f},
102 {-15.4f, -15.4f},
103 {0.0f, -12.0f},
104 {20.0f, -7.6f},
105 },
106 },
107
108 { /* Expander */
109 8,
110 {
111 {-80.0f, -169.0f},
112 {-54.0f, -80.0f},
113 {-49.5f, -64.6f},
114 {-41.1f, -41.1f},
115 {-25.8f, -15.0f},
116 {-10.8f, -4.5f},
117 {0.0f, 0.0f},
118 {20.0f, 8.3f},
119 },
120 },
121
122 { /* Hard limiter at -6 dB */
123 3,
124 {
125 {-80.0f, -80.0f},
126 {-6.0f, -6.0f},
127 {20.0f, -6.0f},
128 },
129 },
130
131
132 { /* Hard limiter at -12 dB */
133 3,
134 {
135 {-80.0f, -80.0f},
136 {-12.0f, -12.0f},
137 {20.0f, -12.0f},
138 },
139 },
140
141 { /* Hard noise gate at -35 dB */
142 4,
143 {
144 {-80.0f, -115.0f},
145 {-35.1f, -80.0f},
146 {-35.0f, -35.0f},
147 {20.0f, 20.0f},
148 },
149 },
150
151 { /* Soft limiter */
152 5,
153 {
154 {-80.0f, -80.0f},
155 {-12.4f, -12.4f},
156 {-6.0f, -8.0f},
157 {0.0f, -6.8f},
158 {20.0f, -2.8f},
159 },
160 },
161
162 { /* Soft knee comp/gate (-24 dB threshold) */
163 8,
164 {
165 {-80.0f, -113.7f},
166 {-46.3f, -80.0f},
167 {-42.0f, -56.8f},
168 {-33.6f, -36.3f},
169 {-24.0f, -24.0f},
170 {-11.1f, -15.4f},
171 {0.0f, -12.0f},
172 {20.0f, -5.8f},
173 },
174 },
175
176 { /* Soft noise gate below -36 dB */
177 7,
178 {
179 {-80.0f, -104.0f},
180 {-56.0f, -80.0f},
181 {-51.8f, -67.2f},
182 {-44.7f, -49.3f},
183 {-34.0f, -34.0f},
184 {0.0f, 0.0f},
185 {20.0f, 20.0f},
186 },
187 },
188
189
190
191
192
193
194 /* You can add your own presets here.
195 * Please read the docs about the format.
196 */
197
198
199
200
201};
202
Definition tap_dynamics_m.c:98
DYNAMICS_DATA dyn_data[NUM_MODES]
Definition tap_dynamics_presets.h:25
#define NUM_MODES
Definition tap_dynamics_presets.h:21