Debian Codegraph @

modules/lsp-plugins-mb-dyna-processor/res/main/ui/plugins/dynamics/processor/multiband/ms.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}m" value.1=":${port}_${i}s" id.2="${port}_${i}s" value.2=":${port}_${i}m" 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}m" value.1=":${port}_${i}s" id.2="${port}_${i}s" value.2=":${port}_${i}m" 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_0m" hcolor.hue=":hue_0m" rborder="16" rcolor.hue=":hue_0m" hrborder="16" hrcolor.hue=":hue_0m"/>
93 <marker v="10" color.hue=":hue_0s" hcolor.hue=":hue_0s" rborder="16" rcolor.hue=":hue_0s" hrborder="16" hrcolor.hue=":hue_0s"/>
94 <marker id="fre_0l" color.hue=":hue_0m" hcolor.hue=":hue_0m" lborder="16" lcolor.hue=":hue_0m" hlborder="16" hlcolor.hue=":hue_0m"/>
95 <marker id="fre_0r" color.hue=":hue_0s" hcolor.hue=":hue_0s" lborder="16" lcolor.hue=":hue_0s" hlborder="16" hlcolor.hue=":hue_0s"/>
96 <ui:for id="i" first="1" last="7">
97 <marker id="sf_${i}m" ui:id="split_marker_${i}m" visibility=":cbe_${i}m" editable="true" color.hue=":hue_${i}m" hcolor.hue=":hue_${i}m" rborder="16" rcolor.hue=":hue_${i}m" hrborder="16" hrcolor.hue=":hue_${i}m" pointer="hsize"/>
98 <marker id="sf_${i}s" ui:id="split_marker_${i}s" visibility=":cbe_${i}s" editable="true" color.hue=":hue_${i}s" hcolor.hue=":hue_${i}s" rborder="16" rcolor.hue=":hue_${i}s" hrborder="16" hrcolor.hue=":hue_${i}s" pointer="hsize"/>
99 <marker id="fre_${i}m" visibility=":cbe_${i}m" color.hue=":hue_${i}m" hcolor.hue=":hue_${i}m" lborder="16" lcolor.hue=":hue_${i}m" hlborder="16" hlcolor.hue=":hue_${i}m"/>
100 <marker id="fre_${i}s" visibility=":cbe_${i}s" color.hue=":hue_${i}s" hcolor.hue=":hue_${i}s" lborder="16" lcolor.hue=":hue_${i}s" hlborder="16" hlcolor.hue=":hue_${i}s"/>
101 </ui:for>
102 </ui:with>
103
104 <!-- Meshes -->
105 <mesh id="bfc_0m" width="2" fill="true" smooth="true" color="graph_mesh_cycle" color.hue=":hue_0m" fcolor="graph_mesh_cycle" fcolor.hue=":hue_0m" fcolor.a="0.9" visibility=":flt_m"/>
106 <mesh id="bfc_0s" width="2" fill="true" smooth="true" color="graph_mesh_cycle" color.hue=":hue_0s" fcolor="graph_mesh_cycle" fcolor.hue=":hue_0s" fcolor.a="0.9" visibility=":flt_s"/>
107
108 <ui:for id="i" first="1" last="7">
109 <mesh id="bfc_${i}m" width="2" fill="true" smooth="true" color="graph_mesh_cycle" color.hue=":hue_${i}m" fcolor="graph_mesh_cycle" fcolor.hue=":hue_${i}m" fcolor.a="0.9" visibility=":flt_m and :cbe_${i}m"/>
110 <mesh id="bfc_${i}s" width="2" fill="true" smooth="true" color="graph_mesh_cycle" color.hue=":hue_${i}s" fcolor="graph_mesh_cycle" fcolor.hue=":hue_${i}s" fcolor.a="0.9" visibility=":flt_s and :cbe_${i}s"/>
111 </ui:for>
112 <mesh id="ifg_m" oy=":_ui_zoomable_spectrum_graph ? 1 : 3" width="0" color="mid_in" color.a="0.8" fcolor.a="0.8" fill="true" fcolor="mid_in" visibility=":ife_m"/>
113 <mesh id="ifg_s" oy=":_ui_zoomable_spectrum_graph ? 1 : 3" width="0" color="side_in" color.a="0.8" fcolor.a="0.8" fill="true" fcolor="side_in" visibility=":ife_s"/>
114 <mesh id="ofg_m" oy=":_ui_zoomable_spectrum_graph ? 1 : 3" width="2" color="mid" visibility=":ofe_m"/>
115 <mesh id="ofg_s" oy=":_ui_zoomable_spectrum_graph ? 1 : 3" width="2" color="side" visibility=":ofe_s"/>
116
117 <mesh id="ag_m" width="3" color="mid" smooth="true"/>
118 <mesh id="ag_s" width="3" color="side" 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}m" x=":sf_${i}m" halign="(:sf_${i}m lt 500) ? 1 : -1" text.halign="(:sf_${i}m lt 500) ? -1 : 1" color.hue=":hue_${i}m"/>
165 <text ui:id="split_note_${i}s" x=":sf_${i}s" halign="(:sf_${i}s lt 500) ? 1 : -1" text.halign="(:sf_${i}s lt 500)s ? -1 : 1" color.hue=":hue_${i}s"/>
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
179 <!-- meter in -->
180 <cell rows="2">
181 <vbox vexpand="true" bg.color="bg_schema">
182 <label text="labels.chan.in" pad.b="3" pad.t="3"/>
183 <ledmeter vexpand="true" angle="1">
184 <ledchannel id="ilm_l" min="-72 db" max="12 db" log="true" type="rms_peak" peak.visibility="true" value.color="left_in"/>
185 <ledchannel id="ilm_r" min="-72 db" max="12 db" log="true" type="rms_peak" peak.visibility="true" value.color="right_in"/>
186 </ledmeter>
187 </vbox>
188 </cell>
189
190 <!-- meter out -->
191 <cell rows="2">
192 <vbox vexpand="true" bg.color="bg_schema">
193 <label text="labels.chan.out" pad.b="3" pad.t="3"/>
194 <ledmeter vexpand="true" angle="1">
195 <ledchannel id="olm_l" min="-72 db" max="12 db" log="true" type="rms_peak" peak.visibility="true" value.color="left"/>
196 <ledchannel id="olm_r" min="-72 db" max="12 db" log="true" type="rms_peak" peak.visibility="true" value.color="right"/>
197 </ledmeter>
198 </vbox>
199 </cell>
200
201 <!-- signal -->
202 <cell rows="2">
203 <vbox spacing="4">
204 <group text="groups.signal" expand="true">
205 <grid rows="5" cols="2" hspacing="4">
206 <knob id="g_in" pad.r="4"/>
207 <vbox vfill="false">
208 <label text="labels.input" halign="0"/>
209 <value id="g_in" sline="true" halign="0"/>
210 </vbox>
211
212 <knob id="g_out" pad.r="4"/>
213 <vbox vfill="false">
214 <label text="labels.output" expand="true" halign="0"/>
215 <value id="g_out" width.min="50" sline="true" halign="0"/>
216 </vbox>
217
218 <knob id="g_dry" scolor="dry" pad.r="4"/>
219 <vbox vfill="false">
220 <label text="labels.signal.dry" halign="0"/>
221 <value id="g_dry" width.min="50" sline="true" halign="0"/>
222 </vbox>
223
224 <knob id="g_wet" scolor="wet" pad.r="4"/>
225 <vbox vfill="false">
226 <label text="labels.signal.wet" halign="0"/>
227 <value id="g_wet" width.min="50" sline="true" halign="0"/>
228 </vbox>
229
230 <knob id="drywet" scolor="drywet" pad.r="4"/>
231 <vbox vfill="false">
232 <label text="labels.signal.drywet" halign="0"/>
233 <value id="drywet" width.min="50" sline="true" halign="0"/>
234 </vbox>
235 </grid>
236 </group>
237
238 <!-- Analysis -->
239 <group text="groups.analysis" expand="true" ipadding="0">
240 <vbox>
241 <grid rows="4" cols="2">
242 <align halign="-1" pad.t="4" pad.l="6">
243 <label text="labels.fft.fft_in"/>
244 </align>
245 <hbox spacing="4" pad.v="4" pad.h="6" hfill="false">
246 <button id="ife_m" text="labels.chan.M_id" size="19" ui:inject="Button_mid_8"/>
247 <button id="ife_s" text="labels.chan.S_ide" size="19" ui:inject="Button_side_8"/>
248 </hbox>
249
250 <cell cols="2"><hsep pad.v="2" bg.color="bg" vreduce="true"/></cell>
251
252 <align halign="-1" pad.t="4" pad.l="6">
253 <label text="labels.fft.fft_out" halign="0"/>
254 </align>
255 <hbox spacing="4" pad.v="4" pad.h="6" hfill="false">
256 <button id="ofe_m" text="labels.chan.M_id" size="19" ui:inject="Button_mid_8"/>
257 <button id="ofe_s" text="labels.chan.S_ide" size="19" ui:inject="Button_side_8"/>
258 </hbox>
259
260 <cell cols="2"><hsep pad.v="2" bg.color="bg" vreduce="true"/></cell>
261 </grid>
262
263 <grid rows="2" cols="2" transpose="false" expand="true" hspacing="4">
264 <knob id="react" size="20" pad.r="4" pad.l="6"/>
265 <vbox vfill="false" pad.r="6">
266 <label text="labels.metering.reactivity" halign="0"/>
267 <value id="react" width.min="50" sline="true" halign="0"/>
268 </vbox>
269
270 <knob id="shift" size="20" pad.r="4" pad.l="6"/>
271 <vbox vfill="false" pad.r="6">
272 <label text="labels.metering.shift" halign="0"/>
273 <value id="shift" width.min="50" sline="true" halign="0"/>
274 </vbox>
275 </grid>
276 </vbox>
277 </group>
278 </vbox>
279 </cell>
280
281 <!-- bottom line -->
282 <hbox spacing="4" vreduce="true" bg.color="bg_schema" pad.h="2">
283 <label text="labels.mode:"/>
284 <combo id="mode" pad.r="8" pad.v="4"/>
285 <label text="labels.sc_boost:"/>
286 <combo id="envb" pad.r="8"/>
287 <button ui:id="premix_trigger" id="showpmx" text="labels.premix" size="22"/>
288 <label text="labels.filters" pad.l="6"/>
289 <hbox spacing="4" pad.h="6">
290 <button id="flt_m" text="labels.chan.M_id" size="22" ui:inject="Button_mid"/>
291 <button id="flt_s" text="labels.chan.S_ide" size="22" ui:inject="Button_side"/>
292 </hbox>
293 <void hexpand="true"/>
294 <button id="clink" ui:inject="Button_green" text="labels.chan.ms_link"/>
295 <vsep pad.h="2" bg.color="bg" reduce="true"/>
296 <shmlink id="link" pad.l="2"/>
297 </hbox>
298 </grid>
299
300 <!-- down part -->
301 <hbox>
302
303 <cgroup id="bsel" embed.h=":bsel ilt 2" embed.b=":bsel ilt 2" width.min="932" height.min="480">
304 <!-- Main part (2 pages) -->
305 <ui:for id="c" first="0" count="2">
306 <ui:eval id="channel" value="(:c ieq 0) ? 'num_id_M_id' : 'num_id_S_ide' "/>
307
308 <grid rows="12" cols="25" transpose="true">
309 <!-- Labels -->
310 <label text="labels.band" pad.v="4" bg.color="bg_schema" hreduce="true"/>
311 <vbox pad.v="4">
312 <label text="labels.range"/>
313 <label text="labels.units.:hz"/>
314 </vbox>
315 <label text="labels.controls" pad.v="4" bg.color="bg_schema"/>
316 <label text="labels.sidechain" pad.v="4" bg.color="bg_schema"/>
317 <cell rows="2" pad.v="4" hreduce="true" pad.h="6">
318 <label text="labels.sc_preamp_makeup:db_db"/>
319 </cell>
320 <cell rows="2" pad.v="4">
321 <label text="labels.attack_release:ms_ms"/>
322 </cell>
323 <cell rows="2" pad.v="4">
324 <label text="labels.ratio_low_high"/>
325 </cell>
326 <cell ><hsep pad.v="2" bg.color="bg" vreduce="true"/></cell>
327 <cell rows="6" pad.v="4">
328 <label text="labels.threshold:db"/>
329 </cell>
330
331 <!-- Bands -->
332 <ui:for id="i" first="0" last="7">
333 <ui:set id="ch" value="${i}${(:c ieq 0) ? 'm' : 's'}"/>
334
335 <!-- Column 1 -->
336 <ui:if test=":i ieq 0">
337 <!-- Separator -->
338 <cell rows="12"><vsep pad.h="2" bg.color="bg" hreduce="true"/></cell>
339 <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">
340 <cell cols="2" bg.color="bg_schema">
341 <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"/>
342 </cell>
343 <cell cols="2" fill="false">
344 <vbox width.min="110" height="36" vreduce="true">
345 <label text="0"/>
346 <value id="fre_${ch}" sline="true" detailed="false"/>
347 </vbox>
348 </cell>
349 </ui:with>
350 </ui:if>
351
352 <ui:if test=":i ine 0">
353 <!-- Separator -->
354 <cell rows="12"><vsep pad.h="2" bg.color="bg" hreduce="true"/></cell>
355 <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">
356 <cell cols="2" bg.color="bg_schema">
357 <button
358 id="cbe_${ch}"
359 text="labels.chan.${channel}"
360 text:id="${:i+1}"
361 ui:inject="Button_Cycle"
362 hfill="true"
363 height="19"
364 down.color.hue=":hue_${ch}"
365 down.hover.color.hue=":hue_${ch}"
366 text.down.color.hue=":hue_${ch}"
367 text.down.hover.color.hue=":hue_${ch}"
368 border.down.color.hue=":hue_${ch}"
369 border.down.hover.color.hue=":hue_${ch}"
370 pad.h="6"
371 pad.v="4"/>
372 </cell>
373 <vbox width.min="55">
374 <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}"/>
375 </vbox>
376 </ui:with>
377 </ui:if>
378 <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">
379 <cell cols="2" pad.h="6" bg.color="bg_schema">
380 <grid rows="2" cols="1" hspacing="4">
381 <button
382 id="pe_${ch}"
383 text="labels.chan.on"
384 height="19"
385 hfill="true"
386 ui:inject="Button_Cycle"
387 down.color.hue=":hue_${ch}"
388 down.hover.color.hue=":hue_${ch}"
389 text.down.color.hue=":hue_${ch}"
390 text.down.hover.color.hue=":hue_${ch}"
391 border.down.color.hue=":hue_${ch}"
392 border.down.hover.color.hue=":hue_${ch}"
393 pad.v="4"/>
394 <hbox pad.b="4">
395 <button id="bs_${ch}" text="labels.chan.solo" height="19" hfill="true" ui:inject="Button_green_8"/>
396 <button id="bm_${ch}" text="labels.chan.mute" height="19" hfill="true" ui:inject="Button_red_8" pad.l="4"/>
397 </hbox>
398 </grid>
399 </cell>
400 <cell cols="2" pad.h="6" bg.color="bg_schema">
401 <combo id="sce_${ch}" fill="true" pad.l="4"/>
402 </cell>
403 <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}"/>
404 <value id="scp_${ch}" pad.b="4" width.min="32" detailed="false"/>
405 <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}"/>
406 <value id="atd_${ch}" pad.b="4" detailed="false"/>
407 <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}"/>
408 <value id="llr_${ch}" pad.b="4" detailed="false"/>
409 </ui:with>
410 <!-- Separator -->
411 <cell cols="2"><hsep pad.v="2" bg.color="bg" vreduce="true"/></cell>
412
413 <!-- Threshold block -->
414 <cell cols="2" transpose="true">
415 <grid rows="7" cols="3">
416 <ui:for id="c" first="0" last="3">
417 <ui:if test=":c ine 1 and :c ine 3">
418 <ui:set id="x" value="${c}_${ch}"/>
419 <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">
420 <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"/>
421 <vbox width.min="55">
422 <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}"/>
423 </vbox>
424 <value id="tl${x}" pad.b="4" detailed="false"/>
425 </ui:with>
426 </ui:if>
427 <ui:if test=":c ieq 0"><hsep pad.v="2" bg.color="bg" vreduce="true"/></ui:if>
428 </ui:for>
429
430 <cell rows="7"><vsep pad.h="2" bg.color="bg" hreduce="true"/></cell>
431
432 <ui:for id="c" first="0" last="3">
433 <ui:if test=":c ine 0 and :c ine 2">
434 <ui:set id="x" value="${c}_${ch}"/>
435 <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">
436 <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"/>
437 <vbox width.min="55">
438 <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}"/>
439 </vbox>
440 <value id="tl${x}" pad.b="4" detailed="false"/>
441 </ui:with>
442 </ui:if>
443 <ui:if test=":c ieq 1"><hsep pad.v="2" bg.color="bg" vreduce="true"/></ui:if>
444 </ui:for>
445 </grid>
446 </cell>
447 <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">
448 <!-- Column 2 -->
449 <ui:if test=":i ine 0">
450 <vbox width.min="55" height="36" vreduce="true">
451 <value id="sf_${ch}" detailed="false"/>
452 <value id="fre_${ch}" detailed="false" visibility=":cbe_${ch}"/>
453 <label text="labels.chan.off" visibility="not :cbe_${ch}"/>
454 </vbox>
455 </ui:if>
456 <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}"/>
457 <value id="mk_${ch}" pad.b="4" width.min="32" detailed="false"/>
458 <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"/>
459 <value id="rtd_${ch}" size="16" pad.b="4" detailed="false" bg.color="bg_schema"/>
460 <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"/>
461 <value id="hlr_${ch}" size="16" pad.b="4" detailed="false" bg.color="bg_schema"/>
462
463 </ui:with>
464 </ui:for>
465 </grid>
466 </ui:for>
467
468 <!-- Band settings -->
469 <ui:for id="xc" first="0" count="16">
470 <ui:eval id="i" value=":xc idiv 2"/>
471 <ui:set id="ch" value="${i}${(:xc imod 2) ? 's' : 'm'}"/>
472 <hbox>
473 <grid rows="2" cols="4" spacing="4" bg.color="bg">
474 <!-- Sidechain setup -->
475 <cell rows="2">
476 <vbox expand="false" bg.color="bg_schema">
477
478 <grid rows="9" cols="3" transpose="true" bg.color="bg_schema">
479 <cell cols="3">
480 <void bg.color="bg" height="4" vreduce="true"/>
481 </cell>
482
483 <label text="labels.band"/>
484 <ui:if test=":i ieq 0">
485 <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"/>
486 </ui:if>
487
488 <ui:if test=":i ine 0">
489 <button
490 id="cbe_${ch}"
491 text="labels.chan.active_num_id"
492 text:id="${:i+1}"
493 ui:inject="Button_Cycle"
494 hfill="true"
495 height="19"
496 pad.h="6"
497 pad.v="4"
498 down.color.hue=":hue_${ch}"
499 down.hover.color.hue=":hue_${ch}"
500 text.down.color.hue=":hue_${ch}"
501 text.down.hover.color.hue=":hue_${ch}"
502 border.down.color.hue=":hue_${ch}"
503 border.down.hover.color.hue=":hue_${ch}"/>
504 </ui:if>
505
506 <!-- Sidechain -->
507 <cell cols="3">
508 <vbox vreduce="true">
509 <void bg.color="bg" height="4"/>
510 <align halign="-1" vreduce="true">
511 <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"/>
512 </align>
513 <hsep vreduce="true"/>
514 </vbox>
515 </cell>
516
517 <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">
518 <cell >
519 <vbox >
520 <label text="labels.sc.preamp" pad.h="6" pad.v="4" vreduce="true"/>
521 <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}"/>
522 <value id="scp_${ch}" sline="true" width.min="48"/>
523 </vbox>
524 </cell>
525 </ui:attributes>
526
527 <cell cols="3">
528 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
529 </cell>
530
531 <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">
532 <vbox>
533 <label text="labels.sc.reactivity" pad.h="6" pad.v="4" vreduce="true"/>
534 <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}"/>
535 <value id="scr_${ch}" sline="true"/>
536 </vbox>
537 </ui:attributes>
538
539 <cell cols="3">
540 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
541 </cell>
542
543 <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">
544 <vbox>
545 <label text="labels.sc.lookahead" pad.h="6" pad.v="4" vreduce="true"/>
546 <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}"/>
547 <value id="sla_${ch}" sline="true"/>
548 </vbox>
549 </ui:attributes>
550
551 <cell rows="2">
552 <vsep bg.color="bg" pad.h="2" hreduce="true"/>
553 </cell>
554
555 <vsep bg.color="bg" pad.h="2" hreduce="true"/>
556 <vsep bg.color="bg" pad.h="2" hreduce="true"/>
557 <vsep bg.color="bg" pad.h="2" hreduce="true"/>
558
559 <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">
560 <hbox fill="false" pad.h="6" pad.t="4">
561 <label text="labels.range" pad.r="4"/>
562 <label text="labels.units.:hz"/>
563 </hbox>
564
565 <ui:if test=":i ieq 0">
566 <vbox width="78" pad.v="2" fill="false">
567 <label text="0"/>
568 <value id="fre_${ch}" sline="true" detailed="false"/>
569 </vbox>
570 </ui:if>
571
572 <ui:if test=":i ine 0">
573 <hbox fill="false" pad.h="6">
574 <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}"/>
575 <vbox fill="false" pad.l="6">
576 <value id="sf_${ch}" width.min="32" detailed="false"/>
577 <value id="fre_${ch}" detailed="false" width.min="32" visibility=":cbe_${ch}"/>
578 <label text="labels.chan.off" width.min="32" visibility="not :cbe_${ch}"/>
579 </vbox>
580 </hbox>
581 </ui:if>
582 </ui:attributes>
583
584 <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">
585 <vbox>
586 <label text="labels.setup" pad.h="6" pad.t="4" fill="false" vreduce="true"/>
587
588 <vbox fill="false" spacing="1">
589 <ui:with pad.h="6" pad.b="4">
590 <combo id="scm_${ch}" fill="true" width.min="74"/>
591 <combo id="scs_${ch}" fill="true"/>
592 <combo id="sce_${ch}" fill="true"/>
593 </ui:with>
594 </vbox>
595 </vbox>
596 </ui:attributes>
597
598 <vbox bg.color="bg_schema">
599 <button
600 text="labels.flt.LCF"
601 pad.h="6"
602 id="sclc_${ch}"
603 ui:inject="Button_Cycle"
604 hfill="true"
605 height="19"
606 down.color.hue=":hue_${ch}"
607 down.hover.color.hue=":hue_${ch}"
608 text.down.color.hue=":hue_${ch}"
609 text.down.hover.color.hue=":hue_${ch}"
610 border.down.color.hue=":hue_${ch}"
611 border.down.hover.color.hue=":hue_${ch}"
612 bright="((:sclc_${ch} and :cbe_${ch}) or (:sclc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"
613 bg.bright="((:sclc_${ch} and :cbe_${ch}) or (:sclc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"/>
614 <knob
615 id="sclf_${ch}"
616 size="16"
617 ssize="3"
618 scolor="((:sclc_${ch} and :cbe_${ch}) or (:sclc_${ch} and :cbe_${ch} ine 0)) ? 'cycle' : 'cycle_inactive'"
619 pad.v="4"
620 pad.l="4"
621 scolor.hue=":hue_${ch}"
622 bright="((:sclc_${ch} and :cbe_${ch}) or (:sclc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"
623 bg.bright="((:sclc_${ch} and :cbe_${ch}) or (:sclc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"/>
624 <value
625 id="sclf_${ch}"
626 pad.h="6"
627 bright="((:sclc_${ch} and :cbe_${ch}) or (:sclc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"
628 bg.bright="((:sclc_${ch} and :cbe_${ch}) or (:sclc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"
629 width.min="30"
630 same.line="true"/>
631 </vbox>
632 <vbox bg.color="bg_schema">
633 <button
634 text="labels.flt.HCF"
635 pad.h="6"
636 id="schc_${ch}"
637 ui:inject="Button_Cycle"
638 hfill="true"
639 height="19"
640 down.color.hue=":hue_${ch}"
641 down.hover.color.hue=":hue_${ch}"
642 text.down.color.hue=":hue_${ch}"
643 text.down.hover.color.hue=":hue_${ch}"
644 border.down.color.hue=":hue_${ch}"
645 border.down.hover.color.hue=":hue_${ch}"
646 bright="((:schc_${ch} and :cbe_${ch}) or (:schc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"
647 bg.bright="((:schc_${ch} and :cbe_${ch}) or (:schc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"/>
648 <knob
649 id="schf_${ch}"
650 size="16"
651 ssize="3"
652 scolor="((:schc_${ch} and :cbe_${ch}) or (:schc_${ch} and :cbe_${ch} ine 0)) ? 'cycle' : 'cycle_inactive'"
653 pad.v="4"
654 pad.l="4"
655 scolor.hue=":hue_${ch}"
656 bright="((:schc_${ch} and :cbe_${ch}) or (:schc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"
657 bg.bright="((:schc_${ch} and :cbe_${ch}) or (:schc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"/>
658 <value
659 id="schf_${ch}"
660 pad.h="6"
661 bg.bright="((:schc_${ch} and :cbe_${ch}) or (:schc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"
662 bright="((:schc_${ch} and :cbe_${ch}) or (:schc_${ch} and :cbe_${ch} ine 0)) ? 1 : :const_bg_darken"
663 width.min="30"
664 same.line="true"/>
665 </vbox>
666 </grid>
667 </vbox>
668
669 </cell>
670 <cell rows="2">
671 <vbox expand="true" bg.color="bg_schema">
672
673 <void bg.color="bg" height="4" vreduce="true"/>
674
675 <align halign="-1" vreduce="true">
676 <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"/>
677 </align>
678 <hsep vreduce="true"/>
679
680 <!-- Processor settings -->
681
682 <grid rows="13" cols="13" spacing="0" bg.color="bg_schema">
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="bvism" value="(:i > 0) ? ':cbe_' scat :i scat 'm' : 'true'"/>
806 <ui:eval id="bviss" value="(:i > 0) ? ':cbe_' scat :i scat 's' : '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}m" width="2" color="mid" smooth="true" visibility="${bvism} and :pe_${i}m and :cmv_${i}m"/>
835 <mesh id="cmg_${i}s" width="2" color="side" smooth="true" visibility="${bviss} and :pe_${i}s and :cmv_${i}s"/>
836 <mesh id="ccg_${i}m" width="3" color="mid" smooth="true" visibility="${bvism} and :pe_${i}m "/>
837 <mesh id="ccg_${i}s" width="3" color="side" smooth="true" visibility="${bviss} and :pe_${i}s "/>
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}m" editable="true" width="2" pointer="hsize" color="attack_1" hcolor="attack_1" smooth="true" visibility="${bvism} and :pe_${i}m and :cmv_${i}m and :ae${x}m"/>
843 <text x=":al${x}m" y="24 db" text="graph.values.idM_id" text:id="${c}" color="attack_1" halign="-1" valign="-1" visibility="${bvism} and :pe_${i}m and :cmv_${i}m and :ae${x}m"/>
844 <marker id="al${x}s" editable="true" width="2" pointer="hsize" color="attack_2" hcolor="attack_2" smooth="true" visibility="${bviss} and :pe_${i}s and :cmv_${i}s and :ae${x}s"/>
845 <text x=":al${x}s" y="24 db" text="graph.values.idS_ide" text:id="${c}" color="attack_2" halign="-1" valign="-1" visibility="${bviss} and :pe_${i}s and :cmv_${i}s and :ae${x}s"/>
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}m" editable="true" width="2" pointer="hsize" color="release_1" hcolor="release_1" smooth="true" visibility="${bvism} and :pe_${i}m and :cmv_${i}m and :re${x}m"/>
850 <text x=":rl${x}m" y="-72 db" text="graph.values.idM_id" text:id="${c}" color="release_1" halign="-1" valign="1" visibility="${bvism} and :pe_${i}m and :cmv_${i}m and :re${x}m"/>
851
852 <marker id="rl${x}s" editable="true" width="2" pointer="hsize" color="release_2" hcolor="release_2" smooth="true" visibility="${bviss} and :pe_${i}s and :cmv_${i}s and :re${x}s"/>
853 <text x=":rl${x}s" y="-72 db" text="graph.values.idS_ide" text:id="${c}" color="release_2" halign="-1" valign="1" visibility="${bviss} and :pe_${i}s and :cmv_${i}s and :re${x}s"/>
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}m" y.id="gl${x}m" z.id="kn${x}m" x.editable="true" y.editable="true" z.editable="true" color="mid" hover.color="mid" bcolor="mid" hover.bcolor="mid" pointer="drag" visibility="${bvism} and :pe_${i}m and :pe${x}m"/>
860 <dot x.id="tl${x}s" y.id="gl${x}s" z.id="kn${x}s" x.editable="true" y.editable="true" z.editable="true" color="side" hover.color="side" bcolor="side" hover.bcolor="side" pointer="drag" visibility="${bviss} and :pe_${i}s and :pe${x}s"/>
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}m" y=":gl${x}m" text="graph.values.idM_id" text:id="${c}" color="mid" halign="-1" valign="1" visibility="${bvism} and :pe_${i}m and :pe${x}m"/>
865 <text x=":tl${x}s" y=":gl${x}s" text="graph.values.idS_ide" text:id="${c}" color="side" halign="-1" valign="1" visibility="${bviss} and :pe_${i}s and :pe${x}s"/>
866 </ui:for>
867
868 <dot x.id="elm_${i}m" y.id="clm_${i}m" color="mid" bcolor="mid" visibility="${bvism} and :pe_${i}m"/>
869 <dot x.id="elm_${i}s" y.id="clm_${i}s" color="side" bcolor="side" visibility="${bviss} and :pe_${i}s"/>
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}m" 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}s" 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}m" text="labels.chan.mid_on" ui:inject="Button_mid_8" hfill="true" height="19" pad.l="6"/>
916 <button id="bs_${i}m" text="labels.chan.S_olo" ui:inject="Button_green_8" hfill="true" height="19"/>
917 <button id="bm_${i}m" text="labels.chan.M_ute" ui:inject="Button_red_8" hfill="true" pad.r="6" height="19"/>
918
919 <button id="pe_${i}s" text="labels.chan.side_on" ui:inject="Button_side_8" hfill="true" height="19" pad.l="6"/>
920 <button id="bs_${i}s" text="labels.chan.S_olo" ui:inject="Button_green_8" hfill="true" height="19"/>
921 <button id="bm_${i}s" 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}m" height="22" width="48" text="labels.chan.mid" ui:inject="Button_mid"/>
931 <button id="cmv_${i}s" height="22" width="48" text="labels.chan.side" ui:inject="Button_side"/>
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>