Debian Codegraph @

modules/lsp-plugins-mb-limiter/res/main/ui/plugins/dynamics/limiter/multiband/mono.xml

raw
1 <plugin resizable="true">
2 <ui:eval id="is_sidechain" value="(ex :sc) or (ex :sc_l) or (ex :sc_r)"/>
3 <ui:set id="has_solo" value="
4 :bs_1 or (:bs_2 and :se_1) or (:bs_3 and :se_2) or (:bs_4 and :se_3) or (:bs_5 and :se_4) or (:bs_6 and :se_5) or (:bs_7 and :se_6) or (:bs_8 and :se_7)"/>
5
6 <grid rows="3" cols="5" vspacing="4" hspacing="4">
7 <!-- Row 1: Graph -->
8 <group ui:inject="GraphGroup" ipadding="0" expand="true" fill="true" text="labels.graphs.spectrum">
9 <graph width.min="640" height.min="220" expand="true" fill="true">
10 <origin hpos="-1" vpos="-1" visible="false"/>
11
12 <!-- Additional grid -->
13 <ui:with color="graph_alt_1">
14 <ui:for id="f" first="20" last="90" step="10">
15 <marker v="${:f}"/>
16 <marker v="${:f*10}"/>
17 <marker v="${:f*100}"/>
18 </ui:for>
19 <marker v="20000"/>
20 <ui:with ox="1" oy="0">
21 <marker v="+36 db"/>
22 <marker v="+24 db"/>
23 <marker v="+12 db"/>
24 <marker v="-12 db"/>
25 <marker v="-36 db"/>
26 <marker v="-60 db"/>
27
28 <ui:for id="g" first="-42" last="18" step="12">
29 <marker v="${g} db" visibility=":zoom le -9 db"/>
30 </ui:for>
31 <ui:for id="g" first="-21" last="9" step="6">
32 <marker v="${g} db" visibility=":zoom le -15 db"/>
33 </ui:for>
34 </ui:with>
35 </ui:with>
36
37 <!-- Secondary grid -->
38 <ui:with color="graph_sec">
39 <marker v="100"/>
40 <marker v="1000"/>
41 <marker v="10000"/>
42 <marker value="0 db" ox="1" oy="0"/>
43 <marker value="-24 db" ox="1" oy="0"/>
44 <marker value="-48 db" ox="1" oy="0"/>
45 </ui:with>
46
47 <!-- Piano keys -->
48 <embed oy="4" start.x="midi_freq_start(12, 127)" start.y="20" end.x="midi_freq_end(12, 127)" end.y="44" valign="1" alpha="0" visibility=":_ui_graph_piano_layout">
49 <piano natural="false" note.min="12" note.max="127" height="24" editable="false" selectable="false" border="0"/>
50 </embed>
51
52 <!-- Octave text -->
53 <ui:with ox="0" oy="4" y="44" halign="1" valign="1" pgroup="0" priority="10" visibility=":_ui_graph_piano_layout" pad.b="2">
54 <ui:for id="octave" first="0" last="9">
55 <text x="midi_freq(12 * ${:octave + 1})" text="lists.notes.fmt.c" text:octave="${octave}" valign="1" halign="0"/>
56 </ui:for>
57 </ui:with>
58
59 <!-- Band markers -->
60 <ui:with
61 width="2"
62 fill="0.5"
63 color.a="0.2"
64 hcolor.a="0.1"
65 lcolor.a="0.8"
66 hlcolor.a="0.6"
67 rcolor.a="0.8"
68 hrcolor.a="0.6"
69 color="graph_marker_cycle"
70 hcolor="graph_marker_cycle"
71 lcolor="graph_marker_cycle"
72 hlcolor="graph_marker_cycle"
73 rcolor="graph_marker_cycle"
74 hrcolor="graph_marker_cycle">
75
76 <marker v="10" color.hue="0" hcolor.hue="0" rborder="16" rcolor.hue="0" hrborder="16" hrcolor.hue="0"/>
77 <marker id="bfe_1" color.hue="0" hcolor.hue="0" lborder="16" lcolor.hue="0" hlborder="16" hlcolor.hue="0"/>
78 <ui:for id="i" first="1" count="7">
79 <marker id="sf_${i}" ui:id="split_marker_${i}" visibility=":se_${i}" editable="true" color.hue="${:i * 0.125}" hcolor.hue="${:i * 0.125}" rborder="16" rcolor.hue="${:i * 0.125}" hrborder="16" hrcolor.hue="${:i * 0.125}" pointer="hsize"/>
80 <marker id="bfe_${:i+1}" visibility=":se_${i}" color.hue="${:i * 0.125}" hcolor.hue="${:i * 0.125}" lborder="16" lcolor.hue="${:i * 0.125}" hlborder="16" hlcolor.hue="${:i * 0.125}"/>
81 </ui:for>
82 </ui:with>
83
84 <!-- Meshes -->
85 <mesh id="bfc_1" width="2" fill="true" smooth="true" color="graph_mesh_cycle" color.hue="0" fcolor="graph_mesh_cycle" fcolor.hue="0" fcolor.a="0.9" visibility=":flt"/>
86 <ui:for id="i" first="1" count="7">
87 <mesh id="bfc_${:i+1}" width="2" fill="true" smooth="true" color="graph_mesh_cycle" color.hue="${:i * 0.125}" fcolor="graph_mesh_cycle" fcolor.hue="${:i * 0.125}" fcolor.a="0.9" color.a="0.6" visibility=":flt and :se_${:i}"/>
88 </ui:for>
89
90 <mesh id="ifg" oy=":_ui_zoomable_spectrum_graph ? 1 : 3" width="0" color="mono_in" color.a="0.8" fcolor.a="0.8" fill="true" fcolor="left_in" visibility=":ife"/>
91
92 <mesh id="ofg" oy=":_ui_zoomable_spectrum_graph ? 1 : 3" width="2" color="mono" visibility=":ofe"/>
93
94 <mesh id="ag" width="3" color="graph_mesh" smooth="true"/>
95
96 <!-- Axis -->
97 <axis min="10" max="24000" angle="0.0" log="true" visibility="false"/>
98 <axis min="-72 db / (:zoom ** 3)" max="48 db * (:zoom ** 2)" color="graph_prim" angle="0.5" log="true"/>
99 <axis min="-1" max="1" visibility="false" angle="0.5"/>
100 <axis min="-72 db" max="48 db" color="graph_prim" angle="0.5" log="true"/>
101 <axis min="0" max=":_a_scaled_height" visibility="false" angle="0.5"/>
102
103 <!-- Text -->
104 <ui:with ox="0" oy="2" y="0" halign="1" valign="1">
105 <text x="10" text="graph.units.hz"/>
106 <text x="20" text="20"/>
107 <text x="30" text="30"/>
108 <text x="50" text="50"/>
109 <text x="100" text="100"/>
110 <text x="200" text="200"/>
111 <text x="300" text="300"/>
112 <text x="500" text="500"/>
113 <text x="1000" text="graph.values.x_k" text:value="1"/>
114 <text x="2000" text="graph.values.x_k" text:value="2"/>
115 <text x="3000" text="graph.values.x_k" text:value="3"/>
116 <text x="5000" text="graph.values.x_k" text:value="5"/>
117 <text x="10000" text="graph.values.x_k" text:value="10"/>
118 <text x="20000" text="graph.values.x_k" text:value="20"/>
119 </ui:with>
120
121 <ui:with x="10" halign="1" valign="1">
122 <ui:for id="g" first="-60" last="48" step="12">
123 <text y="${g} db" text="${g}"/>
124 </ui:for>
125 <text y="0 db" ox="0" oy="2" text="graph.units.db" valign="-1"/>
126 <ui:for id="g" first="-42" last="18" step="12">
127 <text y="${g} db" text="${g}" visibility=":zoom le -9 db"/>
128 </ui:for>
129 <ui:for id="g" first="-21" last="9" step="6">
130 <text y="${g} db" text="${g}" visibility=":zoom le -15 db"/>
131 </ui:for>
132 </ui:with>
133
134 <ui:for id="i" first="1" count="7">
135 <ui:with ox="0" oy="2" y="1" valign="-1" color="graph_marker_cycle" visibility="false" pad.h="4" font.bold="true">
136 <text ui:id="split_note_${i}" x=":sf_${i}" halign="(:sf_${i} lt 500) ? 1 : -1" text.halign="(:sf_${i} lt 500) ? -1 : 1" color.hue="${:i * 0.125}"/>
137 </ui:with>
138 </ui:for>
139 </graph>
140 </group>
141
142 <!-- Row 1: zoom -->
143 <cell rows="2">
144 <vbox vexpand="true" bg.color="bg_schema">
145 <label font.name="lsp-icons" font.size="12" font.antialias="true" text="icons.main.zoom" color="text_icon" pad.b="4" pad.t="4"/>
146 <fader id="zoom" angle="1" vexpand="true" bg.inherit="true" flat="true"/>
147 <value id="zoom" width="40"/>
148 </vbox>
149 </cell>
150 <!-- Row 1: meter in -->
151 <cell rows="2">
152 <vbox vexpand="true" bg.color="bg_schema">
153 <label text="labels.chan.in" pad.b="3" pad.t="3"/>
154 <ledmeter vexpand="true" angle="1">
155 <ledchannel id="ilm" min="-72 db" max="12 db" log="true" type="rms_peak" peak.visibility="true" value.color="mono_in"/>
156 </ledmeter>
157 </vbox>
158 </cell>
159
160 <!-- Row 1: meter out -->
161 <cell rows="2">
162 <vbox vexpand="true" bg.color="bg_schema">
163 <label text="labels.chan.out" pad.b="3" pad.t="3"/>
164 <ledmeter vexpand="true" angle="1">
165 <ledchannel id="olm" min="-72 db" max="12 db" log="true" type="rms_peak" peak.visibility="true" value.color="mono"/>
166 </ledmeter>
167 </vbox>
168 </cell>
169
170 <!-- Row 1: signal -->
171 <cell rows="2">
172 <vbox spacing="4">
173 <group text="groups.signal" expand="true">
174 <grid rows="4" cols="2" hspacing="4">
175 <knob id="g_in" pad.r="4"/>
176 <vbox vfill="false">
177 <label text="labels.input" halign="0"/>
178 <value id="g_in" sline="true" halign="0"/>
179 </vbox>
180
181 <knob id="g_out" pad.r="4"/>
182 <vbox vfill="false">
183 <label text="labels.output" expand="true" halign="0"/>
184 <value id="g_out" width.min="50" sline="true" halign="0"/>
185 </vbox>
186 </grid>
187 </group>
188
189 <!-- Analysis -->
190 <group text="groups.analysis" expand="true" ipadding="0">
191 <vbox>
192 <grid rows="2" cols="2">
193 <align halign="-1" pad.t="4" pad.l="13">
194 <label text="labels.fft.fft"/>
195 </align>
196 <hbox spacing="4" pad.v="4" pad.r="13" hfill="true" width.min="50">
197 <button id="ife" text="labels.chan.in" width.min="30" hfill="true" ui:inject="Button_mono_8"/>
198 <button id="ofe" text="labels.chan.out" width.min="30" hfill="true" ui:inject="Button_mono_8"/>
199 </hbox>
200
201 <cell cols="2"><hsep pad.v="2" bg.color="bg" vreduce="true"/></cell>
202 <cell cols="2"><hsep pad.v="2" bg.color="bg" vreduce="true"/></cell>
203 </grid>
204
205 <grid rows="2" cols="2" transpose="false" expand="true" hspacing="4">
206 <knob id="react" size="20" pad.r="4" pad.l="6"/>
207 <vbox vfill="false" pad.r="6">
208 <label text="labels.metering.reactivity" halign="0"/>
209 <value id="react" width.min="50" sline="true" halign="0"/>
210 </vbox>
211
212 <knob id="shift" size="20" pad.r="4" pad.l="6"/>
213 <vbox vfill="false" pad.r="6">
214 <label text="labels.metering.shift" halign="0"/>
215 <value id="shift" width.min="50" sline="true" halign="0"/>
216 </vbox>
217 </grid>
218 </vbox>
219 </group>
220 </vbox>
221 </cell>
222
223 <!-- Row 2: bottom line -->
224 <hbox spacing="4" vreduce="true" bg.color="bg_schema" pad.h="6">
225 <label text="labels.mode:"/>
226 <combo id="mode" pad.r="4"/>
227 <label text="labels.sc_boost:"/>
228 <combo id="envb" pad.r="4"/>
229 <label text="labels.oversampling:"/>
230 <combo id="ovs" pad.r="4" pad.v="4"/>
231 <label text="labels.dither:"/>
232 <combo id="dither" pad.r="4" pad.v="4"/>
233 <button ui:id="premix_trigger" id="showpmx" text="labels.premix" size="22" />
234 <button id="flt" text="labels.filters" size="22" ui:inject="Button_cyan"/>
235
236 <void hexpand="true" hfill="true"/>
237
238 <vsep pad.h="2" bg.color="bg" reduce="true"/>
239 <combo id="extsc" pad.l="2"/>
240 <shmlink id="link" />
241 </hbox>
242
243 <!-- Row 3: limiter bands -->
244 <cell cols="4">
245 <group text="labels.limiter_bands" ipadding="0">
246 <grid rows="27" cols="16">
247 <!-- Row 1 -->
248 <cell rows="3" cols="2">
249 <label text="labels.controls"/>
250 </cell>
251 <cell rows="3">
252 <label text="labels.range"/>
253 </cell>
254 <cell rows="27">
255 <vsep pad.h="2" bg.color="bg" hreduce="true"/>
256 </cell>
257 <cell cols="4">
258 <label text="labels.alr" pad.v="4"/>
259 </cell>
260 <cell rows="27">
261 <vsep pad.h="2" bg.color="bg" hreduce="true"/>
262 </cell>
263 <cell cols="7">
264 <label text="labels.plug.limiter"/>
265 </cell>
266
267 <!-- Row 2 -->
268 <cell cols="4">
269 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
270 </cell>
271 <cell cols="7">
272 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
273 </cell>
274
275 <!-- Row 3 -->
276 <ui:with width.min="56" pad.v="4" pad.r="4">
277 <label text="labels.attack" pad.l="4"/>
278 <label text="labels.release"/>
279 <label text="labels.knee"/>
280 <label text="labels.smooth"/>
281
282 <label text="labels.preamp" pad.l="4"/>
283 <label text="labels.mode"/>
284 <label text="labels.thresh_old"/>
285 <label text="labels.attack"/>
286 <label text="labels.release"/>
287 <label text="labels.makeup"/>
288 <label text="labels.reduction"/>
289 </ui:with>
290
291 <ui:for id="i" first="1" count="8">
292
293 <ui:set id="act_ch" value="(!:bm_${:i} and ((${has_solo}) ? :bs_${:i} : true) and (ex :se_${:i-1} ? (:se_${:i-1}) : true ))"/>
294 <!-- Row 1 -->
295 <cell cols="3">
296 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
297 </cell>
298 <cell cols="4">
299 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
300 </cell>
301 <cell cols="8">
302 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
303 </cell>
304
305 <ui:with bg.bright="(!${act_ch}) ? :const_bg_darken : 1.0" bright="(!${act_ch}) ? 0.75 : 1.0">
306 <!-- Row 2 -->
307 <cell rows="2" cols="2">
308 <grid rows="2" cols="3" vfill="false" hreduce="true" pad.v="4" pad.h="6" spacing="4">
309 <cell rows="2">
310 <ui:if test=":i ile 1">
311 <button value="1" editable="false" pointer="arrow" text="labels.chan.ON_num_id" text:id="1" width="48" vfill="true" ui:inject="Button_ne_Cycle"/>
312 </ui:if>
313 <ui:if test=":i igt 1">
314 <button
315 id="se_${:i-1}"
316 text="labels.chan.ON_num_id" text:id="${i}"
317 ui:inject="Button_Cycle"
318 width="48"
319 vfill="true"
320 down.color.hue="${(:i-1) * 0.125}"
321 down.hover.color.hue="${(:i-1) * 0.125}"
322 text.down.color.hue="${(:i-1) * 0.125}"
323 text.down.hover.color.hue="${(:i-1) * 0.125}"
324 border.down.color.hue="${(:i-1) * 0.125}"
325 border.down.hover.color.hue="${(:i-1) * 0.125}"/>
326 </ui:if>
327 </cell>
328 <ui:with fill="true" height="20">
329 <vbox pad.b="1">
330 <button id="on_${i}" text="labels.act_ive" ui:inject="Button_cyan_8" visibility="(${act_ch})"/>
331 <button id="on_${i}" text="labels.act_ive" ui:inject="Button_inactive_8" visibility="(!${act_ch})"/>
332 </vbox>
333 <button id="bs_${i}" text="labels.chan.S_olo" ui:inject="Button_green_8"/>
334 <vbox pad.b="1">
335 <button id="alr_${i}" text="labels.alr" ui:inject="Button_yellow_8" visibility="(${act_ch})"/>
336 <button id="alr_${i}" text="labels.alr" ui:inject="Button_inactive_8" visibility="(!${act_ch})"/>
337 </vbox>
338 <button id="bm_${i}" text="labels.chan.M_ute" ui:inject="Button_red_8"/>
339 </ui:with>
340 </grid>
341 </cell>
342
343 <cell rows="2" pad.h="6">
344 <hbox hfill="false">
345 <ui:if test=":i igt 1">
346 <knob id="sf_${:i-1}" pad.r="4" size="22" scolor="(!${act_ch}) ? 'cycle_inactive' : 'cycle'" scolor.hue="${(:i-1) * 0.125}"/>
347 </ui:if>
348 <vbox vfill="false" width.min="30">
349 <ui:if test=":i ile 1">
350 <label text="0"/>
351 <value id="bfe_${i}" detailed="false"/>
352 </ui:if>
353 <ui:if test=":i igt 1">
354 <value id="sf_${:i-1}" detailed="false"/>
355 <value id="bfe_${i}" detailed="false"/>
356 </ui:if>
357 </vbox>
358 </hbox>
359 </cell>
360 <ui:with pad.t="4" size="16">
361 <knob id="aat_${i}" scolor="(!${act_ch}) ? 'cycle_inactive' : 'attack'"/>
362 <knob id="art_${i}" scolor="(!${act_ch}) ? 'cycle_inactive' : 'release_1'"/>
363 <knob id="akn_${i}" scolor="(!${act_ch}) ? 'cycle_inactive' : 'kscale'"/>
364 <knob id="asm_${i}" scolor="(!${act_ch}) ? 'cycle_inactive' : 'kscale'"/>
365
366 <knob id="bpa_${i}" scolor="(!${act_ch}) ? 'cycle_inactive' : 'kscale'"/>
367 </ui:with>
368 <cell rows="2">
369 <vbox fill="false" pad.h="6" pad.v="4">
370 <combo id="lm_${i}" pad.b="4"/>
371 <button id="gb_${i}" height="19" hfill="true" text="labels.boost_" ui:inject="Button_inactive_8" visibility="(!${act_ch})"/>
372 <button id="gb_${i}" height="19" hfill="true" text="labels.boost_" ui:inject="Button_violet_8" visibility="(${act_ch})"/>
373 </vbox>
374 </cell>
375 <ui:with pad.t="4" size="16">
376 <hbox>
377 <knob id="th_${i}" ui:inject="Knob_meter_threshold" meter.max=":ig_${i}" visibility="${act_ch}"/>
378 <knob id="th_${i}" scolor="cycle_inactive" visibility="!${act_ch}"/>
379 </hbox>
380 <knob id="at_${i}" scolor="(!${act_ch}) ? 'cycle_inactive' : 'attack'"/>
381 <knob id="rt_${i}" scolor="(!${act_ch}) ? 'cycle_inactive' : 'release'"/>
382 <knob id="bmk_${i}" scolor="(!${act_ch}) ? 'cycle_inactive' : 'kscale'"/>
383 </ui:with>
384 <cell rows="2" pad.r="4" pad.v="4" hexpand="true">
385 <ledmeter height.min="5">
386 <ledchannel id="rlm_${i}" min="-48 db" max="0 db" log="true" balance="0 db" balance.visibility="true" type="peak" peak.visibility="true" value.color="${act_ch} ? 'blue' : 'cycle_inactive'" balance.color="${act_ch} ? 'yellow' : 'cycle_inactive'"/>
387 </ledmeter>
388 </cell>
389
390 <ui:with pad.h="4">
391 <value id="aat_${i}" sline="true"/>
392 <value id="art_${i}" sline="true"/>
393 <value id="akn_${i}" sline="true"/>
394 <value id="asm_${i}" sline="true"/>
395 <value id="bpa_${i}" sline="true"/>
396 <value id="th_${i}" sline="true"/>
397 <value id="at_${i}" sline="true"/>
398 <value id="rt_${i}" sline="true"/>
399 <value id="bmk_${i}" sline="true"/>
400 </ui:with>
401 </ui:with>
402 </ui:for>
403
404 </grid>
405 </group>
406 </cell>
407 <!-- Output Limiter -->
408 <cell>
409 <ui:set id="act_alr" value=":on and :alr"/>
410 <group text="labels.output_limiter" ipadding="0">
411 <grid rows="14" cols="4" spacing="0">
412
413 <cell cols="4" reduce="true">
414 <button id="on" hfill="true" height="18" pad.v="4" pad.h="6" text="labels.chan.on" ui:inject="Button_cyan" bg.bright=":on ? 1.0 : :const_bg_darken" bright=":on ? 1.0: 0.75"/>
415 </cell>
416 <cell cols="4">
417 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
418 </cell>
419 <cell cols="2" reduce="true">
420 <button id="alr" hfill="true" height="18" pad.v="4" pad.h="6" text="labels.alr" ui:inject="Button_yellow" bg.bright="${act_alr} ? 1.0 : :const_bg_darken" bright="${act_alr} ? 1.0: 0.75"/>
421 </cell>
422 <cell rows="13">
423 <void pad.h="2" bg.color="bg" hreduce="true"/>
424 </cell>
425 <cell rows="12">
426 <vbox>
427 <ui:with bg.bright=":on ? 1.0 : :const_bg_darken" bright=":on ? 1.0: 0.75">
428 <label text="labels.gain" pad.v="3"/>
429 <ledmeter height.min="192" angle="1" vexpand="true">
430 <ledchannel id="rlm" min="-48 db" max="0 db" log="true" balance="0 db" balance.visibility="true" type="peak" peak.visibility="true" value.color=":on ? 'blue' : 'cycle_inactive'" balance.color=":on ? 'yellow' : 'cycle_inactive'"/>
431 </ledmeter>
432 </ui:with>
433 </vbox>
434 </cell>
435 <ui:with bg.bright="${act_alr} ? 1.0 : :const_bg_darken" bright="${act_alr} ? 1.0: 0.75">
436 <knob id="aat" scolor="${act_alr} ? 'attack' : 'cycle_inactive'" pad.l="6" pad.r="4"/>
437 <vbox vfill="false" pad.r="6">
438 <label text="labels.attack" halign="0"/>
439 <value id="aat" sline="true" halign="0"/>
440 </vbox>
441 <knob id="art" scolor="${act_alr} ? 'release' : 'cycle_inactive'" pad.l="6" pad.r="4"/>
442 <vbox vfill="false" pad.r="6">
443 <label text="labels.release" halign="0"/>
444 <value id="art" sline="true" halign="0"/>
445 </vbox>
446 <knob id="akn" scolor="${act_alr} ? 'kscale' : 'cycle_inactive'" pad.l="6" pad.r="4"/>
447 <vbox vfill="false" pad.r="6">
448 <label text="labels.knee" halign="0"/>
449 <value id="akn" sline="true" halign="0"/>
450 </vbox>
451 <knob id="asm" scolor="${act_alr} ? 'kscale' : 'cycle_inactive'" pad.l="6" pad.r="4"/>
452 <vbox vfill="false" pad.r="6">
453 <label text="labels.smooth" halign="0"/>
454 <value id="asm" sline="true" halign="0"/>
455 </vbox>
456 </ui:with>
457
458 <cell cols="2">
459 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
460 </cell>
461
462 <ui:with bg.bright=":on ? 1.0 : :const_bg_darken" bright=":on ? 1.0: 0.75">
463 <knob id="lk" scolor=":on ? 'kscale' : 'cycle_inactive'" pad.l="6" pad.r="4"/>
464 <vbox vfill="false" pad.r="6">
465 <label text="labels.sc.lookahead" halign="0"/>
466 <value id="lk" sline="true" halign="0"/>
467 </vbox>
468 </ui:with>
469
470 <cell cols="2">
471 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
472 </cell>
473
474 <ui:with bg.bright=":on ? 1.0 : :const_bg_darken" bright=":on ? 1.0: 0.75">
475 <cell cols="2" vreduce="true">
476 <vbox vfill="false" pad.v="4" pad.h="6">
477 <combo id="lm" pad.b="4"/>
478 <button id="gb" hfill="true" height="18" text="labels.boost_" ui:inject="Button_violet" visibility=":on"/>
479 <button id="gb" hfill="true" height="18" text="labels.boost_" ui:inject="Button_inactive" visibility="!:on"/>
480 </vbox>
481 </cell>
482
483 <vbox pad.l="6" pad.r="4">
484 <knob id="th" meter.max=":ig" ui:inject="Knob_meter_threshold" visibility=":on"/>
485 <knob id="th" scolor="cycle_inactive" visibility="!:on"/>
486 </vbox>
487 <vbox vfill="false" pad.r="6">
488 <label text="labels.threshold" scolor="threshold" halign="0"/>
489 <value id="th" sline="true" halign="0"/>
490 </vbox>
491 <knob id="at" scolor=":on ? 'attack' : 'cycle_inactive'" pad.l="6" pad.r="4"/>
492 <vbox vfill="false" pad.r="6">
493 <label text="labels.attack" halign="0"/>
494 <value id="at" sline="true" halign="0"/>
495 </vbox>
496 <knob id="rt" scolor=":on ? 'release' : 'cycle_inactive'" pad.l="6" pad.r="4"/>
497 <vbox vfill="false" pad.r="6">
498 <label text="labels.release" halign="0"/>
499 <value id="rt" sline="true" halign="0"/>
500 </vbox>
501 </ui:with>
502 </grid>
503 </group>
504 </cell>
505 </grid>
506
507 <!-- Premix overlay -->
508 <overlay id="showpmx" trigger="premix_trigger" hpos="1" vpos="1" halign="-1" valign="1" ipadding.t="4">
509 <group text="groups.premix" vexpand="false" ipadding="0">
510 <grid rows="3" cols="${(:is_sidechain) ? 8 : 5}" spacing="0" bg.color="bg_schema" transpose="true">
511 <ui:if test=":is_sidechain">
512 <label text="labels.premix.in_to_sc" pad.h="6" pad.v="4" />
513 <knob id="in2sc" />
514 <value id="in2sc" pad.h="6" pad.v="4" />
515 </ui:if>
516
517 <label text="labels.premix.in_to_link" pad.h="6" pad.v="4" />
518 <knob id="in2lk" />
519 <value id="in2lk" />
520
521 <cell rows="3"><vsep pad.h="2" bg.color="bg" reduce="true" /></cell>
522
523 <ui:if test=":is_sidechain">
524 <label text="labels.premix.sc_to_in" pad.h="6" pad.v="4" />
525 <knob id="sc2in" />
526 <value id="sc2in" pad.h="6" pad.v="4" />
527
528 <label text="labels.premix.sc_to_link" pad.h="6" pad.v="4" />
529 <knob id="sc2lk" />
530 <value id="sc2lk" pad.h="6" pad.v="4" />
531
532 <cell rows="3"><vsep pad.h="2" bg.color="bg" reduce="true" /></cell>
533 </ui:if>
534
535 <label text="labels.premix.link_to_in" pad.h="6" pad.v="4" />
536 <knob id="lk2in" />
537 <value id="lk2in" pad.h="6" pad.v="4" />
538
539 <label text="labels.premix.link_to_sc" pad.h="6" pad.v="4" />
540 <knob id="lk2sc" />
541 <value id="lk2sc" pad.h="6" pad.v="4" />
542 </grid>
543 </group>
544 </overlay>
545 </plugin>