Debian Codegraph @

modules/lsp-plugins-mb-limiter/res/main/ui/plugins/dynamics/limiter/multiband/stereo.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_l" oy=":_ui_zoomable_spectrum_graph ? 1 : 3" width="0" color="left_in" color.a="0.8" fcolor.a="0.8" fill="true" fcolor="left_in" visibility=":ife_l"/>
91 <mesh id="ifg_r" oy=":_ui_zoomable_spectrum_graph ? 1 : 3" width="0" color="right_in" color.a="0.8" fcolor.a="0.8" fill="true" fcolor="right_in" visibility=":ife_r"/>
92 <mesh id="ofg_l" oy=":_ui_zoomable_spectrum_graph ? 1 : 3" width="2" color="left" visibility=":ofe_l"/>
93 <mesh id="ofg_r" oy=":_ui_zoomable_spectrum_graph ? 1 : 3" width="2" color="right" visibility=":ofe_r"/>
94
95 <mesh id="ag_l" width="3" color="left" smooth="true"/>
96 <mesh id="ag_r" width="3" color="right" smooth="true"/>
97
98 <!-- Axis -->
99 <axis min="10" max="24000" angle="0.0" log="true" visibility="false"/>
100 <axis min="-72 db / (:zoom ** 3)" max="48 db * (:zoom ** 2)" color="graph_prim" angle="0.5" log="true"/>
101 <axis min="-1" max="1" visibility="false" angle="0.5"/>
102 <axis min="-72 db" max="48 db" color="graph_prim" angle="0.5" log="true"/>
103 <axis min="0" max=":_a_scaled_height" visibility="false" angle="0.5"/>
104
105 <!-- Text -->
106 <ui:with ox="0" oy="2" y="0" halign="1" valign="1">
107 <text x="10" text="graph.units.hz"/>
108 <text x="20" text="20"/>
109 <text x="30" text="30"/>
110 <text x="50" text="50"/>
111 <text x="100" text="100"/>
112 <text x="200" text="200"/>
113 <text x="300" text="300"/>
114 <text x="500" text="500"/>
115 <text x="1000" text="graph.values.x_k" text:value="1"/>
116 <text x="2000" text="graph.values.x_k" text:value="2"/>
117 <text x="3000" text="graph.values.x_k" text:value="3"/>
118 <text x="5000" text="graph.values.x_k" text:value="5"/>
119 <text x="10000" text="graph.values.x_k" text:value="10"/>
120 <text x="20000" text="graph.values.x_k" text:value="20"/>
121 </ui:with>
122
123 <ui:with x="10" halign="1" valign="1">
124 <ui:for id="g" first="-60" last="48" step="12">
125 <text y="${g} db" text="${g}"/>
126 </ui:for>
127 <text y="0 db" ox="0" oy="2" text="graph.units.db" valign="-1"/>
128 <ui:for id="g" first="-42" last="18" step="12">
129 <text y="${g} db" text="${g}" visibility=":zoom le -9 db"/>
130 </ui:for>
131 <ui:for id="g" first="-21" last="9" step="6">
132 <text y="${g} db" text="${g}" visibility=":zoom le -15 db"/>
133 </ui:for>
134 </ui:with>
135
136 <ui:for id="i" first="1" count="7">
137 <ui:with ox="0" oy="2" y="1" valign="-1" color="graph_marker_cycle" visibility="false" pad.h="4" font.bold="true">
138 <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}"/>
139 </ui:with>
140 </ui:for>
141 </graph>
142 </group>
143
144 <!-- Row 1: zoom -->
145 <cell rows="2">
146 <vbox vexpand="true" bg.color="bg_schema">
147 <label font.name="lsp-icons" font.size="12" font.antialias="true" text="icons.main.zoom" color="text_icon" pad.b="4" pad.t="4"/>
148 <fader id="zoom" angle="1" vexpand="true" bg.inherit="true" flat="true"/>
149 <value id="zoom" width="40"/>
150 </vbox>
151 </cell>
152 <!-- Row 1: meter in -->
153 <cell rows="2">
154 <vbox vexpand="true" bg.color="bg_schema">
155 <label text="labels.chan.in" pad.b="3" pad.t="3"/>
156 <ledmeter vexpand="true" angle="1">
157 <ledchannel id="ilm_l" min="-72 db" max="12 db" log="true" type="rms_peak" peak.visibility="true" value.color="left_in"/>
158 <ledchannel id="ilm_r" min="-72 db" max="12 db" log="true" type="rms_peak" peak.visibility="true" value.color="right_in"/>
159 </ledmeter>
160 </vbox>
161 </cell>
162
163 <!-- Row 1: meter out -->
164 <cell rows="2">
165 <vbox vexpand="true" bg.color="bg_schema">
166 <label text="labels.chan.out" pad.b="3" pad.t="3"/>
167 <ledmeter vexpand="true" angle="1">
168 <ledchannel id="olm_l" min="-72 db" max="12 db" log="true" type="rms_peak" peak.visibility="true" value.color="left"/>
169 <ledchannel id="olm_r" min="-72 db" max="12 db" log="true" type="rms_peak" peak.visibility="true" value.color="right"/>
170 </ledmeter>
171 </vbox>
172 </cell>
173
174 <!-- Row 1: signal -->
175 <cell rows="2">
176 <vbox spacing="4">
177 <group text="groups.signal" expand="true">
178 <grid rows="4" cols="2" hspacing="4">
179 <knob id="g_in" pad.r="4"/>
180 <vbox vfill="false">
181 <label text="labels.input" halign="0"/>
182 <value id="g_in" sline="true" halign="0"/>
183 </vbox>
184
185 <knob id="g_out" pad.r="4"/>
186 <vbox vfill="false">
187 <label text="labels.output" expand="true" halign="0"/>
188 <value id="g_out" width.min="50" sline="true" halign="0"/>
189 </vbox>
190 </grid>
191 </group>
192
193 <!-- Analysis -->
194 <group text="groups.analysis" expand="true" ipadding="0">
195 <vbox>
196 <grid rows="4" cols="2">
197 <align halign="-1" pad.t="4" pad.l="13">
198 <label text="labels.fft.fft_in"/>
199 </align>
200 <hbox spacing="4" pad.v="4" pad.r="13">
201 <button id="ife_l" text="labels.chan.L_eft" hfill="true" ui:inject="Button_left_8"/>
202 <button id="ife_r" text="labels.chan.R_ight" hfill="true" ui:inject="Button_right_8"/>
203 </hbox>
204
205 <cell cols="2"><hsep pad.v="2" bg.color="bg" vreduce="true"/></cell>
206
207 <align halign="-1" pad.t="4" pad.l="13">
208 <label text="labels.fft.fft_out" halign="0"/>
209 </align>
210 <hbox spacing="4" pad.v="4" pad.r="13">
211 <button id="ofe_l" text="labels.chan.L_eft" hfill="true" ui:inject="Button_left_8"/>
212 <button id="ofe_r" text="labels.chan.R_ight" hfill="true" ui:inject="Button_right_8"/>
213 </hbox>
214
215 <cell cols="2"><hsep pad.v="2" bg.color="bg" vreduce="true"/></cell>
216 </grid>
217
218 <grid rows="2" cols="2" transpose="false" expand="true" hspacing="4">
219 <knob id="react" size="20" pad.r="4" pad.l="6"/>
220 <vbox vfill="false" pad.r="6">
221 <label text="labels.metering.reactivity" halign="0"/>
222 <value id="react" width.min="50" sline="true" halign="0"/>
223 </vbox>
224
225 <knob id="shift" size="20" pad.r="4" pad.l="6"/>
226 <vbox vfill="false" pad.r="6">
227 <label text="labels.metering.shift" halign="0"/>
228 <value id="shift" width.min="50" sline="true" halign="0"/>
229 </vbox>
230 </grid>
231 </vbox>
232 </group>
233 </vbox>
234 </cell>
235
236 <!-- Row 2: bottom line -->
237 <hbox spacing="4" vreduce="true" bg.color="bg_schema" pad.h="6">
238 <label text="labels.mode:"/>
239 <combo id="mode" pad.r="4"/>
240 <label text="labels.sc_boost:"/>
241 <combo id="envb" pad.r="4"/>
242 <label text="labels.oversampling:"/>
243 <combo id="ovs" pad.r="4" pad.v="4"/>
244 <label text="labels.dither:"/>
245 <combo id="dither" pad.r="4" pad.v="4"/>
246 <button ui:id="premix_trigger" id="showpmx" text="labels.premix" size="22" />
247 <button id="flt" text="labels.filters" size="22" ui:inject="Button_cyan"/>
248
249 <void hexpand="true" hfill="true"/>
250
251 <vsep pad.h="2" bg.color="bg" reduce="true"/>
252 <combo id="extsc" pad.l="2"/>
253 <shmlink id="link" />
254 </hbox>
255
256 <!-- Row 3: limiter bands -->
257 <cell cols="4">
258 <group text="labels.limiter_bands" ipadding="0">
259 <grid rows="27" cols="17">
260 <!-- Row 1 -->
261 <cell rows="3" cols="2">
262 <label text="labels.controls"/>
263 </cell>
264 <cell rows="3">
265 <label text="labels.range"/>
266 </cell>
267 <cell rows="27">
268 <vsep pad.h="2" bg.color="bg" hreduce="true"/>
269 </cell>
270 <cell cols="4">
271 <label text="labels.alr" pad.v="4"/>
272 </cell>
273 <cell rows="27">
274 <vsep pad.h="2" bg.color="bg" hreduce="true"/>
275 </cell>
276 <cell cols="8">
277 <label text="labels.plug.limiter"/>
278 </cell>
279
280 <!-- Row 2 -->
281 <cell cols="4">
282 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
283 </cell>
284 <cell cols="8">
285 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
286 </cell>
287
288 <!-- Row 3 -->
289 <ui:with width.min="56" pad.v="4" pad.r="4">
290 <label text="labels.attack" pad.l="4"/>
291 <label text="labels.release"/>
292 <label text="labels.knee"/>
293 <label text="labels.smooth"/>
294
295 <label text="labels.preamp" pad.l="4"/>
296 <label text="labels.mode"/>
297 <label text="labels.thresh_old"/>
298 <label text="labels.attack"/>
299 <label text="labels.release"/>
300 <label text="labels.stereo_link"/>
301 <label text="labels.makeup"/>
302 <label text="labels.reduction"/>
303 </ui:with>
304
305 <ui:for id="i" first="1" count="8">
306
307 <ui:set id="act_ch" value="(!:bm_${:i} and ((${has_solo}) ? :bs_${:i} : true) and (ex :se_${:i-1} ? (:se_${:i-1}) : true ))"/>
308 <!-- Row 1 -->
309 <cell cols="3">
310 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
311 </cell>
312 <cell cols="4">
313 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
314 </cell>
315 <cell cols="8">
316 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
317 </cell>
318
319 <ui:with bg.bright="(!${act_ch}) ? :const_bg_darken : 1.0" bright="(!${act_ch}) ? 0.75 : 1.0">
320 <!-- Row 2 -->
321 <cell rows="2" cols="2">
322 <grid rows="2" cols="3" vfill="false" hreduce="true" pad.v="4" pad.h="6" spacing="4">
323 <cell rows="2">
324 <ui:if test=":i ile 1">
325 <button value="1" editable="false" pointer="arrow" text="labels.chan.ON_num_id" text:id="1" font.size="10" width="48" vfill="true" ui:inject="Button_ne_Cycle"/>
326 </ui:if>
327 <ui:if test=":i igt 1">
328 <button
329 id="se_${:i-1}"
330 text="labels.chan.ON_num_id"
331 text:id="${i}" font.size="10"
332 ui:inject="Button_Cycle"
333 width="48"
334 vfill="true"
335 down.color.hue="${(:i-1) * 0.125}"
336 down.hover.color.hue="${(:i-1) * 0.125}"
337 text.down.color.hue="${(:i-1) * 0.125}"
338 text.down.hover.color.hue="${(:i-1) * 0.125}"
339 border.down.color.hue="${(:i-1) * 0.125}"
340 border.down.hover.color.hue="${(:i-1) * 0.125}"/>
341 </ui:if>
342 </cell>
343 <ui:with fill="true" height="20">
344 <vbox pad.b="1">
345 <button id="on_${i}" text="labels.act_ive" ui:inject="Button_cyan_8" visibility="(${act_ch})"/>
346 <button id="on_${i}" text="labels.act_ive" ui:inject="Button_inactive_8" visibility="(!${act_ch})"/>
347 </vbox>
348 <button id="bs_${i}" text="labels.chan.S_olo" ui:inject="Button_green_8"/>
349 <vbox pad.b="1">
350 <button id="alr_${i}" text="labels.alr" ui:inject="Button_yellow_8" visibility="(${act_ch})"/>
351 <button id="alr_${i}" text="labels.alr" ui:inject="Button_inactive_8" visibility="(!${act_ch})"/>
352 </vbox>
353 <button id="bm_${i}" text="labels.chan.M_ute" ui:inject="Button_red_8"/>
354 </ui:with>
355 </grid>
356 </cell>
357
358 <cell rows="2" pad.h="6">
359 <hbox hfill="false">
360 <ui:if test=":i igt 1">
361 <knob id="sf_${:i-1}" pad.r="4" size="22" scolor="cycle" scolor.hue="${(:i-1) * 0.125}" visibility="(${act_ch})"/>
362 <knob id="sf_${:i-1}" pad.r="4" size="22" scolor="cycle_inactive" visibility="(!${act_ch})"/>
363 </ui:if>
364 <vbox vfill="false" width.min="30">
365 <ui:if test=":i ile 1">
366 <label text="0"/>
367 <value id="bfe_${i}" detailed="false"/>
368 </ui:if>
369 <ui:if test=":i igt 1">
370 <value id="sf_${:i-1}" detailed="false"/>
371 <value id="bfe_${i}" detailed="false"/>
372 </ui:if>
373 </vbox>
374 </hbox>
375 </cell>
376 <ui:with pad.t="4" size="16">
377 <knob id="aat_${i}" scolor="(!${act_ch}) ? 'cycle_inactive' : 'attack'"/>
378 <knob id="art_${i}" scolor="(!${act_ch}) ? 'cycle_inactive' : 'release_1'"/>
379 <knob id="akn_${i}" scolor="(!${act_ch}) ? 'cycle_inactive' : 'kscale'"/>
380 <knob id="asm_${i}" scolor="(!${act_ch}) ? 'cycle_inactive' : 'kscale'"/>
381
382 <knob id="bpa_${i}" scolor="(!${act_ch}) ? 'cycle_inactive' : 'kscale'"/>
383 </ui:with>
384 <cell rows="2">
385 <vbox fill="false" pad.h="6" pad.v="4">
386 <combo id="lm_${i}" pad.b="4"/>
387 <button id="gb_${i}" height="19" hfill="true" text="labels.boost_" ui:inject="Button_inactive_8" visibility="(!${act_ch})"/>
388 <button id="gb_${i}" height="19" hfill="true" text="labels.boost_" ui:inject="Button_violet_8" visibility="(${act_ch})"/>
389 </vbox>
390 </cell>
391 <ui:with pad.t="4" size="16">
392 <hbox>
393 <knob id="th_${i}" ui:inject="Knob_meter_threshold" meter.max=":ig_${i}" visibility="${act_ch}"/>
394 <knob id="th_${i}" scolor="cycle_inactive" visibility="!${act_ch}"/>
395 </hbox>
396 <knob id="at_${i}" scolor="(!${act_ch}) ? 'cycle_inactive' : 'attack'"/>
397 <knob id="rt_${i}" scolor="(!${act_ch}) ? 'cycle_inactive' : 'release'"/>
398 <knob id="bsl_${i}" scolor="(!${act_ch}) ? 'cycle_inactive' : 'balance'"/>
399 <knob id="bmk_${i}" scolor="(!${act_ch}) ? 'cycle_inactive' : 'kscale'"/>
400 </ui:with>
401 <cell rows="2" pad.r="4" pad.v="4" hexpand="true">
402 <ledmeter height.min="5">
403 <ledchannel id="rlm_${i}l" 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'"/>
404 <ledchannel id="rlm_${i}r" 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'"/>
405 </ledmeter>
406 </cell>
407
408 <ui:with pad.h="4">
409 <value id="aat_${i}" sline="true"/>
410 <value id="art_${i}" sline="true"/>
411 <value id="akn_${i}" sline="true"/>
412 <value id="asm_${i}" sline="true"/>
413 <value id="bpa_${i}" sline="true"/>
414 <value id="th_${i}" sline="true"/>
415 <value id="at_${i}" sline="true"/>
416 <value id="rt_${i}" sline="true"/>
417 <value id="bsl_${i}" sline="true"/>
418 <value id="bmk_${i}" sline="true"/>
419 </ui:with>
420 </ui:with>
421 </ui:for>
422
423 </grid>
424 </group>
425 </cell>
426 <!-- Output Limiter -->
427 <cell>
428 <ui:set id="act_alr" value=":on and :alr"/>
429 <group text="labels.output_limiter" ipadding="0">
430 <grid rows="15" cols="4" spacing="0">
431
432 <cell cols="4" reduce="true">
433 <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"/>
434 </cell>
435 <cell cols="4">
436 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
437 </cell>
438 <cell cols="2" reduce="true">
439 <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"/>
440 </cell>
441 <cell rows="13">
442 <void pad.h="2" bg.color="bg" hreduce="true"/>
443 </cell>
444 <cell rows="13">
445 <vbox>
446 <ui:with bg.bright=":on ? 1.0 : :const_bg_darken" bright=":on ? 1.0: 0.75">
447 <label text="labels.gain" pad.v="3"/>
448 <ledmeter height.min="192" angle="1" vexpand="true">
449 <ledchannel id="rlm_l" 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'"/>
450 <ledchannel id="rlm_r" 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'"/>
451 </ledmeter>
452 </ui:with>
453 </vbox>
454 </cell>
455 <ui:with bg.bright="${act_alr} ? 1.0 : :const_bg_darken" bright="${act_alr} ? 1.0: 0.75">
456 <knob id="aat" scolor="${act_alr} ? 'attack' : 'cycle_inactive'" pad.l="6" pad.r="4"/>
457 <vbox vfill="false" pad.r="6">
458 <label text="labels.attack" halign="0"/>
459 <value id="aat" sline="true" halign="0"/>
460 </vbox>
461 <knob id="art" scolor="${act_alr} ? 'release' : 'cycle_inactive'" pad.l="6" pad.r="4"/>
462 <vbox vfill="false" pad.r="6">
463 <label text="labels.release" halign="0"/>
464 <value id="art" sline="true" halign="0"/>
465 </vbox>
466 <knob id="akn" scolor="${act_alr} ? 'kscale' : 'cycle_inactive'" pad.l="6" pad.r="4"/>
467 <vbox vfill="false" pad.r="6">
468 <label text="labels.knee" halign="0"/>
469 <value id="akn" sline="true" halign="0"/>
470 </vbox>
471 <knob id="asm" scolor="${act_alr} ? 'kscale' : 'cycle_inactive'" pad.l="6" pad.r="4"/>
472 <vbox vfill="false" pad.r="6">
473 <label text="labels.smooth" halign="0"/>
474 <value id="asm" sline="true" halign="0"/>
475 </vbox>
476 </ui:with>
477
478 <cell cols="2">
479 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
480 </cell>
481
482 <ui:with bg.bright=":on ? 1.0 : :const_bg_darken" bright=":on ? 1.0: 0.75">
483 <knob id="lk" scolor=":on ? 'kscale' : 'cycle_inactive'" pad.l="6" pad.r="4"/>
484 <vbox vfill="false" pad.r="6">
485 <label text="labels.sc.lookahead" halign="0"/>
486 <value id="lk" sline="true" halign="0"/>
487 </vbox>
488 </ui:with>
489
490 <cell cols="2">
491 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
492 </cell>
493
494 <ui:with bg.bright=":on ? 1.0 : :const_bg_darken" bright=":on ? 1.0: 0.75">
495 <cell cols="2" vreduce="true">
496 <vbox vfill="false" pad.v="4" pad.h="6">
497 <combo id="lm" pad.b="4"/>
498 <button id="gb" hfill="true" height="18" text="labels.boost_" ui:inject="Button_violet" visibility=":on"/>
499 <button id="gb" hfill="true" height="18" text="labels.boost_" ui:inject="Button_inactive" visibility="!:on"/>
500 </vbox>
501 </cell>
502
503 <vbox pad.l="6" pad.r="4">
504 <knob id="th" meter.max=":ig" ui:inject="Knob_meter_threshold" visibility=":on"/>
505 <knob id="th" scolor="cycle_inactive" visibility="!:on"/>
506 </vbox>
507 <vbox vfill="false" pad.r="6">
508 <label text="labels.threshold" scolor="threshold" halign="0"/>
509 <value id="th" sline="true" halign="0"/>
510 </vbox>
511 <knob id="at" scolor=":on ? 'attack' : 'cycle_inactive'" pad.l="6" pad.r="4"/>
512 <vbox vfill="false" pad.r="6">
513 <label text="labels.attack" halign="0"/>
514 <value id="at" sline="true" halign="0"/>
515 </vbox>
516 <knob id="rt" scolor=":on ? 'release' : 'cycle_inactive'" pad.l="6" pad.r="4"/>
517 <vbox vfill="false" pad.r="6">
518 <label text="labels.release" halign="0"/>
519 <value id="rt" sline="true" halign="0"/>
520 </vbox>
521 <knob id="slink" scolor=":on ? 'balance' : 'cycle_inactive'" pad.l="6" pad.r="4"/>
522 <vbox vfill="false" pad.r="6">
523 <label text="labels.stereo_link" halign="0"/>
524 <value id="slink" sline="true" halign="0"/>
525 </vbox>
526 </ui:with>
527 </grid>
528 </group>
529 </cell>
530 </grid>
531
532 <!-- Premix overlay -->
533 <overlay id="showpmx" trigger="premix_trigger" hpos="1" vpos="1" halign="-1" valign="1" ipadding.t="4">
534 <group text="groups.premix" vexpand="false" ipadding="0">
535 <grid rows="3" cols="${(:is_sidechain) ? 8 : 5}" spacing="0" bg.color="bg_schema" transpose="true">
536 <ui:if test=":is_sidechain">
537 <label text="labels.premix.in_to_sc" pad.h="6" pad.v="4" />
538 <knob id="in2sc" />
539 <value id="in2sc" pad.h="6" pad.v="4" />
540 </ui:if>
541
542 <label text="labels.premix.in_to_link" pad.h="6" pad.v="4" />
543 <knob id="in2lk" />
544 <value id="in2lk" />
545
546 <cell rows="3"><vsep pad.h="2" bg.color="bg" reduce="true" /></cell>
547
548 <ui:if test=":is_sidechain">
549 <label text="labels.premix.sc_to_in" pad.h="6" pad.v="4" />
550 <knob id="sc2in" />
551 <value id="sc2in" pad.h="6" pad.v="4" />
552
553 <label text="labels.premix.sc_to_link" pad.h="6" pad.v="4" />
554 <knob id="sc2lk" />
555 <value id="sc2lk" pad.h="6" pad.v="4" />
556
557 <cell rows="3"><vsep pad.h="2" bg.color="bg" reduce="true" /></cell>
558 </ui:if>
559
560 <label text="labels.premix.link_to_in" pad.h="6" pad.v="4" />
561 <knob id="lk2in" />
562 <value id="lk2in" pad.h="6" pad.v="4" />
563
564 <label text="labels.premix.link_to_sc" pad.h="6" pad.v="4" />
565 <knob id="lk2sc" />
566 <value id="lk2sc" pad.h="6" pad.v="4" />
567 </grid>
568 </group>
569 </overlay>
570 </plugin>