Debian Codegraph @

modules/lsp-plugins-mb-dyna-processor/res/main/ui/plugins/dynamics/processor/multiband/lr.xml

raw
1 <plugin resizable="true">
2 <ui:eval id="is_sidechain" value="(ex :sc) or (ex :sc_l) or (ex :sc_r)"/>
3
4 <!-- Control linking -->
5 <ui:for
6 id="port"
7 list="'scm'; 'sla'; 'scr'; 'scp'; 'sclc'; 'schc'; 'sclf'; 'schf'; 'bfc'; 'sce'; 'scs'; 'sscs';
8 'pe0'; 'tl0'; 'gl0'; 'kn0'; 'ae0'; 'al0'; 'at0'; 're0'; 'rl0'; 'rt0';
9 'pe1'; 'tl1'; 'gl1'; 'kn1'; 'ae1'; 'al1'; 'at1'; 're1'; 'rl1'; 'rt1';
10 'pe2'; 'tl2'; 'gl2'; 'kn2'; 'ae2'; 'al2'; 'at2'; 're2'; 'rl2'; 'rt2';
11 'pe3'; 'tl3'; 'gl3'; 'kn3'; 'ae3'; 'al3'; 'at3'; 're3'; 'rl3'; 'rt3';
12 'pe'; 'bs'; 'bm'; 'atd'; 'rtd'; 'ht'; 'llr'; 'hlr'; 'mk'; 'cmv'">
13 <ui:for id="i" first="0" count="8">
14 <ctl:link id.1="${port}_${i}l" value.1=":${port}_${i}r" id.2="${port}_${i}r" value.2=":${port}_${i}l" activity=":clink"/>
15 </ui:for>
16 </ui:for>
17
18 <ui:for id="port" list="'cbe'; 'sf'">
19 <ui:for id="i" first="1" count="7">
20 <ctl:link id.1="${port}_${i}l" value.1=":${port}_${i}r" id.2="${port}_${i}r" value.2=":${port}_${i}l" activity=":clink"/>
21 </ui:for>
22 </ui:for>
23
24 <vbox spacing="4">
25 <grid rows="2" cols="5" vspacing="4" hspacing="4" expand="true">
26
27 <group ui:inject="GraphGroup" ipadding="0" expand="true" fill="true" text="labels.graphs.spectrum">
28 <graph width.min="754" height.min="350" expand="true" fill="true">
29 <origin hpos="-1" vpos="-1" visible="false"/>
30
31 <!-- Additional grid -->
32 <ui:with color="graph_alt_1">
33 <ui:for id="f" first="20" last="90" step="10">
34 <marker v="${:f}"/>
35 <marker v="${:f*10}"/>
36 <marker v="${:f*100}"/>
37 </ui:for>
38 <marker v="20000"/>
39 <ui:with ox="1" oy="0">
40 <marker v="+12 db"/>
41 <marker v="-12 db"/>
42 <marker v="-36 db"/>
43 <marker v="-60 db"/>
44
45 <ui:for id="g" first="-42" last="6" step="12">
46 <marker v="${g} db" visibility=":zoom le -9 db"/>
47 </ui:for>
48 <ui:for id="g" first="-21" last="3" step="6">
49 <marker v="${g} db" visibility=":zoom le -15 db"/>
50 </ui:for>
51 </ui:with>
52 </ui:with>
53
54 <!-- Secondary grid -->
55 <ui:with color="graph_sec">
56 <marker v="100"/>
57 <marker v="1000"/>
58 <marker v="10000"/>
59 <marker value="0 db" ox="1" oy="0"/>
60 <marker value="-24 db" ox="1" oy="0"/>
61 <marker value="-48 db" ox="1" oy="0"/>
62 </ui:with>
63
64 <!-- Piano keys -->
65 <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">
66 <piano natural="false" note.min="12" note.max="127" height="24" editable="false" selectable="false" border="0"/>
67 </embed>
68
69 <!-- Octave text -->
70 <ui:with ox="0" oy="4" y="44" halign="1" valign="1" pgroup="0" priority="10" visibility=":_ui_graph_piano_layout" pad.b="2">
71 <ui:for id="octave" first="0" last="9">
72 <text x="midi_freq(12 * ${:octave + 1})" text="lists.notes.fmt.c" text:octave="${octave}" valign="1" halign="0"/>
73 </ui:for>
74 </ui:with>
75
76 <!-- Band markers -->
77 <ui:with
78 width="2"
79 fill="0.5"
80 color.a="0.2"
81 hcolor.a="0.8"
82 lcolor.a="0.8"
83 hlcolor.a="0.8"
84 rcolor.a="0.8"
85 hrcolor.a="0.8"
86 color="graph_marker_cycle"
87 hcolor="graph_marker_cycle"
88 lcolor="graph_marker_cycle"
89 hlcolor="graph_marker_cycle"
90 rcolor="graph_marker_cycle"
91 hrcolor="graph_marker_cycle">
92 <marker v="10" color.hue=":hue_0l" hcolor.hue=":hue_0l" rborder="16" rcolor.hue=":hue_0l" hrborder="16" hrcolor.hue=":hue_0l"/>
93 <marker v="10" color.hue=":hue_0r" hcolor.hue=":hue_0r" rborder="16" rcolor.hue=":hue_0r" hrborder="16" hrcolor.hue=":hue_0r"/>
94 <marker id="fre_0l" color.hue=":hue_0l" hcolor.hue=":hue_0l" lborder="16" lcolor.hue=":hue_0l" hlborder="16" hlcolor.hue=":hue_0l"/>
95 <marker id="fre_0r" color.hue=":hue_0r" hcolor.hue=":hue_0r" lborder="16" lcolor.hue=":hue_0r" hlborder="16" hlcolor.hue=":hue_0r"/>
96 <ui:for id="i" first="1" last="7">
97 <marker id="sf_${i}l" ui:id="split_marker_${i}l" visibility=":cbe_${i}l" editable="true" color.hue=":hue_${i}l" hcolor.hue=":hue_${i}l" rborder="16" rcolor.hue=":hue_${i}l" hrborder="16" hrcolor.hue=":hue_${i}l" pointer="hsize"/>
98 <marker id="sf_${i}r" ui:id="split_marker_${i}r" visibility=":cbe_${i}r" editable="true" color.hue=":hue_${i}r" hcolor.hue=":hue_${i}r" rborder="16" rcolor.hue=":hue_${i}r" hrborder="16" hrcolor.hue=":hue_${i}r" pointer="hsize"/>
99 <marker id="fre_${i}l" visibility=":cbe_${i}l" color.hue=":hue_${i}l" hcolor.hue=":hue_${i}l" lborder="16" lcolor.hue=":hue_${i}l" hlborder="16" hlcolor.hue=":hue_${i}l"/>
100 <marker id="fre_${i}r" visibility=":cbe_${i}r" color.hue=":hue_${i}r" hcolor.hue=":hue_${i}r" lborder="16" lcolor.hue=":hue_${i}r" hlborder="16" hlcolor.hue=":hue_${i}r"/>
101 </ui:for>
102 </ui:with>
103
104 <!-- Meshes -->
105 <mesh id="bfc_0l" width="2" fill="true" smooth="true" color="graph_mesh_cycle" color.hue=":hue_0l" fcolor="graph_mesh_cycle" fcolor.hue=":hue_0l" fcolor.a="0.9" visibility=":flt_l"/>
106 <mesh id="bfc_0r" width="2" fill="true" smooth="true" color="graph_mesh_cycle" color.hue=":hue_0r" fcolor="graph_mesh_cycle" fcolor.hue=":hue_0r" fcolor.a="0.9" visibility=":flt_r"/>
107
108 <ui:for id="i" first="1" last="7">
109 <mesh id="bfc_${i}l" width="2" fill="true" smooth="true" color="graph_mesh_cycle" color.hue=":hue_${i}l" fcolor="graph_mesh_cycle" fcolor.hue=":hue_${i}l" fcolor.a="0.9" visibility=":flt_l and :cbe_${i}l"/>
110 <mesh id="bfc_${i}r" width="2" fill="true" smooth="true" color="graph_mesh_cycle" color.hue=":hue_${i}r" fcolor="graph_mesh_cycle" fcolor.hue=":hue_${i}r" fcolor.a="0.9" visibility=":flt_r and :cbe_${i}r"/>
111 </ui:for>
112 <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"/>
113 <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"/>
114 <mesh id="ofg_l" oy=":_ui_zoomable_spectrum_graph ? 1 : 3" width="2" color="left" visibility=":ofe_l"/>
115 <mesh id="ofg_r" oy=":_ui_zoomable_spectrum_graph ? 1 : 3" width="2" color="right" visibility=":ofe_r"/>
116
117 <mesh id="ag_l" width="3" color="left" smooth="true"/>
118 <mesh id="ag_r" width="3" color="right" smooth="true"/>
119
120 <!-- Boundaries -->
121 <marker v="1" ox="2" oy="0" color="graph_prim" visibility="false"/>
122 <marker v="24000" color="graph_prim" visibility="false"/>
123
124 <!-- Axis -->
125 <axis min="10" max="24000" angle="0.0" log="true" visibility="false"/>
126 <axis min="-72 db / (:zoom ** 3)" max="24 db * :zoom" color="graph_prim" angle="0.5" log="true"/>
127 <axis min="-1" max="1" visibility="false" angle="0.5"/>
128 <axis min="-72 db" max="24 db" color="graph_prim" angle="0.5" log="true" visibility="false"/>
129 <axis min="0" max=":_a_scaled_height" visibility="false" angle="0.5"/>
130
131 <!-- Text -->
132 <ui:with ox="0" oy="2" y="0" halign="1" valign="1">
133 <text x="10" text="graph.units.hz"/>
134 <text x="20" text="20"/>
135 <text x="30" text="30"/>
136 <text x="50" text="50"/>
137 <text x="100" text="100"/>
138 <text x="200" text="200"/>
139 <text x="300" text="300"/>
140 <text x="500" text="500"/>
141 <text x="1000" text="graph.values.x_k" text:value="1"/>
142 <text x="2000" text="graph.values.x_k" text:value="2"/>
143 <text x="3000" text="graph.values.x_k" text:value="3"/>
144 <text x="5000" text="graph.values.x_k" text:value="5"/>
145 <text x="10000" text="graph.values.x_k" text:value="10"/>
146 <text x="20000" text="graph.values.x_k" text:value="20"/>
147 </ui:with>
148
149 <ui:with x="10" halign="1" valign="1">
150 <ui:for id="g" first="-60" last="12" step="12">
151 <text y="${g} db" text="${g}"/>
152 </ui:for>
153 <text y="0 db" ox="0" oy="2" text="graph.units.db" valign="-1"/>
154 <ui:for id="g" first="-42" last="6" step="12">
155 <text y="${g} db" text="${g}" visibility=":zoom le -9 db"/>
156 </ui:for>
157 <ui:for id="g" first="-21" last="3" step="6">
158 <text y="${g} db" text="${g}" visibility=":zoom le -15 db"/>
159 </ui:for>
160 </ui:with>
161
162 <ui:for id="i" first="1" count="7">
163 <ui:with ox="0" oy="2" y="1" valign="-1" color="graph_marker_cycle" visibility="false" pad.h="4" font.bold="true">
164 <text ui:id="split_note_${i}l" x=":sf_${i}l" halign="(:sf_${i}l lt 500) ? 1 : -1" text.halign="(:sf_${i}l lt 500) ? -1 : 1" color.hue=":hue_${i}l"/>
165 <text ui:id="split_note_${i}r" x=":sf_${i}r" halign="(:sf_${i}r lt 500) ? 1 : -1" text.halign="(:sf_${i}s lt 500)r ? -1 : 1" color.hue=":hue_${i}r"/>
166 </ui:with>
167 </ui:for>
168 </graph>
169 </group>
170 <!-- zoom -->
171 <cell rows="2">
172 <vbox vexpand="true" bg.color="bg_schema">
173 <label font.name="lsp-icons" font.size="12" font.antialias="true" text="icons.main.zoom" color="text_icon" pad.b="4" pad.t="4"/>
174 <fader id="zoom" angle="1" vexpand="true" bg.inherit="true" flat="true"/>
175 <value id="zoom" width="40"/>
176 </vbox>
177 </cell>
178 <!-- meter in -->
179 <cell rows="2">
180 <vbox vexpand="true" bg.color="bg_schema">
181 <label text="labels.chan.in" pad.b="3" pad.t="3"/>
182 <ledmeter vexpand="true" angle="1">
183 <ledchannel id="ilm_l" min="-72 db" max="12 db" log="true" type="rms_peak" peak.visibility="true" value.color="left_in"/>
184 <ledchannel id="ilm_r" min="-72 db" max="12 db" log="true" type="rms_peak" peak.visibility="true" value.color="right_in"/>
185 </ledmeter>
186 </vbox>
187 </cell>
188
189 <!-- meter out -->
190 <cell rows="2">
191 <vbox vexpand="true" bg.color="bg_schema">
192 <label text="labels.chan.out" pad.b="3" pad.t="3"/>
193 <ledmeter vexpand="true" angle="1">
194 <ledchannel id="olm_l" min="-72 db" max="12 db" log="true" type="rms_peak" peak.visibility="true" value.color="left"/>
195 <ledchannel id="olm_r" min="-72 db" max="12 db" log="true" type="rms_peak" peak.visibility="true" value.color="right"/>
196 </ledmeter>
197 </vbox>
198 </cell>
199
200 <!-- signal -->
201 <cell rows="2">
202 <vbox spacing="4">
203 <group text="groups.signal" expand="true">
204 <grid rows="5" cols="2" hspacing="4">
205 <knob id="g_in" pad.r="4"/>
206 <vbox vfill="false">
207 <label text="labels.input" halign="0"/>
208 <value id="g_in" sline="true" halign="0"/>
209 </vbox>
210
211 <knob id="g_out" pad.r="4"/>
212 <vbox vfill="false">
213 <label text="labels.output" expand="true" halign="0"/>
214 <value id="g_out" width.min="50" sline="true" halign="0"/>
215 </vbox>
216
217 <knob id="g_dry" scolor="dry" pad.r="4"/>
218 <vbox vfill="false">
219 <label text="labels.signal.dry" halign="0"/>
220 <value id="g_dry" width.min="50" sline="true" halign="0"/>
221 </vbox>
222
223 <knob id="g_wet" scolor="wet" pad.r="4"/>
224 <vbox vfill="false">
225 <label text="labels.signal.wet" halign="0"/>
226 <value id="g_wet" width.min="50" sline="true" halign="0"/>
227 </vbox>
228
229 <knob id="drywet" scolor="drywet" pad.r="4"/>
230 <vbox vfill="false">
231 <label text="labels.signal.drywet" halign="0"/>
232 <value id="drywet" width.min="50" sline="true" halign="0"/>
233 </vbox>
234 </grid>
235 </group>
236
237 <!-- Analysis -->
238 <group text="groups.analysis" expand="true" ipadding="0">
239 <vbox>
240 <grid rows="4" cols="2">
241 <align halign="-1" pad.t="4" pad.l="6">
242 <label text="labels.fft.fft_in"/>
243 </align>
244 <hbox spacing="4" pad.v="4" pad.h="6" hfill="false">
245 <button id="ife_l" text="labels.chan.L_eft" size="19" ui:inject="Button_left_8"/>
246 <button id="ife_r" text="labels.chan.R_ight" size="19" ui:inject="Button_right_8"/>
247 </hbox>
248
249 <cell cols="2"><hsep pad.v="2" bg.color="bg" vreduce="true"/></cell>
250
251 <align halign="-1" pad.t="4" pad.l="6">
252 <label text="labels.fft.fft_out" halign="0"/>
253 </align>
254 <hbox spacing="4" pad.v="4" pad.h="6" hfill="false">
255 <button id="ofe_l" text="labels.chan.L_eft" size="19" ui:inject="Button_left_8"/>
256 <button id="ofe_r" text="labels.chan.R_ight" size="19" ui:inject="Button_right_8"/>
257 </hbox>
258
259 <cell cols="2"><hsep pad.v="2" bg.color="bg" vreduce="true"/></cell>
260 </grid>
261
262 <grid rows="2" cols="2" transpose="false" expand="true" hspacing="4">
263 <knob id="react" size="20" pad.r="4" pad.l="6"/>
264 <vbox vfill="false" pad.r="6">
265 <label text="labels.metering.reactivity" halign="0"/>
266 <value id="react" width.min="50" sline="true" halign="0"/>
267 </vbox>
268
269 <knob id="shift" size="20" pad.r="4" pad.l="6"/>
270 <vbox vfill="false" pad.r="6">
271 <label text="labels.metering.shift" halign="0"/>
272 <value id="shift" width.min="50" sline="true" halign="0"/>
273 </vbox>
274 </grid>
275 </vbox>
276 </group>
277 </vbox>
278 </cell>
279
280 <!-- bottom line -->
281 <hbox spacing="4" vreduce="true" bg.color="bg_schema" pad.h="6">
282 <label text="labels.mode:"/>
283 <combo id="mode" pad.r="8" pad.v="4"/>
284 <label text="labels.sc_boost:"/>
285 <combo id="envb" pad.r="8"/>
286 <button ui:id="premix_trigger" id="showpmx" text="labels.premix" size="22"/>
287 <label text="labels.filters" pad.l="6"/>
288 <hbox spacing="4" pad.h="6">
289 <button id="flt_l" text="labels.chan.L_eft" size="22" ui:inject="Button_left"/>
290 <button id="flt_r" text="labels.chan.R_ight" size="22" ui:inject="Button_right"/>
291 </hbox>
292 <void hexpand="true"/>
293 <button id="clink" ui:inject="Button_green" text="labels.chan.lr_link"/>
294 <vsep pad.h="2" bg.color="bg" reduce="true"/>
295 <shmlink id="link" pad.l="2"/>
296 </hbox>
297 </grid>
298
299 <!-- down part -->
300 <hbox>
301
302 <cgroup id="bsel" embed.h=":bsel ilt 2" embed.b=":bsel ilt 2" width.min="935" height.min="480">
303 <!-- Main part (2 pages) -->
304 <ui:for id="c" first="0" count="2">
305 <ui:eval id="channel" value="(:c ieq 0) ? 'num_id_L_eft' : 'num_id_R_ight' "/>
306
307 <grid rows="12" cols="25" transpose="true">
308 <!-- Labels -->
309 <label text="labels.band" pad.v="4" bg.color="bg_schema" hreduce="true"/>
310 <vbox pad.v="4">
311 <label text="labels.range"/>
312 <label text="labels.units.:hz"/>
313 </vbox>
314 <label text="labels.controls" pad.v="4" bg.color="bg_schema"/>
315 <label text="labels.sidechain" pad.v="4" bg.color="bg_schema"/>
316 <cell rows="2" pad.v="4" hreduce="true" pad.h="6">
317 <label text="labels.sc_preamp_makeup:db_db"/>
318 </cell>
319 <cell rows="2" pad.v="4">
320 <label text="labels.attack_release:ms_ms"/>
321 </cell>
322 <cell rows="2" pad.v="4">
323 <label text="labels.ratio_low_high"/>
324 </cell>
325 <cell ><hsep pad.v="2" bg.color="bg" vreduce="true"/></cell>
326 <cell rows="6" pad.v="4">
327 <label text="labels.threshold:db"/>
328 </cell>
329
330 <!-- Bands -->
331 <ui:for id="i" first="0" last="7">
332 <ui:set id="ch" value="${i}${(:c ieq 0) ? 'l' : 'r'}"/>
333
334 <!-- Column 1 -->
335 <ui:if test=":i ieq 0">
336 <!-- Separator -->
337 <cell rows="12"><vsep pad.h="2" bg.color="bg" hreduce="true"/></cell>
338 <ui:with bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1.0 : :const_bg_darken">
339 <cell cols="2" bg.color="bg_schema">
340 <button text="labels.chan.${channel}" text:id="${:i+1}" value="1" editable="false" pointer="arrow" hfill="true" ui:inject="Button_ne_Cycle" height="19" pad.h="6" pad.v="4"/>
341 </cell>
342 <cell cols="2" fill="false">
343 <vbox width.min="110" height="36" vreduce="true">
344 <label text="0"/>
345 <value id="fre_${ch}" sline="true" detailed="false"/>
346 </vbox>
347 </cell>
348 </ui:with>
349 </ui:if>
350
351 <ui:if test=":i ine 0">
352 <!-- Separator -->
353 <cell rows="12"><vsep pad.h="2" bg.color="bg" hreduce="true"/></cell>
354 <ui:with bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1.0 : :const_bg_darken">
355 <cell cols="2" bg.color="bg_schema">
356 <button
357 id="cbe_${ch}"
358 text="labels.chan.${channel}"
359 text:id="${:i+1}"
360 ui:inject="Button_Cycle"
361 hfill="true"
362 height="19"
363 down.color.hue=":hue_${ch}"
364 down.hover.color.hue=":hue_${ch}"
365 text.down.color.hue=":hue_${ch}"
366 text.down.hover.color.hue=":hue_${ch}"
367 border.down.color.hue=":hue_${ch}"
368 border.down.hover.color.hue=":hue_${ch}"
369 pad.h="6"
370 pad.v="4"/>
371 </cell>
372 <vbox width.min="55">
373 <knob id="sf_${ch}" size="16" ssize="3" pad.v="4" scolor="((${i} ieq 0) or :cbe_${ch}) ? 'cycle' : 'cycle_inactive'" scolor.hue=":hue_${ch}"/>
374 </vbox>
375 </ui:with>
376 </ui:if>
377 <ui:with bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1.0 : :const_bg_darken">
378 <cell cols="2" pad.h="6" bg.color="bg_schema">
379 <grid rows="2" cols="1" hspacing="4">
380 <button
381 id="pe_${ch}"
382 text="labels.chan.on"
383 height="19"
384 hfill="true"
385 ui:inject="Button_Cycle"
386 down.color.hue=":hue_${ch}"
387 down.hover.color.hue=":hue_${ch}"
388 text.down.color.hue=":hue_${ch}"
389 text.down.hover.color.hue=":hue_${ch}"
390 border.down.color.hue=":hue_${ch}"
391 border.down.hover.color.hue=":hue_${ch}"
392 pad.v="4"/>
393 <hbox pad.b="4">
394 <button id="bs_${ch}" text="labels.chan.solo" height="19" hfill="true" ui:inject="Button_green_8"/>
395 <button id="bm_${ch}" text="labels.chan.mute" height="19" hfill="true" ui:inject="Button_red_8" pad.l="4"/>
396 </hbox>
397 </grid>
398 </cell>
399 <cell cols="2" pad.h="6" bg.color="bg_schema">
400 <combo id="sce_${ch}" fill="true" pad.l="4"/>
401 </cell>
402 <knob id="scp_${ch}" size="16" ssize="3" pad.t="4" scolor="((${i} ieq 0) or :cbe_${ch}) ? 'cycle' : 'cycle_inactive'" scolor.hue=":hue_${ch}"/>
403 <value id="scp_${ch}" pad.b="4" width.min="32" detailed="false"/>
404 <knob id="atd_${ch}" size="16" pad.t="4" ssize="3" scolor="((${i} ieq 0) or :cbe_${ch}) ? 'cycle' : 'cycle_inactive'" scolor.hue=":hue_${ch}"/>
405 <value id="atd_${ch}" pad.b="4" detailed="false"/>
406 <knob id="llr_${ch}" size="16" pad.t="4" ssize="3" scolor="((${i} ieq 0) or :cbe_${ch}) ? 'cycle' : 'cycle_inactive'" scolor.hue=":hue_${ch}"/>
407 <value id="llr_${ch}" pad.b="4" detailed="false"/>
408 </ui:with>
409 <!-- Separator -->
410 <cell cols="2"><hsep pad.v="2" bg.color="bg" vreduce="true"/></cell>
411
412 <!-- Threshold block -->
413 <cell cols="2" transpose="true">
414 <grid rows="7" cols="3">
415 <ui:for id="c" first="0" last="3">
416 <ui:if test=":c ine 1 and :c ine 3">
417 <ui:set id="x" value="${c}_${ch}"/>
418 <ui:with bg.bright="(((${i} ieq 0) or (:cbe_${ch})) and :pe${x} ine 0) ? 1 : :const_bg_darken" bright="(((${i} ieq 0) or (:cbe_${ch})) and :pe${x} ine 0) ? 1 : :const_bg_darken">
419 <button id="pe${x}" pad.t="4" pad.h="6" fill="true" height="10" text="labels.thr_eshold_num_id" text:id="${c}" ui:inject="Button_violet_6"/>
420 <vbox width.min="55">
421 <knob id="tl${x}" size="16" pad.t="4" ssize="3" scolor="(((${i} ieq 0) or (:cbe_${ch})) and :pe${x} ine 0) ? 'cycle' : 'cycle_inactive'" scolor.hue=":hue_${ch}"/>
422 </vbox>
423 <value id="tl${x}" pad.b="4" detailed="false"/>
424 </ui:with>
425 </ui:if>
426 <ui:if test=":c ieq 0"><hsep pad.v="2" bg.color="bg" vreduce="true"/></ui:if>
427 </ui:for>
428
429 <cell rows="7"><vsep pad.h="2" bg.color="bg" hreduce="true"/></cell>
430
431 <ui:for id="c" first="0" last="3">
432 <ui:if test=":c ine 0 and :c ine 2">
433 <ui:set id="x" value="${c}_${ch}"/>
434 <ui:with bg.bright="(((${i} ieq 0) or (:cbe_${ch})) and :pe${x} ine 0) ? 1 : :const_bg_darken" bright="(((${i} ieq 0) or (:cbe_${ch})) and :pe${x} ine 0) ? 1 : :const_bg_darken">
435 <button id="pe${x}" pad.t="4" pad.h="6" fill="true" height="10" text="labels.thr_eshold_num_id" text:id="${c}" ui:inject="Button_violet_6"/>
436 <vbox width.min="55">
437 <knob id="tl${x}" size="16" pad.t="4" ssize="3" scolor="(((${i} ieq 0) or (:cbe_${ch})) and :pe${x} ine 0) ? 'cycle' : 'cycle_inactive'" scolor.hue=":hue_${ch}"/>
438 </vbox>
439 <value id="tl${x}" pad.b="4" detailed="false"/>
440 </ui:with>
441 </ui:if>
442 <ui:if test=":c ieq 1"><hsep pad.v="2" bg.color="bg" vreduce="true"/></ui:if>
443 </ui:for>
444 </grid>
445 </cell>
446 <ui:with bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1.0 : :const_bg_darken">
447 <!-- Column 2 -->
448 <ui:if test=":i ine 0">
449 <vbox width.min="55" height="36" vreduce="true">
450 <value id="sf_${ch}" detailed="false"/>
451 <value id="fre_${ch}" detailed="false" visibility=":cbe_${ch}"/>
452 <label text="labels.chan.off" visibility="not :cbe_${ch}"/>
453 </vbox>
454 </ui:if>
455 <knob id="mk_${ch}" size="16" pad.t="4" ssize="3" scolor="((${i} ieq 0) or :cbe_${ch}) ? 'cycle' : 'cycle_inactive'" scolor.hue=":hue_${ch}"/>
456 <value id="mk_${ch}" pad.b="4" width.min="32" detailed="false"/>
457 <knob id="rtd_${ch}" size="16" pad.t="4" ssize="3" scolor="((${i} ieq 0) or :cbe_${ch}) ? 'cycle' : 'cycle_inactive'" scolor.hue=":hue_${ch}" bg.color="bg_schema"/>
458 <value id="rtd_${ch}" size="16" pad.b="4" detailed="false" bg.color="bg_schema"/>
459 <knob id="hlr_${ch}" size="16" pad.t="4" ssize="3" scolor="((${i} ieq 0) or :cbe_${ch}) ? 'cycle' : 'cycle_inactive'" scolor.hue=":hue_${ch}" bg.color="bg_schema"/>
460 <value id="hlr_${ch}" size="16" pad.b="4" detailed="false" bg.color="bg_schema"/>
461
462 </ui:with>
463 </ui:for>
464 </grid>
465 </ui:for>
466
467 <!-- Band settings -->
468 <ui:for id="xc" first="0" count="16">
469 <ui:eval id="i" value=":xc idiv 2"/>
470 <ui:set id="ch" value="${i}${(:xc imod 2) ? 'r' : 'l'}"/>
471 <hbox>
472 <grid rows="2" cols="4" spacing="4" bg.color="bg">
473 <!-- Sidechain setup -->
474 <cell rows="2">
475 <vbox expand="false" bg.color="bg_schema">
476
477 <grid rows="9" cols="3" transpose="true" bg.color="bg_schema">
478 <cell cols="3">
479 <void bg.color="bg" height="4" vreduce="true"/>
480 </cell>
481
482 <label text="labels.band"/>
483 <ui:if test=":i ieq 0">
484 <button text="labels.chan.active_num_id" text:id="${:i+1}" value="1" editable="false" pointer="arrow" hfill="true" ui:inject="Button_ne_Cycle" height="19" pad.h="6" pad.v="4"/>
485 </ui:if>
486
487 <ui:if test=":i ine 0">
488 <button
489 id="cbe_${ch}"
490 text="labels.chan.active_num_id"
491 text:id="${:i+1}"
492 ui:inject="Button_Cycle"
493 hfill="true"
494 height="19"
495 pad.h="6"
496 pad.v="4"
497 down.color.hue=":hue_${ch}"
498 down.hover.color.hue=":hue_${ch}"
499 text.down.color.hue=":hue_${ch}"
500 text.down.hover.color.hue=":hue_${ch}"
501 border.down.color.hue=":hue_${ch}"
502 border.down.hover.color.hue=":hue_${ch}"/>
503 </ui:if>
504
505 <!-- Sidechain -->
506 <cell cols="3">
507 <vbox vreduce="true">
508 <void bg.color="bg" height="4"/>
509 <align halign="-1" vreduce="true">
510 <label text="labels.sidechain" pad.h="6" height.max="20" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bg.color="bg_schema_name" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken"/>
511 </align>
512 <hsep vreduce="true"/>
513 </vbox>
514 </cell>
515
516 <ui:attributes bg.color="bg_schema" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken">
517 <cell >
518 <vbox >
519 <label text="labels.sc.preamp" pad.h="6" pad.v="4" vreduce="true"/>
520 <knob id="scp_${ch}" size="16" ssize="3" scolor="((${i} ieq 0) or :cbe_${ch}) ? 'cycle' : 'cycle_inactive'" pad.t="4" scolor.hue=":hue_${ch}"/>
521 <value id="scp_${ch}" sline="true" width.min="48"/>
522 </vbox>
523 </cell>
524 </ui:attributes>
525
526 <cell cols="3">
527 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
528 </cell>
529
530 <ui:attributes bg.color="bg_schema" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken">
531 <vbox>
532 <label text="labels.sc.reactivity" pad.h="6" pad.v="4" vreduce="true"/>
533 <knob id="scr_${ch}" size="16" ssize="3" scolor="((${i} ieq 0) or :cbe_${ch}) ? 'cycle' : 'cycle_inactive'" pad.t="4" scolor.hue=":hue_${ch}"/>
534 <value id="scr_${ch}" sline="true"/>
535 </vbox>
536 </ui:attributes>
537
538 <cell cols="3">
539 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
540 </cell>
541
542 <ui:attributes bg.color="bg_schema" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken">
543 <vbox>
544 <label text="labels.sc.lookahead" pad.h="6" pad.v="4" vreduce="true"/>
545 <knob id="sla_${ch}" size="16" ssize="3" scolor="((${i} ieq 0) or :cbe_${ch}) ? 'cycle' : 'cycle_inactive'" pad.t="4" scolor.hue=":hue_${ch}"/>
546 <value id="sla_${ch}" sline="true"/>
547 </vbox>
548 </ui:attributes>
549
550 <cell rows="2">
551 <vsep bg.color="bg" pad.h="2" hreduce="true"/>
552 </cell>
553
554 <vsep bg.color="bg" pad.h="2" hreduce="true"/>
555 <vsep bg.color="bg" pad.h="2" hreduce="true"/>
556 <vsep bg.color="bg" pad.h="2" hreduce="true"/>
557
558 <ui:attributes bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken">
559 <hbox fill="false" pad.h="6" pad.t="4">
560 <label text="labels.range" pad.r="4"/>
561 <label text="labels.units.:hz"/>
562 </hbox>
563
564 <ui:if test=":i ieq 0">
565 <vbox width="78" pad.v="2" fill="false">
566 <label text="0"/>
567 <value id="fre_${ch}" sline="true" detailed="false"/>
568 </vbox>
569 </ui:if>
570
571 <ui:if test=":i ine 0">
572 <hbox fill="false" pad.h="6">
573 <knob id="sf_${ch}" size="16" ssize="3" pad.v="4" scolor="((${i} ieq 0) or :cbe_${ch}) ? 'cycle' : 'cycle_inactive'" scolor.hue=":hue_${ch}"/>
574 <vbox fill="false" pad.l="6">
575 <value id="sf_${ch}" width.min="32" detailed="false"/>
576 <value id="fre_${ch}" detailed="false" width.min="32" visibility=":cbe_${ch}"/>
577 <label text="labels.chan.off" width.min="32" visibility="not :cbe_${ch}"/>
578 </vbox>
579 </hbox>
580 </ui:if>
581 </ui:attributes>
582
583 <ui:attributes bg.color="bg_schema" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken">
584 <vbox>
585 <label text="labels.setup" pad.h="6" pad.t="4" fill="false" vreduce="true"/>
586
587 <vbox fill="false" spacing="1">
588 <ui:with pad.h="6" pad.b="4">
589 <combo id="scm_${ch}" fill="true" width.min="74"/>
590 <combo id="scs_${ch}" fill="true"/>
591 <combo id="sce_${ch}" fill="true"/>
592 </ui:with>
593 </vbox>
594 </vbox>
595 </ui:attributes>
596
597 <vbox bg.color="bg_schema">
598 <button
599 text="labels.flt.LCF"
600 pad.h="6"
601 id="sclc_${ch}"
602 ui:inject="Button_Cycle"
603 hfill="true"
604 height="19"
605 down.color.hue=":hue_${ch}"
606 down.hover.color.hue=":hue_${ch}"
607 text.down.color.hue=":hue_${ch}"
608 text.down.hover.color.hue=":hue_${ch}"
609 border.down.color.hue=":hue_${ch}"
610 border.down.hover.color.hue=":hue_${ch}"
611 bright="((:sclc_${ch} and :cbe_${ch}) or (:sclc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"
612 bg.bright="((:sclc_${ch} and :cbe_${ch}) or (:sclc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"/>
613 <knob
614 id="sclf_${ch}"
615 size="16"
616 ssize="3"
617 scolor="((:sclc_${ch} and :cbe_${ch}) or (:sclc_${ch} and :cbe_${ch} ine 0)) ? 'cycle' : 'cycle_inactive'"
618 pad.v="4"
619 pad.l="4"
620 scolor.hue=":hue_${ch}"
621 bright="((:sclc_${ch} and :cbe_${ch}) or (:sclc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"
622 bg.bright="((:sclc_${ch} and :cbe_${ch}) or (:sclc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"/>
623 <value
624 id="sclf_${ch}"
625 pad.h="6"
626 bright="((:sclc_${ch} and :cbe_${ch}) or (:sclc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"
627 bg.bright="((:sclc_${ch} and :cbe_${ch}) or (:sclc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"
628 width.min="30"
629 same.line="true"/>
630 </vbox>
631 <vbox bg.color="bg_schema">
632 <button
633 text="labels.flt.HCF"
634 pad.h="6"
635 id="schc_${ch}"
636 ui:inject="Button_Cycle"
637 hfill="true"
638 height="19"
639 down.color.hue=":hue_${ch}"
640 down.hover.color.hue=":hue_${ch}"
641 text.down.color.hue=":hue_${ch}"
642 text.down.hover.color.hue=":hue_${ch}"
643 border.down.color.hue=":hue_${ch}"
644 border.down.hover.color.hue=":hue_${ch}"
645 bright="((:schc_${ch} and :cbe_${ch}) or (:schc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"
646 bg.bright="((:schc_${ch} and :cbe_${ch}) or (:schc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"/>
647 <knob
648 id="schf_${ch}"
649 size="16"
650 ssize="3"
651 scolor="((:schc_${ch} and :cbe_${ch}) or (:schc_${ch} and :cbe_${ch} ine 0)) ? 'cycle' : 'cycle_inactive'"
652 pad.v="4"
653 pad.l="4"
654 scolor.hue=":hue_${ch}"
655 bright="((:schc_${ch} and :cbe_${ch}) or (:schc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"
656 bg.bright="((:schc_${ch} and :cbe_${ch}) or (:schc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"/>
657 <value
658 id="schf_${ch}"
659 pad.h="6"
660 bg.bright="((:schc_${ch} and :cbe_${ch}) or (:schc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"
661 bright="((:schc_${ch} and :cbe_${ch}) or (:schc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"
662 width.min="30"
663 same.line="true"/>
664 </vbox>
665 </grid>
666 </vbox>
667
668 </cell>
669 <cell rows="2">
670 <vbox expand="true" bg.color="bg_schema">
671
672 <void bg.color="bg" height="4" vreduce="true"/>
673
674 <align halign="-1" vreduce="true">
675 <label text="labels.plug.dyna_processor" pad.h="6" height.max="20" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bg.color="bg_schema_name" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken"/>
676 </align>
677 <hsep vreduce="true"/>
678
679 <!-- Processor settings -->
680
681 <grid rows="13" cols="13" spacing="0" bg.color="bg_schema">
682
683 <label text="labels.specials.num" pad.h="6" pad.v="4" reduce="true" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken"/>
684 <cell rows="13"><vsep bg.color="bg" pad.h="2" hreduce="true"/></cell>
685 <label text="labels.enable" pad.h="6" pad.v="4" reduce="true" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken"/>
686 <cell rows="13"><vsep bg.color="bg" pad.h="2" hreduce="true"/></cell>
687 <label text="labels.thresh_old:db" pad.h="6" pad.v="4" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken"/>
688 <label text="labels.gain:db" pad.h="6" pad.v="4" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken"/>
689 <label text="labels.knee_:db" pad.h="6" pad.v="4" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken"/>
690 <cell rows="13"><vsep bg.color="bg" pad.h="2" hreduce="true"/></cell>
691 <cell cols="2"><label text="labels.attack:db_ms" pad.h="6" pad.v="4" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken"/></cell>
692 <cell rows="13"><vsep bg.color="bg" pad.h="2" hreduce="true"/></cell>
693 <cell cols="2"><label text="labels.release:db_ms" pad.h="6" pad.v="4" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken"/></cell>
694
695 <ui:for id="c" first="0" last="3">
696 <ui:set id="x" value="${c}_${ch}"/>
697 <hsep bg.color="bg" pad.v="2" vreduce="true"/>
698 <hsep bg.color="bg" pad.v="2" vreduce="true"/>
699 <cell cols="3"><hsep bg.color="bg" pad.v="2" vreduce="true"/></cell>
700 <cell cols="2"><hsep bg.color="bg" pad.v="2" vreduce="true"/></cell>
701 <cell cols="2"><hsep bg.color="bg" pad.v="2" vreduce="true"/></cell>
702
703 <cell rows="2" hreduce="true" pad.h="4" wmin="19"><label text="${c}" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken"/></cell>
704 <cell rows="2">
705 <vbox fill="false" pad="6" spacing="4" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken">
706 <ui:with bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken">
707 <button id="pe${x}" width.min="43" fill="true" height="10" text="labels.threshold" ui:inject="Button_violet_6"/>
708 <button id="ae${x}" width.min="43" fill="true" height="10" text="labels.attack" ui:inject="Button_magenta_6"/>
709 <button id="re${x}" width.min="43" fill="true" height="10" text="labels.release" ui:inject="Button_green_6"/>
710 </ui:with>
711 </vbox>
712 </cell>
713 <ui:with pad.h="6" pad.v="4" size="20">
714 <knob
715 id="tl${x}"
716 scolor="(((${i} ieq 0) or (:cbe_${ch})) and (:pe${x} igt 0)) ? 'threshold' : 'threshold_inactive'"
717 bg.bright="(((${i} ieq 0) or (:cbe_${ch})) and (:pe${x} igt 0)) ? 1 : :const_bg_darken"
718 bright="(((${i} ieq 0) or (:cbe_${ch})) and (:pe${x} igt 0)) ? 1 : :const_bg_darken"/>
719 <knob
720 id="gl${x}"
721 scolor="(((${i} ieq 0) or (:cbe_${ch})) and (:pe${x} igt 0)) ? 'kscale' : 'kscale_inactive'"
722 bg.bright="(((${i} ieq 0) or (:cbe_${ch})) and (:pe${x} igt 0)) ? 1 : :const_bg_darken"
723 bright="(((${i} ieq 0) or (:cbe_${ch})) and (:pe${x} igt 0)) ? 1 : :const_bg_darken"/>
724 <knob
725 id="kn${x}"
726 scolor="(((${i} ieq 0) or (:cbe_${ch})) and (:pe${x} igt 0)) ? 'kscale' : 'kscale_inactive'"
727 bg.bright="(((${i} ieq 0) or (:cbe_${ch})) and (:pe${x} igt 0)) ? 1 : :const_bg_darken"
728 bright="(((${i} ieq 0) or (:cbe_${ch})) and (:pe${x} igt 0)) ? 1 : :const_bg_darken"/>
729 <knob
730 id="al${x}"
731 scolor="(((${i} ieq 0) or (:cbe_${ch})) and (:ae${x} igt 0)) ? 'attack_1' : 'attack_inactive'"
732 bright="(((${i} ieq 0) or (:cbe_${ch})) and (:ae${x} igt 0)) ? 1 : :const_bg_darken"
733 bg.bright="(((${i} ieq 0) or (:cbe_${ch})) and (:ae${x} igt 0)) ? 1 : :const_bg_darken"/>
734 <knob
735 id="at${x}"
736 scolor="(((${i} ieq 0) or (:cbe_${ch})) and (:ae${x} igt 0)) ? 'attack_2' : 'attack_inactive'"
737 bright="(((${i} ieq 0) or (:cbe_${ch})) and (:ae${x} igt 0)) ? 1 : :const_bg_darken"
738 bg.bright="(((${i} ieq 0) or (:cbe_${ch})) and (:ae${x} igt 0)) ? 1 : :const_bg_darken"/>
739 <knob
740 id="rl${x}"
741 scolor="(((${i} ieq 0) or (:cbe_${ch})) and (:re${x} igt 0)) ? 'release_1' : 'release_inactive'"
742 bright="(((${i} ieq 0) or (:cbe_${ch})) and (:re${x} igt 0)) ? 1 : :const_bg_darken"
743 bg.bright="(((${i} ieq 0) or (:cbe_${ch})) and (:re${x} igt 0)) ? 1 : :const_bg_darken"/>
744 <knob
745 id="rt${x}"
746 scolor="(((${i} ieq 0) or (:cbe_${ch})) and (:re${x} igt 0)) ? 'release_2' : 'release_inactive'"
747 bright="(((${i} ieq 0) or (:cbe_${ch})) and (:re${x} igt 0)) ? 1 : :const_bg_darken"
748 bg.bright="(((${i} ieq 0) or (:cbe_${ch})) and (:re${x} igt 0)) ? 1 : :const_bg_darken"/>
749 </ui:with>
750 <ui:with pad.h="6" pad.v="4">
751 <value
752 id="tl${x}"
753 detailed="false"
754 scolor="(((${i} ieq 0) or (:cbe_${ch})) and (:pe${x} igt 0)) ? 'threshold' : 'threshold_inactive'"
755 bg.bright="(((${i} ieq 0) or (:cbe_${ch})) and (:pe${x} igt 0)) ? 1 : :const_bg_darken"
756 bright="(((${i} ieq 0) or (:cbe_${ch})) and (:pe${x} igt 0)) ? 1 : :const_bg_darken"/>
757 <value
758 id="gl${x}"
759 detailed="false"
760 scolor="(((${i} ieq 0) or (:cbe_${ch})) and (:pe${x} igt 0)) ? 'threshold' : 'threshold_inactive'"
761 bg.bright="(((${i} ieq 0) or (:cbe_${ch})) and (:pe${x} igt 0)) ? 1 : :const_bg_darken"
762 bright="(((${i} ieq 0) or (:cbe_${ch})) and (:pe${x} igt 0)) ? 1 : :const_bg_darken"/>
763 <value
764 id="kn${x}"
765 detailed="false"
766 scolor="(((${i} ieq 0) or (:cbe_${ch})) and (:pe${x} igt 0)) ? 'threshold' : 'threshold_inactive'"
767 bg.bright="(((${i} ieq 0) or (:cbe_${ch})) and (:pe${x} igt 0)) ? 1 : :const_bg_darken"
768 bright="(((${i} ieq 0) or (:cbe_${ch})) and (:pe${x} igt 0)) ? 1 : :const_bg_darken"/>
769 <value
770 id="al${x}"
771 detailed="false"
772 scolor="(((${i} ieq 0) or (:cbe_${ch})) and (:ae${x} igt 0)) ? 'attack_1' : 'attack_inactive'"
773 bright="(((${i} ieq 0) or (:cbe_${ch})) and (:ae${x} igt 0)) ? 1 : :const_bg_darken"
774 bg.bright="(((${i} ieq 0) or (:cbe_${ch})) and (:ae${x} igt 0)) ? 1 : :const_bg_darken"/>
775 <value
776 id="at${x}"
777 detailed="false"
778 scolor="(((${i} ieq 0) or (:cbe_${ch})) and (:ae${x} igt 0)) ? 'attack_1' : 'attack_inactive'"
779 bright="(((${i} ieq 0) or (:cbe_${ch})) and (:ae${x} igt 0)) ? 1 : :const_bg_darken"
780 bg.bright="(((${i} ieq 0) or (:cbe_${ch})) and (:ae${x} igt 0)) ? 1 : :const_bg_darken"/>
781 <value
782 id="rl${x}"
783 detailed="false"
784 scolor="(((${i} ieq 0) or (:cbe_${ch})) and (:re${x} igt 0)) ? 'release_2' : 'release_inactive'"
785 bright="(((${i} ieq 0) or (:cbe_${ch})) and (:re${x} igt 0)) ? 1 : :const_bg_darken"
786 bg.bright="(((${i} ieq 0) or (:cbe_${ch})) and (:re${x} igt 0)) ? 1 : :const_bg_darken"/>
787 <value
788 id="rt${x}"
789 detailed="false"
790 scolor="(((${i} ieq 0) or (:cbe_${ch})) and (:re${x} igt 0)) ? 'release_2' : 'release_inactive'"
791 bright="(((${i} ieq 0) or (:cbe_${ch})) and (:re${x} igt 0)) ? 1 : :const_bg_darken"
792 bg.bright="(((${i} ieq 0) or (:cbe_${ch})) and (:re${x} igt 0)) ? 1 : :const_bg_darken"/>
793 </ui:with>
794 </ui:for>
795 </grid>
796
797 </vbox>
798 </cell>
799
800 <!-- Graph -->
801 <vbox>
802 <void bg.color="bg" height="4" vreduce="true"/>
803
804 <group ui:inject="GraphGroup" ipadding="0" expand="true" fill="true" text.show="false" hmin="301">
805 <ui:eval id="bvisl" value="(:i > 0) ? ':cbe_' scat :i scat 'l' : 'true'"/>
806 <ui:eval id="bvisr" value="(:i > 0) ? ':cbe_' scat :i scat 'r' : 'true'"/>
807 <graph width.min="256" height.min="256" expand="false">
808 <origin hpos="-1" vpos="-1" visible="false"/>
809
810 <!-- Gray grid -->
811 <ui:for id="g" first="-60" last="12" step="24">
812 <marker v="${g} db" color="graph_alt_1"/>
813 <marker v="${g} db" ox="1" oy="0" color="graph_alt_1"/>
814 </ui:for>
815
816 <!-- Yellow grid -->
817 <ui:for id="g" first="-48" last="-24" step="24">
818 <marker v="${g} db" color="graph_sec"/>
819 <marker v="${g} db" ox="1" oy="0" color="graph_sec"/>
820 </ui:for>
821
822 <!-- Axes and boundaries -->
823 <marker v="1" ox="1" oy="0" dv="1" dx=":_a_width" dy=":_a_height" color="graph_alt_1" width="2" smooth="true"/>
824 <marker v="24 db" color="graph_alt_1" visibility="false"/>
825 <marker v="24 db" ox="1" oy="0" color="graph_alt_1" visibility="false"/>
826 <axis min="-72 db" max="24 db" color="graph_prim" angle="0.0" log="true" visibility="false"/>
827 <axis min="-72 db" max="24 db" color="graph_prim" angle="0.5" log="true" visibility="false"/>
828
829 <!-- 0 dB markers -->
830 <marker v="0 db" ox="0" oy="1" width="2" color="graph_prim"/>
831 <marker v="0 db" ox="1" oy="0" width="2" color="graph_prim"/>
832
833 <!-- Meshes -->
834 <mesh id="cmg_${i}l" width="2" color="left" smooth="true" visibility="${bvisl} and :pe_${i}l and :cmv_${i}l"/>
835 <mesh id="cmg_${i}r" width="2" color="right" smooth="true" visibility="${bvisr} and :pe_${i}r and :cmv_${i}r"/>
836 <mesh id="ccg_${i}l" width="3" color="left" smooth="true" visibility="${bvisl} and :pe_${i}l "/>
837 <mesh id="ccg_${i}r" width="3" color="right" smooth="true" visibility="${bvisr} and :pe_${i}r "/>
838
839 <!-- Markers -->
840 <ui:for id="c" first="0" last="3">
841 <ui:set id="x" value="${c}_${i}"/>
842 <marker id="al${x}l" editable="true" width="2" pointer="hsize" color="attack_1" hcolor="attack_1" smooth="true" visibility="${bvisl} and :pe_${i}l and :cmv_${i}l and :ae${x}l"/>
843 <text x=":al${x}l" y="24 db" text="graph.values.idL_eft" text:id="${c}" color="attack_1" halign="-1" valign="-1" visibility="${bvisl} and :pe_${i}l and :cmv_${i}l and :ae${x}l"/>
844 <marker id="al${x}r" editable="true" width="2" pointer="hsize" color="attack_2" hcolor="attack_2" smooth="true" visibility="${bvisr} and :pe_${i}r and :cmv_${i}r and :ae${x}r"/>
845 <text x=":al${x}r" y="24 db" text="graph.values.idR_ight" text:id="${c}" color="attack_2" halign="-1" valign="-1" visibility="${bvisr} and :pe_${i}r and :cmv_${i}r and :ae${x}r"/>
846 </ui:for>
847 <ui:for id="c" first="0" last="3">
848 <ui:set id="x" value="${c}_${i}"/>
849 <marker id="rl${x}l" editable="true" width="2" pointer="hsize" color="release_1" hcolor="release_1" smooth="true" visibility="${bvisl} and :pe_${i}l and :cmv_${i}l and :re${x}l"/>
850 <text x=":rl${x}l" y="-72 db" text="graph.values.idL_eft" text:id="${c}" color="release_1" halign="-1" valign="1" visibility="${bvisl} and :pe_${i}l and :cmv_${i}l and :re${x}l"/>
851
852 <marker id="rl${x}r" editable="true" width="2" pointer="hsize" color="release_2" hcolor="release_2" smooth="true" visibility="${bvisr} and :pe_${i}r and :cmv_${i}r and :re${x}r"/>
853 <text x=":rl${x}r" y="-72 db" text="graph.values.idR_ight" text:id="${c}" color="release_2" halign="-1" valign="1" visibility="${bvisr} and :pe_${i}r and :cmv_${i}r and :re${x}r"/>
854 </ui:for>
855
856 <!-- Dots -->
857 <ui:for id="c" first="0" last="3">
858 <ui:set id="x" value="${c}_${i}"/>
859 <dot x.id="tl${x}l" y.id="gl${x}l" z.id="kn${x}l" x.editable="true" y.editable="true" z.editable="true" color="left" hover.color="left" bcolor="left" hover.bcolor="left" pointer="drag" visibility="${bvisl} and :pe_${i}l and :pe${x}l"/>
860 <dot x.id="tl${x}r" y.id="gl${x}r" z.id="kn${x}r" x.editable="true" y.editable="true" z.editable="true" color="right" hover.color="right" bcolor="right" hover.bcolor="right" pointer="drag" visibility="${bvisr} and :pe_${i}r and :pe${x}r"/>
861 </ui:for>
862 <ui:for id="c" first="0" last="3">
863 <ui:set id="x" value="${c}_${i}"/>
864 <text x=":tl${x}l" y=":gl${x}l" text="graph.values.idL_eft" text:id="${c}" color="left" halign="-1" valign="1" visibility="${bvisl} and :pe_${i}l and :pe${x}l"/>
865 <text x=":tl${x}r" y=":gl${x}r" text="graph.values.idR_ight" text:id="${c}" color="right" halign="-1" valign="1" visibility="${bvisr} and :pe_${i}r and :pe${x}r"/>
866 </ui:for>
867
868 <dot x.id="elm_${i}l" y.id="clm_${i}l" color="left" bcolor="left" visibility="${bvisl} and :pe_${i}l"/>
869 <dot x.id="elm_${i}r" y.id="clm_${i}r" color="right" bcolor="right" visibility="${bvisr} and :pe_${i}r"/>
870
871 <!-- Text -->
872 <text x="0 db" y="0 db" text="0" halign="1" valign="1"/>
873 <ui:attributes x="0 db" halign="1" valign="-1">
874 <text y="24 db" text="graph.units.db"/>
875 <text y="12 db" text="+12"/>
876 <text y="-12 db" text="-12"/>
877 <text y="-24 db" text="-24"/>
878 <text y="-36 db" text="-36"/>
879 <text y="-48 db" text="-48"/>
880 <text y="-60 db" text="-60"/>
881 <text y="-72 db" text="graph.axis.out" valign="1"/>
882 </ui:attributes>
883 <ui:attributes y="0 db" halign="-1" valign="1">
884 <text x="24 db" text="graph.units.db"/>
885 <text x="12 db" text="+12"/>
886 <text x="-12 db" text="-12"/>
887 <text x="-24 db" text="-24"/>
888 <text x="-36 db" text="-36"/>
889 <text x="-48 db" text="-48"/>
890 <text x="-60 db" text="-60"/>
891 <text x="-72 db" text="graph.axis.in" halign="1"/>
892 </ui:attributes>
893 </graph>
894 </group>
895 </vbox>
896
897 <!-- Meters -->
898 <vbox>
899 <void bg.color="bg" height="4" vreduce="true"/>
900 <label text="labels.gain_" bg.color="bg_schema" pad.v="4"/>
901 <ledmeter vexpand="true" height.min="256" angle="1">
902 <ledchannel id="rlm_${i}l" min="-72 db" max="24 db" log="true" balance="0 db" balance.visibility="true" type="peak" value.color="bright_blue"/>
903 <ledchannel id="rlm_${i}r" min="-72 db" max="24 db" log="true" balance="0 db" balance.visibility="true" type="peak" value.color="bright_blue"/>
904 </ledmeter>
905 </vbox>
906
907 <!-- Additional controls -->
908 <cell cols="2">
909 <grid rows="5" cols="11" bg.color="bg_schema">
910 <cell cols="11">
911 <hbox>
912 <ui:attributes bg.color="bg_schema" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken">
913 <hbox bg.color="bg_schema" spacing="6">
914 <ui:with pad.v="4">
915 <button id="pe_${i}l" text="labels.chan.left_on" ui:inject="Button_left_8" hfill="true" height="19" pad.l="6"/>
916 <button id="bs_${i}l" text="labels.chan.S_olo" ui:inject="Button_green_8" hfill="true" height="19"/>
917 <button id="bm_${i}l" text="labels.chan.M_ute" ui:inject="Button_red_8" hfill="true" pad.r="6" height="19"/>
918
919 <button id="pe_${i}r" text="labels.chan.right_on" ui:inject="Button_right_8" hfill="true" height="19" pad.l="6"/>
920 <button id="bs_${i}r" text="labels.chan.S_olo" ui:inject="Button_green_8" hfill="true" height="19"/>
921 <button id="bm_${i}r" text="labels.chan.M_ute" ui:inject="Button_red_8" hfill="true" pad.r="6" height="19"/>
922 <void hexpand="true"/>
923 </ui:with>
924 </hbox>
925 </ui:attributes>
926 <vsep bg.color="bg" pad.h="2" hreduce="true"/>
927 <ui:attributes bg.color="bg_schema" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken">
928 <hbox spacing="4" vexpand="false" bg.color="bg_schema" pad.h="6" pad.b="4" pad.t="4">
929 <void hexpand="true"/>
930 <button id="cmv_${i}l" height="22" width="48" text="labels.chan.left" ui:inject="Button_left"/>
931 <button id="cmv_${i}r" height="22" width="48" text="labels.chan.right" ui:inject="Button_right"/>
932 </hbox>
933 </ui:attributes>
934 </hbox>
935 </cell>
936 <cell cols="11"><hsep bg.color="bg" pad.v="2" vreduce="true"/></cell>
937
938 <label text="labels.ratio_low" pad.h="6" pad.v="4" bg.color="bg_schema" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken"/>
939 <cell rows="3"><vsep bg.color="bg" pad.h="2" hreduce="true"/></cell>
940 <label text="labels.ratio_high" pad.h="6" pad.v="4" bg.color="bg_schema" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken"/>
941 <cell rows="3"><vsep bg.color="bg" pad.h="2" hreduce="true"/></cell>
942 <label text="labels.makeup" pad.h="6" pad.v="4" bg.color="bg_schema" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken"/>
943 <cell rows="3"><vsep bg.color="bg" pad.h="2" hreduce="true"/></cell>
944 <label text="labels.attack" pad.h="6" pad.v="4" bg.color="bg_schema" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken"/>
945 <cell rows="3"><vsep bg.color="bg" pad.h="2" hreduce="true"/></cell>
946 <label text="labels.release" pad.h="6" pad.v="4" bg.color="bg_schema" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken"/>
947 <cell rows="3"><vsep bg.color="bg" pad.h="2" hreduce="true"/></cell>
948 <label text="labels.hold" pad.h="6" pad.v="4" bg.color="bg_schema" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken"/>
949
950 <ui:attributes bg.color="bg_schema" bg.bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken" bright="((${i} ieq 0) or :cbe_${ch}) ? 1 : :const_bg_darken">
951 <ui:with pad.h="6" pad.v="4">
952 <knob id="llr_${ch}" size="20" scolor="((${i} ieq 0) or :cbe_${ch}) ? 'cycle' : 'cycle_inactive'" scolor.hue=":hue_${ch}"/>
953 <knob id="hlr_${ch}" size="20" scolor="((${i} ieq 0) or :cbe_${ch}) ? 'cycle' : 'cycle_inactive'" scolor.hue=":hue_${ch}"/>
954 <knob id="mk_${ch}" size="20" scolor="((${i} ieq 0) or :cbe_${ch}) ? 'cycle' : 'cycle_inactive'" scolor.hue=":hue_${ch}"/>
955 <knob id="atd_${ch}" size="20" scolor="((${i} ieq 0) or :cbe_${ch}) ? 'attack' : 'attack_inactive'"/>
956 <knob id="rtd_${ch}" size="20" scolor="((${i} ieq 0) or :cbe_${ch}) ? 'release' : 'release_inactive'"/>
957 <knob id="ht_${ch}" size="20" scolor="((${i} ieq 0) or :cbe_${ch}) ? 'cycle' : 'cycle_inactive'" scolor.hue=":hue_${ch}"/>
958
959 <value id="llr_${ch}" same.line="true"/>
960 <value id="hlr_${ch}" same.line="true"/>
961 <value id="mk_${ch}" same.line="true" wmin="48"/>
962 <value id="atd_${ch}" same.line="true" wmin="46"/>
963 <value id="rtd_${ch}" same.line="true" wmin="46"/>
964 <value id="ht_${ch}" same.line="true" wmin="46"/>
965 </ui:with>
966 </ui:attributes>
967 </grid>
968 </cell>
969 </grid>
970 </hbox>
971 </ui:for>
972 </cgroup>
973 </hbox>
974 </vbox>
975
976 <!-- Premix overlay -->
977 <overlay id="showpmx" trigger="premix_trigger" hpos="1" vpos="1" halign="-1" valign="1" ipadding.t="4">
978 <group text="groups.premix" vexpand="false" ipadding="0">
979 <grid rows="3" cols="${(:is_sidechain) ? 8 : 5}" spacing="0" bg.color="bg_schema" transpose="true">
980 <ui:if test=":is_sidechain">
981 <label text="labels.premix.in_to_sc" pad.h="6" pad.v="4"/>
982 <knob id="in2sc"/>
983 <value id="in2sc" pad.h="6" pad.v="4"/>
984 </ui:if>
985
986 <label text="labels.premix.in_to_link" pad.h="6" pad.v="4"/>
987 <knob id="in2lk"/>
988 <value id="in2lk"/>
989
990 <cell rows="3"><vsep pad.h="2" bg.color="bg" reduce="true"/></cell>
991
992 <ui:if test=":is_sidechain">
993 <label text="labels.premix.sc_to_in" pad.h="6" pad.v="4"/>
994 <knob id="sc2in"/>
995 <value id="sc2in" pad.h="6" pad.v="4"/>
996
997 <label text="labels.premix.sc_to_link" pad.h="6" pad.v="4"/>
998 <knob id="sc2lk"/>
999 <value id="sc2lk" pad.h="6" pad.v="4"/>
1000
1001 <cell rows="3"><vsep pad.h="2" bg.color="bg" reduce="true"/></cell>
1002 </ui:if>
1003
1004 <label text="labels.premix.link_to_in" pad.h="6" pad.v="4"/>
1005 <knob id="lk2in"/>
1006 <value id="lk2in" pad.h="6" pad.v="4"/>
1007
1008 <label text="labels.premix.link_to_sc" pad.h="6" pad.v="4"/>
1009 <knob id="lk2sc"/>
1010 <value id="lk2sc" pad.h="6" pad.v="4"/>
1011 </grid>
1012 </group>
1013 </overlay>
1014 </plugin>