Skip to content

Commit 710abeb

Browse files
committed
Metadata update
1 parent 09905b6 commit 710abeb

File tree

1 file changed

+47
-47
lines changed

1 file changed

+47
-47
lines changed

src/main/meta/dyna_processor.cpp

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -152,49 +152,49 @@ namespace lsp
152152
COMBO("scm", "Sidechain mode", dyna_processor_metadata::SC_MODE_DFL, dyna_proc_sc_modes), \
153153
CONTROL("sla", "Sidechain lookahead", U_MSEC, dyna_processor_metadata::LOOKAHEAD), \
154154
SWITCH("scl", "Sidechain listen", 0.0f), \
155-
LOG_CONTROL("scr", "Sidechain reactivity", U_MSEC, dyna_processor_metadata::REACTIVITY), \
155+
LOG_CONTROL("scr", "Sidechain reactivity", "SC react", U_MSEC, dyna_processor_metadata::REACTIVITY), \
156156
AMP_GAIN100("scp", "Sidechain preamp", GAIN_AMP_0_DB), \
157157
COMBO("shpm", "High-pass filter mode", 0, dyna_proc_filter_slope), \
158-
LOG_CONTROL("shpf", "High-pass filter frequency", U_HZ, dyna_processor_metadata::HPF), \
158+
LOG_CONTROL("shpf", "High-pass filter frequency", "HPF freq", U_HZ, dyna_processor_metadata::HPF), \
159159
COMBO("slpm", "Low-pass filter mode", 0, dyna_proc_filter_slope), \
160-
LOG_CONTROL("slpf", "Low-pass filter frequency", U_HZ, dyna_processor_metadata::LPF)
160+
LOG_CONTROL("slpf", "Low-pass filter frequency", "LPF freq", U_HZ, dyna_processor_metadata::LPF)
161161

162-
#define DYNA_PROC_SC_STEREO_CHANNEL(id, label, sct) \
162+
#define DYNA_PROC_SC_STEREO_CHANNEL(id, label, alias, sct) \
163163
COMBO("sct" id, "Sidechain type" label, dyna_processor_metadata::SC_TYPE_DFL, sct), \
164164
COMBO("scm" id, "Sidechain mode" label, dyna_processor_metadata::SC_MODE_DFL, dyna_proc_sc_modes), \
165165
CONTROL("sla" id, "Sidechain lookahead" label, U_MSEC, dyna_processor_metadata::LOOKAHEAD), \
166166
SWITCH("scl" id, "Sidechain listen" label, 0.0f), \
167167
COMBO("scs" id, "Sidechain source" label, dyna_processor_metadata::SC_SOURCE_DFL, dyna_proc_sc_sources), \
168-
LOG_CONTROL("scr" id, "Sidechain reactivity" label, U_MSEC, dyna_processor_metadata::REACTIVITY), \
168+
LOG_CONTROL("scr" id, "Sidechain reactivity" label, "SC react" alias, U_MSEC, dyna_processor_metadata::REACTIVITY), \
169169
AMP_GAIN100("scp" id, "Sidechain preamp" label, GAIN_AMP_0_DB), \
170170
COMBO("shpm" id, "High-pass filter mode" label, 0, dyna_proc_filter_slope), \
171-
LOG_CONTROL("shpf" id, "High-pass filter frequency" label, U_HZ, dyna_processor_metadata::HPF), \
171+
LOG_CONTROL("shpf" id, "High-pass filter frequency" label, "HPF freq" alias, U_HZ, dyna_processor_metadata::HPF), \
172172
COMBO("slpm" id, "Low-pass filter mode" label, 0, dyna_proc_filter_slope), \
173-
LOG_CONTROL("slpf" id, "Low-pass filter frequency" label, U_HZ, dyna_processor_metadata::LPF)
173+
LOG_CONTROL("slpf" id, "Low-pass filter frequency" label, "LPF freq" alias, U_HZ, dyna_processor_metadata::LPF)
174174

175-
#define DYNA_POINT(idx, on, id, label, level) \
175+
#define DYNA_POINT(idx, on, id, label, alias, level) \
176176
SWITCH("pe" #idx id, "Point enable " #idx label, on), \
177-
LOG_CONTROL_DFL("tl" #idx id, "Threshold " #idx label, "Thresh " #idx label, U_GAIN_AMP, dyna_processor_metadata::THRESHOLD, level), \
178-
LOG_CONTROL_DFL("gl" #idx id, "Gain " #idx label, "Gain " #idx label, U_GAIN_AMP, dyna_processor_metadata::THRESHOLD, level), \
179-
LOG_CONTROL("kn" #idx id, "Knee " #idx label, U_GAIN_AMP, dyna_processor_metadata::KNEE), \
177+
LOG_CONTROL_DFL("tl" #idx id, "Threshold " #idx label, "Thresh " #idx alias, U_GAIN_AMP, dyna_processor_metadata::THRESHOLD, level), \
178+
LOG_CONTROL_DFL("gl" #idx id, "Gain " #idx label, "Gain " #idx alias, U_GAIN_AMP, dyna_processor_metadata::THRESHOLD, level), \
179+
LOG_CONTROL("kn" #idx id, "Knee " #idx label, "Knee " #idx alias, U_GAIN_AMP, dyna_processor_metadata::KNEE), \
180180
SWITCH("ae" #idx id, "Attack enable " #idx label, 0.0f), \
181-
LOG_CONTROL_DFL("al" #idx id, "Attack level " #idx label, "Att lvl " #idx label, U_GAIN_AMP, dyna_processor_metadata::ATTACK_LVL, level), \
182-
LOG_CONTROL("at" #idx id, "Attack time " #idx label, U_MSEC, dyna_processor_metadata::ATTACK_TIME), \
181+
LOG_CONTROL_DFL("al" #idx id, "Attack level " #idx label, "Att lvl " #idx alias, U_GAIN_AMP, dyna_processor_metadata::ATTACK_LVL, level), \
182+
LOG_CONTROL("at" #idx id, "Attack time " #idx label, "Att time " #idx alias, U_MSEC, dyna_processor_metadata::ATTACK_TIME), \
183183
SWITCH("re" #idx id, "Release enable " #idx label, 0.0f), \
184184
LOG_CONTROL_DFL("rl" #idx id, "Release level " #idx label, "Rel lvl " #idx label, U_GAIN_AMP, dyna_processor_metadata::RELEASE_LVL, level), \
185-
LOG_CONTROL("rt" #idx id, "Release time " #idx label, U_MSEC, dyna_processor_metadata::RELEASE_TIME)
186-
187-
#define DYNA_PROC_CHANNEL(id, label) \
188-
LOG_CONTROL("atd" id, "Attack time default" label, U_MSEC, dyna_processor_metadata::ATTACK_TIME), \
189-
LOG_CONTROL("rtd" id, "Release time default" label, U_MSEC, dyna_processor_metadata::RELEASE_TIME), \
190-
DYNA_POINT(0, 1.0f, id, label, GAIN_AMP_M_12_DB), \
191-
DYNA_POINT(1, 0.0f, id, label, GAIN_AMP_M_24_DB), \
192-
DYNA_POINT(2, 0.0f, id, label, GAIN_AMP_M_36_DB), \
193-
DYNA_POINT(3, 0.0f, id, label, GAIN_AMP_M_48_DB), \
185+
LOG_CONTROL("rt" #idx id, "Release time " #idx label, "Rel time " #idx alias, U_MSEC, dyna_processor_metadata::RELEASE_TIME)
186+
187+
#define DYNA_PROC_CHANNEL(id, label, alias) \
188+
LOG_CONTROL("atd" id, "Attack time default" label, "Att time dfl" alias, U_MSEC, dyna_processor_metadata::ATTACK_TIME), \
189+
LOG_CONTROL("rtd" id, "Release time default" label, "Rel time dfl" alias, U_MSEC, dyna_processor_metadata::RELEASE_TIME), \
190+
DYNA_POINT(0, 1.0f, id, label, alias, GAIN_AMP_M_12_DB), \
191+
DYNA_POINT(1, 0.0f, id, label, alias, GAIN_AMP_M_24_DB), \
192+
DYNA_POINT(2, 0.0f, id, label, alias, GAIN_AMP_M_36_DB), \
193+
DYNA_POINT(3, 0.0f, id, label, alias, GAIN_AMP_M_48_DB), \
194194
CONTROL("hold" id, "Hold time" label, U_MSEC, dyna_processor_metadata::HOLD_TIME), \
195-
LOG_CONTROL("llr" id, "Low-level ratio" label, U_NONE, dyna_processor_metadata::RATIO), \
196-
LOG_CONTROL("hlr" id, "High-level ratio" label, U_NONE, dyna_processor_metadata::RATIO), \
197-
LOG_CONTROL("omk" id, "Overall makeup gain" label, U_GAIN_AMP, dyna_processor_metadata::MAKEUP), \
195+
LOG_CONTROL("llr" id, "Low-level ratio" label, "Low ratio" alias, U_NONE, dyna_processor_metadata::RATIO), \
196+
LOG_CONTROL("hlr" id, "High-level ratio" label, "High ratio" alias, U_NONE, dyna_processor_metadata::RATIO), \
197+
LOG_CONTROL("omk" id, "Overall makeup gain" label, "Makeup" alias, U_GAIN_AMP, dyna_processor_metadata::MAKEUP), \
198198
AMP_GAIN10("cdr" id, "Dry gain" label, GAIN_AMP_M_INF_DB), \
199199
AMP_GAIN10("cwt" id, "Wet gain" label, GAIN_AMP_0_DB), \
200200
PERCENTS("cdw" id, "Dry/Wet balance" label, 100.0f, 0.1f), \
@@ -226,7 +226,7 @@ namespace lsp
226226
DYNA_PROC_SHM_LINK_MONO,
227227
DYNA_PROC_COMMON,
228228
DYNA_PROC_SC_MONO_CHANNEL(dyna_proc_sc_type),
229-
DYNA_PROC_CHANNEL("", ""),
229+
DYNA_PROC_CHANNEL("", "", ""),
230230
DYNA_PROC_AUDIO_METER("", "", ""),
231231

232232
PORTS_END
@@ -238,8 +238,8 @@ namespace lsp
238238
DYNA_PROC_SHM_LINK_STEREO,
239239
DYNA_PROC_COMMON,
240240
DYNA_PROC_SPLIT_COMMON,
241-
DYNA_PROC_SC_STEREO_CHANNEL("", "", dyna_proc_sc_type),
242-
DYNA_PROC_CHANNEL("", ""),
241+
DYNA_PROC_SC_STEREO_CHANNEL("", "", "", dyna_proc_sc_type),
242+
DYNA_PROC_CHANNEL("", "", ""),
243243
DYNA_PROC_AUDIO_METER("_l", " Left", " L"),
244244
DYNA_PROC_AUDIO_METER("_r", " Right", " R"),
245245

@@ -251,10 +251,10 @@ namespace lsp
251251
PORTS_STEREO_PLUGIN,
252252
DYNA_PROC_SHM_LINK_STEREO,
253253
DYNA_PROC_LR_COMMON,
254-
DYNA_PROC_SC_STEREO_CHANNEL("_l", " Left", dyna_proc_sc_type),
255-
DYNA_PROC_SC_STEREO_CHANNEL("_r", " Right", dyna_proc_sc_type),
256-
DYNA_PROC_CHANNEL("_l", " Left"),
257-
DYNA_PROC_CHANNEL("_r", " Right"),
254+
DYNA_PROC_SC_STEREO_CHANNEL("_l", " Left", " L", dyna_proc_sc_type),
255+
DYNA_PROC_SC_STEREO_CHANNEL("_r", " Right", " R", dyna_proc_sc_type),
256+
DYNA_PROC_CHANNEL("_l", " Left", " L"),
257+
DYNA_PROC_CHANNEL("_r", " Right", " R"),
258258
DYNA_PROC_AUDIO_METER("_l", " Left", " L"),
259259
DYNA_PROC_AUDIO_METER("_r", " Right", " R"),
260260

@@ -266,10 +266,10 @@ namespace lsp
266266
PORTS_STEREO_PLUGIN,
267267
DYNA_PROC_SHM_LINK_STEREO,
268268
DYNA_PROC_MS_COMMON,
269-
DYNA_PROC_SC_STEREO_CHANNEL("_m", " Mid", dyna_proc_sc_type),
270-
DYNA_PROC_SC_STEREO_CHANNEL("_s", " Side", dyna_proc_sc_type),
271-
DYNA_PROC_CHANNEL("_m", " Mid"),
272-
DYNA_PROC_CHANNEL("_s", " Side"),
269+
DYNA_PROC_SC_STEREO_CHANNEL("_m", " Mid", " M", dyna_proc_sc_type),
270+
DYNA_PROC_SC_STEREO_CHANNEL("_s", " Side", " S", dyna_proc_sc_type),
271+
DYNA_PROC_CHANNEL("_m", " Mid", " M"),
272+
DYNA_PROC_CHANNEL("_s", " Side", " S"),
273273
DYNA_PROC_AUDIO_METER("_m", " Mid", " M"),
274274
DYNA_PROC_AUDIO_METER("_s", " Side", " S"),
275275

@@ -283,7 +283,7 @@ namespace lsp
283283
DYNA_PROC_SHM_LINK_MONO,
284284
DYNA_PROC_COMMON,
285285
DYNA_PROC_SC_MONO_CHANNEL(dyna_proc_extsc_type),
286-
DYNA_PROC_CHANNEL("", ""),
286+
DYNA_PROC_CHANNEL("", "", ""),
287287
DYNA_PROC_AUDIO_METER("", "", ""),
288288

289289
PORTS_END
@@ -296,8 +296,8 @@ namespace lsp
296296
DYNA_PROC_SHM_LINK_STEREO,
297297
DYNA_PROC_COMMON,
298298
DYNA_PROC_SPLIT_COMMON,
299-
DYNA_PROC_SC_STEREO_CHANNEL("", "", dyna_proc_extsc_type),
300-
DYNA_PROC_CHANNEL("", ""),
299+
DYNA_PROC_SC_STEREO_CHANNEL("", "", "", dyna_proc_extsc_type),
300+
DYNA_PROC_CHANNEL("", "", ""),
301301
DYNA_PROC_AUDIO_METER("_l", " Left", " L"),
302302
DYNA_PROC_AUDIO_METER("_r", " Right", " R"),
303303

@@ -310,10 +310,10 @@ namespace lsp
310310
PORTS_STEREO_SIDECHAIN,
311311
DYNA_PROC_SHM_LINK_STEREO,
312312
DYNA_PROC_LR_COMMON,
313-
DYNA_PROC_SC_STEREO_CHANNEL("_l", " Left", dyna_proc_extsc_type),
314-
DYNA_PROC_SC_STEREO_CHANNEL("_r", " Right", dyna_proc_extsc_type),
315-
DYNA_PROC_CHANNEL("_l", " Left"),
316-
DYNA_PROC_CHANNEL("_r", " Right"),
313+
DYNA_PROC_SC_STEREO_CHANNEL("_l", " Left", " L", dyna_proc_extsc_type),
314+
DYNA_PROC_SC_STEREO_CHANNEL("_r", " Right", " R", dyna_proc_extsc_type),
315+
DYNA_PROC_CHANNEL("_l", " Left", " L"),
316+
DYNA_PROC_CHANNEL("_r", " Right", " R"),
317317
DYNA_PROC_AUDIO_METER("_l", " Left", " L"),
318318
DYNA_PROC_AUDIO_METER("_r", " Right", " R"),
319319

@@ -326,10 +326,10 @@ namespace lsp
326326
PORTS_STEREO_SIDECHAIN,
327327
DYNA_PROC_SHM_LINK_STEREO,
328328
DYNA_PROC_MS_COMMON,
329-
DYNA_PROC_SC_STEREO_CHANNEL("_m", " Mid", dyna_proc_extsc_type),
330-
DYNA_PROC_SC_STEREO_CHANNEL("_s", " Side", dyna_proc_extsc_type),
331-
DYNA_PROC_CHANNEL("_m", " Mid"),
332-
DYNA_PROC_CHANNEL("_s", " Side"),
329+
DYNA_PROC_SC_STEREO_CHANNEL("_m", " Mid", " M", dyna_proc_extsc_type),
330+
DYNA_PROC_SC_STEREO_CHANNEL("_s", " Side", " S", dyna_proc_extsc_type),
331+
DYNA_PROC_CHANNEL("_m", " Mid", " M"),
332+
DYNA_PROC_CHANNEL("_s", " Side", " S"),
333333
DYNA_PROC_AUDIO_METER("_m", " Mid", " M"),
334334
DYNA_PROC_AUDIO_METER("_s", " Side", " S"),
335335

0 commit comments

Comments
 (0)