Debian Codegraph @

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

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