Debian Codegraph @

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

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