Debian Codegraph @

modules/lsp-plugins-beat-breather/res/main/ui/plugins/dynamics/beat_breather/mono.xml

raw
1 <plugin resizable="true">
2
3 <vbox vspacing="4" hspacing="4" expand="true">
4 <grid rows="2" cols="6" vspacing="4" hspacing="4" expand="true">
5
6 <group ui:inject="GraphGroup" ipadding="0" expand="true" fill="true" text="labels.graphs.spectrum">
7 <graph width.min="590" height.min="186" expand="true" fill="true">
8 <origin hpos="-1" vpos="-1" visible="false"/>
9
10 <!-- Additional grid -->
11 <ui:with color="graph_alt_1">
12 <ui:for id="f" first="20" last="90" step="10">
13 <marker v="${:f}"/>
14 <marker v="${:f*10}"/>
15 <marker v="${:f*100}"/>
16 </ui:for>
17 <marker v="20000"/>
18 <ui:with ox="1" oy="0">
19 <marker v="+12 db"/>
20 <marker v="-12 db"/>
21 <marker v="-36 db"/>
22 <marker v="-60 db"/>
23
24 <ui:for id="g" first="-42" last="6" step="12">
25 <marker v="${g} db" visibility=":zoom le -9 db"/>
26 </ui:for>
27 <ui:for id="g" first="-21" last="3" step="6">
28 <marker v="${g} db" visibility=":zoom le -15 db"/>
29 </ui:for>
30 </ui:with>
31 </ui:with>
32
33 <!-- Secondary grid -->
34 <ui:with color="graph_sec">
35 <marker v="100"/>
36 <marker v="1000"/>
37 <marker v="10000"/>
38 <marker value="0 db" ox="1" oy="0"/>
39 <marker value="-24 db" ox="1" oy="0"/>
40 <marker value="-48 db" ox="1" oy="0"/>
41 </ui:with>
42
43 <!-- Piano keys -->
44 <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">
45 <piano natural="false" note.min="12" note.max="127" height="24" editable="false" selectable="false" border="0"/>
46 </embed>
47
48 <!-- Octave text -->
49 <ui:with ox="0" oy="4" y="44" halign="1" valign="1" pgroup="0" priority="10" visibility=":_ui_graph_piano_layout" pad.b="2">
50 <ui:for id="octave" first="0" last="9">
51 <text x="midi_freq(12 * ${:octave + 1})" text="lists.notes.fmt.c" text:octave="${octave}" valign="1" halign="0"/>
52 </ui:for>
53 </ui:with>
54
55 <!-- Band markers -->
56 <ui:with
57 width="2"
58 fill="0.5"
59 color.a="0.2"
60 hcolor.a="0.8"
61 lcolor.a="0.8"
62 hlcolor.a="0.8"
63 rcolor.a="0.8"
64 hrcolor.a="0.8"
65 color="graph_marker_cycle"
66 hcolor="graph_marker_cycle"
67 lcolor="graph_marker_cycle"
68 hlcolor="graph_marker_cycle"
69 rcolor="graph_marker_cycle"
70 hrcolor="graph_marker_cycle">
71
72 <ui:set id="hue" value="0"/>
73 <marker v="10" color.hue="${hue}" hcolor.hue="${hue}" rborder="16" rcolor.hue="${hue}" hrborder="16" hrcolor.hue="${hue}"/>
74 <marker id="fre_1" color.hue="${hue}" hcolor.hue="${hue}" lborder="16" lcolor.hue="${hue}" hlborder="16" hlcolor.hue="${hue}"/>
75
76 <ui:for id="i" first="2" count="7">
77 <ui:eval id="hue" value="(:i-1) * 0.125"/>
78 <marker id="sf_${:i-1}" ui:id="split_marker_${:i-1}" editable="true" visibility=":se_${:i-1}" color.hue="${hue}" hcolor.hue="${hue}" rborder="16" rcolor.hue="${hue}" hrborder="16" hrcolor.hue="${hue}" pointer="hsize"/>
79 <marker id="fre_${i}" visibility=":se_${:i-1}" color.hue="${hue}" hcolor.hue="${hue}" lborder="16" lcolor.hue="${hue}" hlborder="16" hlcolor.hue="${hue}"/>
80 </ui:for>
81 </ui:with>
82
83 <!-- Meshes -->
84 <ui:set id="hue" value="0"/>
85 <mesh id="bfg_1" width="2" fill="true" smooth="true" color="graph_mesh_cycle" color.hue="${hue}" fcolor="graph_mesh_cycle" fcolor.hue="${hue}" fcolor.a="0.9" visibility=":flt"/>
86 <ui:for id="i" first="2" count="8">
87 <ui:eval id="hue" value="(:i-1) * 0.125"/>
88 <mesh id="bfg_${i}" width="2" fill="true" smooth="true" color="graph_mesh_cycle" color.hue="${hue}" fcolor="graph_mesh_cycle" fcolor.hue="${hue}" fcolor.a="0.9" visibility=":flt and :se_${:i-1}"/>
89 </ui:for>
90
91 <mesh id="ifg" oy=":_ui_zoomable_spectrum_graph ? 1 : 3" width="0" color="left_in" color.a="0.8" fcolor.a="0.8" fill="true" fcolor="mono_in" visibility=":ife"/>
92 <mesh id="ofg" oy=":_ui_zoomable_spectrum_graph ? 1 : 3" width="2" color="mono" visibility=":ofe"/>
93
94 <mesh id="ag" width="3" color="bright_cyan" smooth="true"/>
95
96 <!-- Boundaries -->
97 <marker v="1" ox="2" oy="0" color="graph_prim" visibility="false"/>
98 <marker v="24000" color="graph_prim" visibility="false"/>
99
100 <!-- Axis -->
101 <axis min="10" max="24000" angle="0.0" log="true" visibility="false"/>
102 <axis min="-72 db / (:zoom ** 3)" max="24 db * :zoom" color="graph_prim" angle="0.5" log="true"/>
103 <axis min="-1" max="1" visibility="false" angle="0.5"/>
104 <axis min="-72 db" max="24 db" color="graph_prim" angle="0.5" log="true" visibility="false"/>
105 <axis min="0" max=":_a_scaled_height" visibility="false" angle="0.5"/>
106
107 <!-- Text -->
108 <ui:with ox="0" oy="2" y="0" halign="1" valign="1">
109 <text x="10" text="graph.units.hz"/>
110 <text x="20" text="20"/>
111 <text x="30" text="30"/>
112 <text x="50" text="50"/>
113 <text x="100" text="100"/>
114 <text x="200" text="200"/>
115 <text x="300" text="300"/>
116 <text x="500" text="500"/>
117 <text x="1000" text="graph.values.x_k" text:value="1"/>
118 <text x="2000" text="graph.values.x_k" text:value="2"/>
119 <text x="3000" text="graph.values.x_k" text:value="3"/>
120 <text x="5000" text="graph.values.x_k" text:value="5"/>
121 <text x="10000" text="graph.values.x_k" text:value="10"/>
122 <text x="20000" text="graph.values.x_k" text:value="20"/>
123 </ui:with>
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" count="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-1) * 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
153 <!-- Analysis -->
154 <cell rows="2">
155 <group text="groups.analysis" expand="false" ipadding="0">
156 <vbox>
157 <grid rows="2" cols="2">
158 <align halign="-1" pad.t="4" pad.l="6">
159 <label text="labels.fft.fft"/>
160 </align>
161 <hbox spacing="4" pad.v="4" pad.h="6" hfill="false">
162 <button id="ife" text="labels.chan.in" height="19" width="30" ui:inject="Button_mono_8"/>
163 <button id="ofe" text="labels.chan.out" height="19" width="30" ui:inject="Button_mono_8"/>
164 </hbox>
165
166 <cell cols="2"><hsep pad.v="2" bg.color="bg" vreduce="true"/></cell>
167 </grid>
168
169 <grid rows="2" cols="2" transpose="false" vexpand="false" height.min="100" hspacing="4">
170 <knob id="react" size="20" pad.r="4" pad.l="6"/>
171 <vbox vfill="false" pad.r="6">
172 <label text="labels.metering.reactivity" halign="0"/>
173 <value id="react" width.min="50" sline="true" halign="0"/>
174 </vbox>
175
176 <knob id="shift" size="20" pad.r="4" pad.l="6"/>
177 <vbox vfill="false" pad.r="6">
178 <label text="labels.metering.shift" halign="0"/>
179 <value id="shift" width.min="50" sline="true" halign="0"/>
180 </vbox>
181 </grid>
182 <hsep pad.v="2" bg.color="bg" vreduce="true"/>
183 <void vexpand="true"/>
184 </vbox>
185 </group>
186 </cell>
187
188 <!-- meter in -->
189 <cell rows="2">
190 <vbox vexpand="true" bg.color="bg_schema">
191 <label text="labels.chan.in" pad.b="3" pad.t="3"/>
192 <ledmeter vexpand="true" angle="1">
193 <ledchannel id="ilm" min="-72 db" max="12 db" log="true" type="rms_peak" peak.visibility="true" value.color="mono_in"/>
194 </ledmeter>
195 </vbox>
196 </cell>
197
198 <!-- meter out -->
199 <cell rows="2">
200 <vbox vexpand="true" bg.color="bg_schema">
201 <label text="labels.chan.out" pad.b="3" pad.t="3"/>
202 <ledmeter vexpand="true" angle="1">
203 <ledchannel id="olm" min="-72 db" max="12 db" log="true" type="rms_peak" peak.visibility="true" value.color="mono"/>
204 </ledmeter>
205 </vbox>
206 </cell>
207
208 <!-- signal -->
209 <cell rows="2">
210 <group text="groups.signal" ipadding="0" vexpand="false">
211 <grid rows="6" cols="2" height.min="154" pad.v="4" pad.h="6">
212 <knob id="g_in" pad.r="4"/>
213 <vbox vfill="false">
214 <label text="labels.input" halign="0"/>
215 <value id="g_in" sline="true" halign="0"/>
216 </vbox>
217
218 <knob id="g_out" pad.r="4"/>
219 <vbox vfill="false">
220 <label text="labels.output" expand="true" halign="0"/>
221 <value id="g_out" width.min="50" sline="true" halign="0"/>
222 </vbox>
223
224 <knob id="g_dry" scolor="dry" pad.r="4"/>
225 <vbox vfill="false">
226 <label text="labels.signal.dry" halign="0"/>
227 <value id="g_dry" width.min="50" sline="true" halign="0"/>
228 </vbox>
229
230 <knob id="g_wet" scolor="wet" pad.r="4"/>
231 <vbox vfill="false">
232 <label text="labels.signal.wet" halign="0"/>
233 <value id="g_wet" width.min="50" sline="true" halign="0"/>
234 </vbox>
235
236 <knob id="drywet" scolor="drywet" pad.r="4"/>
237 <vbox vfill="false">
238 <label text="labels.signal.drywet" halign="0"/>
239 <value id="drywet" width.min="50" sline="true" halign="0"/>
240 </vbox>
241 </grid>
242 </group>
243 </cell>
244
245 <!-- bottom line -->
246 <hbox vreduce="true" bg.color="bg_schema" pad.h="6">
247 <button id="flt" text="labels.filters" pad.v="4" size="22" ui:inject="Button_cyan"/>
248 <void hexpand="true"/>
249 </hbox>
250 </grid>
251
252 <void height="4" bg.color="bg" vreduce="true"/>
253
254 <!-- Controls -->
255 <ui:set id="has_solo" value="
256 :bs_1 or (:bs_2 and :se_1) or (:bs_3 and :se_2) or (:bs_4 and :se_3) or (:bs_5 and :se_4) or (:bs_6 and :se_5) or (:bs_7 and :se_6) or (:bs_8 and :se_7)"/>
257 <tabs id="ts" height.min="427">
258
259 <!-- Tab 1: Band filters -->
260 <grid rows="14" cols="${3*8+1}" transpose="true">
261 <!-- Labels -->
262 <ui:with bg.color="bg_schema" width="76" pad.h="6" hreduce="true">
263 <cell rows="2" pad.h="0">
264 <label text="labels.band"/>
265 </cell>
266 <label text="labels.chain_output"/>
267 <void/>
268 <vbox fill="false" pad.h="0">
269 <label text="labels.range"/>
270 <label text="labels.units.:hz"/>
271 </vbox>
272 <void/>
273 <label text="labels.input"/>
274 <label text="labels.output"/>
275 <void/>
276 <label text="labels.flt.hpf_lpf:dbo"/>
277 <void/>
278 <label text="labels.flt.flatten"/>
279 <void/>
280 <label text="labels.gain"/>
281 </ui:with>
282
283 <ui:for id="i" first="1" count="8">
284 <ui:set id="act_band" value="(!:bm_${:i} and ((${has_solo}) ? :bs_${:i} : true) and (ex :se_${:i-1} ? (:se_${:i-1}) : true ))"/>
285 <!-- Separators -->
286 <cell rows="14"><vsep pad.h="2" bg.color="bg" hreduce="true"/></cell>
287 <ui:eval id="hue" value="(:i-1) * 0.125"/>
288
289 <!-- Active buttons -->
290 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
291 <cell cols="2" vreduce="true" pad.h="6" pad.v="4">
292 <vbox>
293 <ui:if test=":i ieq 1">
294 <button text="labels.chan.num_id" text:id="1" value="1" editable="false" pointer="arrow" hfill="true" ui:inject="Button_ne_Cycle" height="19" visibility="(${act_band})"/>
295 <button text="labels.chan.num_id" text:id="1" value="1" editable="false" pointer="arrow" hfill="true" ui:inject="Button_inactive_8" height="19" visibility="(!${act_band})"/>
296
297 </ui:if>
298
299 <ui:if test=":i igt 1">
300 <button
301 id="se_${:i-1}"
302 text="labels.chan.num_id"
303 text:id="${i}"
304 ui:inject="Button_Cycle"
305 hfill="true"
306 height="19"
307 down.color.hue="${hue}"
308 down.hover.color.hue="${hue}"
309 text.down.color.hue="${hue}"
310 text.down.hover.color.hue="${hue}"
311 border.down.color.hue="${hue}"
312 border.down.hover.color.hue="${hue}"
313 visibility="(${act_band})"/>
314 <button id="se_${:i-1}" text="labels.chan.num_id" text:id="${i}" ui:inject="Button_inactive_8" hfill="true" height="19" visibility="(!${act_band})"/>
315 </ui:if>
316 </vbox>
317 </cell>
318 </ui:with>
319
320 <!-- Solo Mute Buttons -->
321 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
322 <cell cols="2" vreduce="true" pad.h="6">
323 <hbox>
324 <button id="bs_${i}" text="labels.chan.S_olo" height="19" hfill="true" ui:inject="Button_green_8" width.min="50" visibility="(${act_band})"/>
325 <button id="bs_${i}" text="labels.chan.S_olo" height="19" hfill="true" ui:inject="Button_inactive_8" width.min="50" visibility="(!${act_band})"/>
326 <button id="bm_${i}" text="labels.chan.M_ute" width.min="50" height="19" hfill="true" ui:inject="Button_red_8" pad.l="4"/>
327 </hbox>
328 </cell>
329
330 <cell cols="2" vreduce="true" pad.h="6" pad.v="4">
331 <!-- Chain Output Buttons -->
332 <hbox>
333 <ui:with width.min="25" height="19" hfill="true" ui:inject="Button_yellow_8">
334 <button id="bls_${i}" value="0" text="labels.beat_breather.chan.bf"/>
335 <button id="bls_${i}" value="1" text="labels.beat_breather.chan.pd" pad.l="4"/>
336 <button id="bls_${i}" value="2" text="labels.beat_breather.chan.pf" pad.l="4"/>
337 <button id="bls_${i}" value="3" text="labels.beat_breather.chan.bp" pad.l="4"/>
338 </ui:with>
339 </hbox>
340 </cell>
341 </ui:with>
342 <cell cols="2" bg.color="bg"><hsep pad.v="2" vreduce="true"/></cell>
343 <!-- Freq Range -->
344 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
345 <ui:if test=":i ieq 1">
346 <cell cols="2" fill="false">
347 <vbox vfill="false" width.min="62">
348 <label text="0"/>
349 <value id="fre_${i}" width.min="30" sline="true" detailed="false"/>
350 </vbox>
351 </cell>
352 </ui:if>
353
354 <ui:if test=":i igt 1">
355 <hbox vfill="false" height.min="40" width.min="62">
356 <knob id="sf_${:i-1}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
357 <knob id="sf_${:i-1}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
358 </hbox>
359 </ui:if>
360 </ui:with>
361 <cell cols="2" bg.color="bg"><hsep pad.v="2" vreduce="true"/></cell>
362 <!-- Led meters -->
363 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
364 <cell cols="2" vreduce="true">
365 <ledmeter angle="0">
366 <ledchannel
367 id="ilm_${i}"
368 min="-72 db"
369 max="12 db"
370 log="true"
371 type="rms_peak"
372 peak.visibility="true"
373 value.color="${act_band} ? 'mono' : 'cycle_inactive'"
374 yellow.color="${act_band} ? 'meter_yellow' : 'cycle_inactive'"
375 red.color="${act_band} ? 'meter_red' : 'cycle_inactive'"/>
376 </ledmeter>
377 </cell>
378 <cell cols="2" vreduce="true">
379 <ledmeter angle="0">
380 <ledchannel
381 id="olm_${i}"
382 min="-72 db"
383 max="12 db"
384 log="true"
385 type="rms_peak"
386 peak.visibility="true"
387 value.color="${act_band} ? 'mono' : 'cycle_inactive'"
388 yellow.color="${act_band} ? 'meter_yellow' : 'cycle_inactive'"
389 red.color="${act_band} ? 'meter_red' : 'cycle_inactive'"/>
390 </ledmeter>
391 </cell>
392 </ui:with>
393 <cell cols="2" bg.color="bg"><hsep pad.v="2" vreduce="true"/></cell>
394 <!-- HPS Filter -->
395 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
396 <vbox fill="false">
397 <knob id="hps_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
398 <knob id="hps_${i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
399 <value id="hps_${i}" detailed="false"/>
400 </vbox>
401 </ui:with>
402 <cell cols="2" bg.color="bg"><hsep pad.v="2" vreduce="true"/></cell>
403 <!-- Flatten Knob -->
404 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
405 <hbox>
406 <knob id="flat_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
407 <knob id="flat_${i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
408 </hbox>
409 </ui:with>
410 <cell cols="2" bg.color="bg"><hsep pad.v="2" vreduce="true"/></cell>
411 <!-- Gain Knob -->
412 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
413 <hbox>
414 <knob id="bg_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
415 <knob id="bg_${i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
416 </hbox>
417 </ui:with>
418 <!-- Freq Range -->
419 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
420 <ui:if test=":i igt 1">
421 <vbox vfill="false" height.min="40" width.min="62">
422 <value id="sf_${:i-1}" width.min="30" sline="true" detailed="false" visibility=":se_${:i-1}"/>
423 <value id="fre_${i}" width.min="30" sline="true" detailed="false" visibility=":se_${:i-1}"/>
424 <label text="labels.chan.off" visibility="not :se_${:i-1}"/>
425 </vbox>
426 </ui:if>
427
428 <!-- LPS Filter -->
429 <vbox fill="false">
430 <knob id="lps_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
431 <knob id="lps_${i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
432 <value id="lps_${i}" detailed="false"/>
433 </vbox>
434
435 <!-- Flatten Value -->
436 <value id="flat_${i}"/>
437
438 <!-- Gain Value -->
439 <value id="bg_${i}"/>
440 </ui:with>
441 </ui:for>
442 </grid>
443
444 <!-- Tab 2: Peak detector -->
445 <grid rows="11" cols="${3*8+1}" transpose="true">
446 <!-- Labels -->
447 <ui:with bg.color="bg_schema" width="76" pad.h="6" hreduce="true">
448 <cell rows="2" pad.h="0">
449 <label text="labels.band"/>
450 </cell>
451 <label text="labels.chain_output"/>
452 <void/>
453 <label text="labels.beat_breather.graphs.punch"/>
454 <void/>
455 <label text="labels.beat_breather.long_rms"/>
456 <label text="labels.beat_breather.short_rms"/>
457 <label text="labels.beat_breather.rms_bias"/>
458 <void/>
459 <label text="labels.makeup"/>
460 </ui:with>
461
462 <ui:for id="i" first="1" count="8">
463 <ui:set id="act_band" value="(!:bm_${:i} and ((${has_solo}) ? :bs_${:i} : true) and (ex :se_${:i-1} ? (:se_${:i-1}) : true ))"/>
464 <!-- Separators -->
465 <cell rows="11"><vsep pad.h="2" bg.color="bg" hreduce="true"/></cell>
466 <ui:eval id="hue" value="(:i-1) * 0.125"/>
467
468 <!-- Active buttons -->
469 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
470 <cell cols="2" vreduce="true" pad.h="6" pad.v="4">
471 <vbox>
472 <ui:if test=":i ieq 1">
473 <button text="labels.chan.num_id" text:id="1" value="1" editable="false" pointer="arrow" hfill="true" ui:inject="Button_ne_Cycle" height="19" visibility="(${act_band})"/>
474 <button text="labels.chan.num_id" text:id="1" value="1" editable="false" pointer="arrow" hfill="true" ui:inject="Button_inactive_8" height="19" visibility="(!${act_band})"/>
475
476 </ui:if>
477
478 <ui:if test=":i igt 1">
479 <button
480 id="se_${:i-1}"
481 text="labels.chan.num_id"
482 text:id="${i}"
483 ui:inject="Button_Cycle"
484 hfill="true"
485 height="19"
486 down.color.hue="${hue}"
487 down.hover.color.hue="${hue}"
488 text.down.color.hue="${hue}"
489 text.down.hover.color.hue="${hue}"
490 border.down.color.hue="${hue}"
491 border.down.hover.color.hue="${hue}"
492 visibility="(${act_band})"/>
493 <button id="se_${:i-1}" text="labels.chan.num_id" text:id="${i}" ui:inject="Button_inactive_8" hfill="true" height="19" visibility="(!${act_band})"/>
494 </ui:if>
495 </vbox>
496 </cell>
497 </ui:with>
498
499 <!-- Solo Mute Buttons -->
500 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
501 <cell cols="2" vreduce="true" pad.h="6">
502 <hbox>
503 <button id="bs_${i}" text="labels.chan.S_olo" height="19" hfill="true" ui:inject="Button_green_8" width.min="50" visibility="(${act_band})"/>
504 <button id="bs_${i}" text="labels.chan.S_olo" height="19" hfill="true" ui:inject="Button_inactive_8" width.min="50" visibility="(!${act_band})"/>
505 <button id="bm_${i}" text="labels.chan.M_ute" width.min="50" height="19" hfill="true" ui:inject="Button_red_8" pad.l="4"/>
506 </hbox>
507 </cell>
508
509 <cell cols="2" vreduce="true" pad.h="6" pad.v="4">
510 <!-- Chain Output Buttons -->
511 <hbox>
512 <ui:with width.min="25" height="19" hfill="true" ui:inject="Button_yellow_8">
513 <button id="bls_${i}" value="0" text="labels.beat_breather.chan.bf"/>
514 <button id="bls_${i}" value="1" text="labels.beat_breather.chan.pd" pad.l="4"/>
515 <button id="bls_${i}" value="2" text="labels.beat_breather.chan.pf" pad.l="4"/>
516 <button id="bls_${i}" value="3" text="labels.beat_breather.chan.bp" pad.l="4"/>
517 </ui:with>
518 </hbox>
519 </cell>
520 </ui:with>
521
522 <!-- Separator -->
523 <cell cols="2" bg.color="bg"><void pad.v="2" vreduce="true"/></cell>
524
525 <!-- Graph -->
526 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
527 <cell cols="2" vreduce="true">
528 <graph width.min="120" height="120">
529 <origin hpos="1" vpos="-1" visible="false"/>
530
531 <!-- Third/fourth grid -->
532 <ui:attributes ox="0" oy="1">
533 <marker v="0.25" color="graph_alt_2"/>
534 <marker v="0.75" color="graph_alt_2"/>
535 <marker v="1.25" color="graph_alt_2"/>
536 <marker v="1.75" color="graph_alt_2"/>
537 <marker v="0.5" color="graph_alt_1"/>
538 <marker v="1.5" color="graph_alt_1"/>
539 </ui:attributes>
540 <ui:attributes ox="1" oy="0" color="graph_alt_1">
541 <marker v="6 db" color="graph_alt_2"/>
542 <marker v="0 db" color="graph_alt_1"/>
543 <marker v="-6 db" color="graph_alt_2"/>
544 <marker v="-18 db" color="graph_alt_2"/>
545 <marker v="-24 db" color="graph_alt_1"/>
546 <marker v="-30 db" color="graph_alt_2"/>
547 </ui:attributes>
548
549 <!-- Secondary grid -->
550 <marker v="1" color="graph_sec"/>
551 <marker v="-12 db" ox="1" oy="0" color="graph_sec"/>
552
553 <!-- Axis -->
554 <axis min="0" max="2" angle="1.0" log="false" color="graph_prim" visibility="false"/>
555 <axis min="-36 db" max="12 db" angle="0.5" log="true" color="graph_prim" visibility="false"/>
556
557 <!-- Mesh -->
558 <mesh id="pdgr_${i}" width="2" fill="false" smooth="true" color="graph_mesh_cycle" color.hue="${hue}" visibility="(${act_band}) and ((ex :se_${:i-1}) ? :se_${:i-1} : true)"/>
559 <mesh id="pdgr_${i}" width="2" fill="false" smooth="true" color="cycle_inactive" visibility="(!${act_band}) and ((ex :se_${:i-1}) ? :se_${:i-1} : true)"/>
560
561 <!-- Text -->
562 <ui:with y="-36 db" halign="1" valign="1" color="graph_prim">
563 <text x="2" text="graph.units.s"/>
564 <text x="1.5" text="1.5"/>
565 <text x="1" text="1"/>
566 <text x="0.5" text="0.5"/>
567 <text x="0" text="0" halign="-1"/>
568 </ui:with>
569
570 <ui:attributes x="2" halign="1" valign="1" color="graph_prim">
571 <text y="12 db" valign="-1" text="graph.units.db"/>
572 <text y="0 db" text="0"/>
573 <text y="-12 db" text="-12"/>
574 <text y="-24 db" text="-24"/>
575 </ui:attributes>
576 </graph>
577 </cell>
578 </ui:with>
579
580 <!-- Separator -->
581 <cell cols="2" bg.color="bg"><void pad.v="2" vreduce="true"/></cell>
582
583 <!-- Long RMS -->
584 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
585 <hbox>
586 <knob id="pdlt_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
587 <knob id="pdlt_${i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
588 </hbox>
589 </ui:with>
590 <!-- Short RMS -->
591 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
592 <hbox>
593 <knob id="pdst_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
594 <knob id="pdst_${:i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
595 </hbox>
596 </ui:with>
597 <!-- RMS Bias -->
598 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
599 <hbox>
600 <knob id="pdbs_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
601 <knob id="pdbs_${:i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
602 </hbox>
603 </ui:with>
604 <!-- Separator -->
605 <cell cols="2" bg.color="bg"><hsep pad.v="2" vreduce="true"/></cell>
606 <!-- Makeup -->
607 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
608 <hbox>
609 <knob id="pdmk_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
610 <knob id="pdmk_${i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
611 </hbox>
612 </ui:with>
613
614 <!-- Long RMS -->
615 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
616 <value id="pdlt_${i}"/>
617 <!-- Short RMS -->
618 <value id="pdst_${i}"/>
619 <!-- RMS Bias -->
620 <value id="pdbs_${i}" width="36"/>
621 <!-- Makeup -->
622 <value id="pdmk_${i}"/>
623 </ui:with>
624
625 </ui:for>
626 </grid>
627
628 <!-- Tab 3: Peak filter -->
629 <grid rows="13" cols="${5*8+1}" transpose="true">
630 <!-- Labels -->
631 <ui:with bg.color="bg_schema" width="76" pad.h="6" hreduce="true">
632 <cell rows="2" pad.h="0">
633 <label text="labels.band"/>
634 </cell>
635 <label text="labels.chain_output"/>
636 <void/>
637 <label text="labels.beat_breather.graphs.reduction"/>
638 <void/>
639 <label text="labels.sc.lookahead" pad.t="4" pad.b="2"/>
640 <void/>
641 <vbox vfill="false" pad.h="0">
642 <label text="labels.beat_breather.attack:ms"/>
643 <label text="labels.beat_breather.release:ms"/>
644 </vbox>
645 <void/>
646 <vbox vfill="false" pad.h="0">
647 <label text="labels.beat_breather.threshold:db"/>
648 <label text="labels.beat_breather.zone:db"/>
649 </vbox>
650 <void/>
651 <label text="labels.reduction" pad.t="4" pad.b="2"/>
652 </ui:with>
653
654 <ui:for id="i" first="1" count="8">
655 <ui:set id="act_band" value="(!:bm_${:i} and ((${has_solo}) ? :bs_${:i} : true) and (ex :se_${:i-1} ? (:se_${:i-1}) : true ))"/>
656 <!-- Separators -->
657 <cell rows="13"><vsep pad.h="2" bg.color="bg" hreduce="true"/></cell>
658 <ui:eval id="hue" value="(:i-1) * 0.125"/>
659
660 <!-- Active buttons -->
661 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
662 <cell cols="4" vreduce="true" pad.h="6" pad.v="4">
663 <vbox>
664 <ui:if test=":i ieq 1">
665 <button text="labels.chan.num_id" text:id="1" value="1" editable="false" pointer="arrow" hfill="true" ui:inject="Button_ne_Cycle" height="19" visibility="(${act_band})"/>
666 <button text="labels.chan.num_id" text:id="1" value="1" editable="false" pointer="arrow" hfill="true" ui:inject="Button_inactive_8" height="19" visibility="(!${act_band})"/>
667
668 </ui:if>
669
670 <ui:if test=":i igt 1">
671 <button
672 id="se_${:i-1}"
673 text="labels.chan.num_id"
674 text:id="${i}"
675 ui:inject="Button_Cycle"
676 hfill="true"
677 height="19"
678 down.color.hue="${hue}"
679 down.hover.color.hue="${hue}"
680 text.down.color.hue="${hue}"
681 text.down.hover.color.hue="${hue}"
682 border.down.color.hue="${hue}"
683 border.down.hover.color.hue="${hue}"
684 visibility="(${act_band})"/>
685 <button id="se_${:i-1}" text="labels.chan.num_id" text:id="${i}" ui:inject="Button_inactive_8" hfill="true" height="19" visibility="(!${act_band})"/>
686 </ui:if>
687 </vbox>
688 </cell>
689 </ui:with>
690
691 <!-- Solo Mute Buttons -->
692 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
693 <cell cols="4" vreduce="true" pad.h="6">
694 <hbox>
695 <button id="bs_${i}" text="labels.chan.S_olo" height="19" hfill="true" ui:inject="Button_green_8" width.min="50" visibility="(${act_band})"/>
696 <button id="bs_${i}" text="labels.chan.S_olo" height="19" hfill="true" ui:inject="Button_inactive_8" width.min="50" visibility="(!${act_band})"/>
697 <button id="bm_${i}" text="labels.chan.M_ute" width.min="50" height="19" hfill="true" ui:inject="Button_red_8" pad.l="4"/>
698 </hbox>
699 </cell>
700
701 <cell cols="4" vreduce="true" pad.h="6" pad.v="4">
702 <!-- Chain Output Buttons -->
703 <hbox>
704 <ui:with width.min="25" height="19" hfill="true" ui:inject="Button_yellow_8">
705 <button id="bls_${i}" value="0" text="labels.beat_breather.chan.bf"/>
706 <button id="bls_${i}" value="1" text="labels.beat_breather.chan.pd" pad.l="4"/>
707 <button id="bls_${i}" value="2" text="labels.beat_breather.chan.pf" pad.l="4"/>
708 <button id="bls_${i}" value="3" text="labels.beat_breather.chan.bp" pad.l="4"/>
709 </ui:with>
710 </hbox>
711 </cell>
712 </ui:with>
713 <!-- Separator -->
714 <cell cols="4" bg.color="bg"><void pad.v="2" vreduce="true"/></cell>
715
716 <!-- Graph -->
717 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
718 <cell cols="4" vreduce="true">
719 <graph width.min="120" height="120">
720 <origin hpos="-1" vpos="-1" visible="false"/>
721
722 <!-- Gray grid -->
723 <marker v="-24 db" color="graph_sec"/>
724 <marker v="-12 db" color="graph_sec"/>
725 <marker v="12 db" color="graph_sec"/>
726 <marker v="-24 db" ox="1" oy="0" color="graph_sec"/>
727 <marker v="-12 db" ox="1" oy="0" color="graph_sec"/>
728 <marker v="12 db" ox="1" oy="0" color="graph_sec"/>
729
730 <!-- Axes and boundaries -->
731 <marker v="1" ox="1" oy="0" dv="1" dx=":_a_width" dy=":_a_height" color="graph_alt_1" width="2" smooth="true"/>
732 <axis min="-36 db" max="24 db" color="graph_prim" angle="0.0" log="true" visibility="false"/>
733 <axis min="-36 db" max="24 db" color="graph_prim" angle="0.5" log="true" visibility="false"/>
734
735 <!-- 0 dB markers -->
736 <marker v="0 db" ox="0" oy="1" width="1" color="graph_prim"/>
737 <marker v="0 db" ox="1" oy="0" width="1" color="graph_prim"/>
738
739 <!-- Meshes -->
740
741 <mesh id="pfg_${i}" width="2" color="graph_mesh_cycle" color.hue="${hue}" smooth="true" visibility="(${act_band}) and ((ex :se_${:i-1}) ? :se_${:i-1} : true)"/>
742 <mesh id="pfg_${i}" width="2" color="cycle_inactive" smooth="true" visibility="(!${act_band}) and ((ex :se_${:i-1}) ? :se_${:i-1} : true)"/>
743
744 <dot x.id="pfem_${i}" y.id="pfcm_${i}" color="graph_mesh" bcolor="graph_mesh" visibility="(${act_band}) and ((ex :se_${:i-1}) ? :se_${:i-1} : true)" color.hue="${hue}" bcolor.hue="${hue}"/>
745 <dot x.id="pfem_${i}" y.id="pfcm_${i}" color="cycle_inactive" bcolor="cycle_inactive" visibility="(!${act_band}) and ((ex :se_${:i-1}) ? :se_${:i-1} : true)"/>
746
747 <!-- Markers -->
748 <marker
749 id="pfth_${i}"
750 width="2"
751 hwidth="2"
752 color="graph_mesh_cycle"
753 color.hue="${hue}"
754 hcolor="graph_mesh_cycle"
755 hcolor.hue="${hue}"
756 color.a="0.3"
757 hcolor.a="0"
758 editable="true"
759 pointer="hsize"
760 visibility="(${act_band}) and ((ex :se_${:i-1}) ? :se_${:i-1} : true)"/>
761 <marker id="pfth_${i}" width="2" hwidth="2" color.a="0.3" hcolor.a="0" color="cycle_inactive" hcolor="cycle_inactive" editable="true" pointer="hsize" visibility="(!${act_band}) and ((ex :se_${:i-1}) ? :se_${:i-1} : true)"/>
762 <marker value=":pfth_${i} * :pfrz_${i}" width="2" color="graph_mesh_cycle" color.hue="${hue}" color.a="0.6" visibility="(${act_band}) and ((ex :se_${:i-1}) ? :se_${:i-1} : true)"/>
763 <marker value=":pfth_${i} * :pfrz_${i}" width="2" color.a="0.6" color="cycle_inactive" visibility="(!${act_band}) and ((ex :se_${:i-1}) ? :se_${:i-1} : true)"/>
764
765 <!-- Text -->
766 <text x="0 db" y="0 db" text="0" value="0" halign="-1" valign="-1"/>
767 <ui:attributes x="0 db" halign="-1" valign="-1">
768 <text y="24 db" text="graph.units.db"/>
769 <text y="12 db" text="+12"/>
770 <text y="-12 db" text="-12"/>
771 <text y="-24 db" text="-24"/>
772 <text y="-36 db" text="graph.axis.out" halign="1" valign="1"/>
773 </ui:attributes>
774 <ui:attributes y="0 db" halign="-1" valign="-1">
775 <text x="24 db" text="graph.units.db"/>
776 <text x="12 db" text="+12"/>
777 <text x="-12 db" text="-12"/>
778 <text x="-24 db" text="-24"/>
779 <text x="-36 db" text="graph.axis.in" halign="1" valign="1"/>
780 </ui:attributes>
781 </graph>
782 </cell>
783 </ui:with>
784 <!-- Separator -->
785 <cell cols="4" bg.color="bg"><void pad.v="2" vreduce="true"/></cell>
786
787 <!-- Lookahead -->
788 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
789 <hbox pad.t="4" pad.b="2">
790 <knob id="pflk_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
791 <knob id="pflk_${i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
792 </hbox>
793 </ui:with>
794 <!-- Separator -->
795 <cell cols="2" bg.color="bg"><hsep pad.v="2" vreduce="true"/></cell>
796
797 <!-- Attack Release -->
798 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
799 <vbox vfill="false" pad.t="4" pad.b="2">
800 <knob id="pfat_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
801 <knob id="pfat_${i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
802 <value id="pfat_${i}" detailed="false"/>
803 </vbox>
804 </ui:with>
805 <!-- Separator -->
806 <cell cols="2" bg.color="bg"><hsep pad.v="2" vreduce="true"/></cell>
807
808 <!-- Threshold Zone -->
809 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
810 <vbox vfill="false" pad.t="4">
811 <knob id="pfth_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
812 <knob id="pfth_${i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
813 <value id="pfth_${i}" detailed="false"/>
814 </vbox>
815 </ui:with>
816
817 <!-- Separator -->
818 <cell cols="2" bg.color="bg"><hsep pad.v="2" vreduce="true"/></cell>
819
820 <!-- Reduction -->
821 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
822 <hbox pad.t="4" pad.b="2">
823 <knob id="pfrl_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
824 <knob id="pfrl_${i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
825 </hbox>
826 </ui:with>
827
828 <!-- Lookahead -->
829 <value id="pflk_${i}" pad.t="4" pad.b="2" bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0"/>
830 <!-- Attack Release -->
831 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
832 <vbox vfill="false" pad.t="4" pad.b="2">
833 <knob id="pfrt_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
834 <knob id="pfrt_${i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
835 <value id="pfrt_${i}" detailed="false"/>
836 </vbox>
837 </ui:with>
838 <!-- Threshold Zone -->
839 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
840 <vbox vfill="false" pad.t="4">
841 <knob id="pfrz_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
842 <knob id="pfrz_${i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
843 <value id="pfrz_${i}" detailed="false"/>
844 </vbox>
845 </ui:with>
846 <!-- Reduction -->
847 <value id="pfrl_${i}" pad.t="4" pad.b="2" bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0"/>
848
849 <cell rows="7" bg.color="bg" hreduce="true">
850 <void pad.h="2" hreduce="true"/>
851 </cell>
852
853 <cell rows="7" hreduce="true">
854 <ledmeter vexpand="true" height.min="120" angle="1">
855 <ledchannel
856 id="pfgm_${i}"
857 min="-48 db"
858 max="0 db"
859 log="true"
860 balance="0 db"
861 balance.visibility="true"
862 type="peak"
863 activity="(ex :se_${:i-1}) ? :se_${:i-1} : true"
864 value.color="${act_band} ? 'blue' : 'cycle_inactive'"
865 balance.color="${act_band} ? 'yellow' : 'cycle_inactive'"/>
866 </ledmeter>
867 </cell>
868 </ui:for>
869 </grid>
870
871 <!-- Tab 4: Beat processor -->
872 <grid rows="13" cols="${5*8+1}" transpose="true">
873 <!-- Labels -->
874 <ui:with bg.color="bg_schema" width="76" pad.h="6" hreduce="true">
875 <cell rows="2" pad.h="0">
876 <label text="labels.band"/>
877 </cell>
878 <label text="labels.chain_output"/>
879 <void/>
880 <label text="labels.beat_breather.graphs.gain"/>
881 <void/>
882 <label text="labels.beat_breather.time_shift" pad.t="4" pad.b="2"/>
883 <void/>
884 <vbox vfill="false" pad.h="0">
885 <label text="labels.beat_breather.attack:ms"/>
886 <label text="labels.beat_breather.release:ms"/>
887 </vbox>
888 <void/>
889 <label text="labels.threshold" pad.t="4" pad.b="2"/>
890 <void/>
891 <vbox vfill="false" pad.h="0">
892 <label text="labels.ratio"/>
893 <label text="labels.beat_breather.max_gain:db"/>
894 </vbox>
895 </ui:with>
896
897 <ui:for id="i" first="1" count="8">
898 <ui:set id="act_band" value="(!:bm_${:i} and ((${has_solo}) ? :bs_${:i} : true) and (ex :se_${:i-1} ? (:se_${:i-1}) : true ))"/>
899 <!-- Separators -->
900 <cell rows="13"><vsep pad.h="2" bg.color="bg" hreduce="true"/></cell>
901 <ui:eval id="hue" value="(:i-1) * 0.125"/>
902
903 <!-- Active buttons -->
904 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
905 <cell cols="4" vreduce="true" pad.h="6" pad.v="4">
906 <vbox>
907 <ui:if test=":i ieq 1">
908 <button text="labels.chan.num_id" text:id="1" value="1" editable="false" pointer="arrow" hfill="true" ui:inject="Button_ne_Cycle" height="19" visibility="(${act_band})"/>
909 <button text="labels.chan.num_id" text:id="1" value="1" editable="false" pointer="arrow" hfill="true" ui:inject="Button_inactive_8" height="19" visibility="(!${act_band})"/>
910
911 </ui:if>
912
913 <ui:if test=":i igt 1">
914 <button
915 id="se_${:i-1}"
916 text="labels.chan.num_id"
917 text:id="${i}"
918 ui:inject="Button_Cycle"
919 hfill="true"
920 height="19"
921 down.color.hue="${hue}"
922 down.hover.color.hue="${hue}"
923 text.down.color.hue="${hue}"
924 text.down.hover.color.hue="${hue}"
925 border.down.color.hue="${hue}"
926 border.down.hover.color.hue="${hue}"
927 visibility="(${act_band})"/>
928 <button id="se_${:i-1}" text="labels.chan.num_id" text:id="${i}" ui:inject="Button_inactive_8" hfill="true" height="19" visibility="(!${act_band})"/>
929 </ui:if>
930 </vbox>
931 </cell>
932 </ui:with>
933
934 <!-- Solo Mute Buttons -->
935 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
936 <cell cols="4" vreduce="true" pad.h="6">
937 <hbox>
938 <button id="bs_${i}" text="labels.chan.S_olo" height="19" hfill="true" ui:inject="Button_green_8" width.min="50" visibility="(${act_band})"/>
939 <button id="bs_${i}" text="labels.chan.S_olo" height="19" hfill="true" ui:inject="Button_inactive_8" width.min="50" visibility="(!${act_band})"/>
940 <button id="bm_${i}" text="labels.chan.M_ute" width.min="50" height="19" hfill="true" ui:inject="Button_red_8" pad.l="4"/>
941 </hbox>
942 </cell>
943
944 <cell cols="4" vreduce="true" pad.h="6" pad.v="4">
945 <!-- Chain Output Buttons -->
946 <hbox>
947 <ui:with width.min="25" height="19" hfill="true" ui:inject="Button_yellow_8">
948 <button id="bls_${i}" value="0" text="labels.beat_breather.chan.bf"/>
949 <button id="bls_${i}" value="1" text="labels.beat_breather.chan.pd" pad.l="4"/>
950 <button id="bls_${i}" value="2" text="labels.beat_breather.chan.pf" pad.l="4"/>
951 <button id="bls_${i}" value="3" text="labels.beat_breather.chan.bp" pad.l="4"/>
952 </ui:with>
953 </hbox>
954 </cell>
955 </ui:with>
956 <!-- Separator -->
957 <cell cols="4" bg.color="bg"><void pad.v="2" vreduce="true"/></cell>
958
959 <!-- Graph -->
960 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
961 <cell cols="4" vreduce="true">
962 <graph width.min="120" height="120">
963 <origin hpos="-1" vpos="-1" visible="false"/>
964
965 <!-- Gray grid -->
966 <marker v="-24 db" color="graph_sec"/>
967 <marker v="-12 db" color="graph_sec"/>
968 <marker v="12 db" color="graph_sec"/>
969 <marker v="-24 db" ox="1" oy="0" color="graph_sec"/>
970 <marker v="-12 db" ox="1" oy="0" color="graph_sec"/>
971 <marker v="12 db" ox="1" oy="0" color="graph_sec"/>
972
973 <!-- Axes and boundaries -->
974 <marker v="1" ox="1" oy="0" dv="1" dx=":_a_width" dy=":_a_height" color="graph_alt_1" width="2" smooth="true"/>
975 <axis min="-36 db" max="24 db" color="graph_prim" angle="0.0" log="true" visibility="false"/>
976 <axis min="-36 db" max="24 db" color="graph_prim" angle="0.5" log="true" visibility="false"/>
977
978 <!-- 0 dB markers -->
979 <marker v="0 db" ox="0" oy="1" width="1" color="graph_prim"/>
980 <marker v="0 db" ox="1" oy="0" width="1" color="graph_prim"/>
981
982 <!-- Meshes -->
983
984 <mesh id="bpg_${i}" width="2" color="graph_mesh_cycle" color.hue="${hue}" smooth="true" visibility="(${act_band}) and ((ex :se_${:i-1}) ? :se_${:i-1} : true)"/>
985 <mesh id="bpg_${i}" width="2" color="cycle_inactive" smooth="true" visibility="(!${act_band}) and ((ex :se_${:i-1}) ? :se_${:i-1} : true)"/>
986
987 <dot x.id="bpem_${i}" y.id="bpcm_${i}" color="graph_mesh" bcolor="graph_mesh" color.hue="${hue}" bcolor.hue="${hue}" visibility="(${act_band}) and ((ex :se_${:i-1}) ? :se_${:i-1} : true)"/>
988 <dot x.id="bpem_${i}" y.id="bpcm_${i}" color="cycle_inactive" bcolor="cycle_inactive" visibility="(!${act_band}) and ((ex :se_${:i-1}) ? :se_${:i-1} : true)"/>
989
990 <!-- Markers -->
991 <marker
992 id="bpth_${i}"
993 width="2"
994 hwidth="2"
995 color="graph_mesh_cycle"
996 color.hue="${hue}"
997 hcolor="graph_mesh_cycle"
998 hcolor.hue="${hue}"
999 color.a="0.3"
1000 hcolor.a="0"
1001 editable="true"
1002 pointer="hsize"
1003 visibility="(${act_band}) and ((ex :se_${:i-1}) ? :se_${:i-1} : true)"/>
1004 <marker id="bpth_${i}" width="2" hwidth="2" color.a="0.3" hcolor.a="0" color="cycle_inactive" hcolor="cycle_inactive" editable="true" pointer="hsize" visibility="(!${act_band}) and ((ex :se_${:i-1}) ? :se_${:i-1} : true)"/>
1005
1006 <!-- Text -->
1007 <text x="0 db" y="0 db" text="0" value="0" halign="-1" valign="-1"/>
1008 <ui:attributes x="0 db" halign="-1" valign="-1">
1009 <text y="24 db" text="graph.units.db"/>
1010 <text y="12 db" text="+12"/>
1011 <text y="-12 db" text="-12"/>
1012 <text y="-24 db" text="-24"/>
1013 <text y="-36 db" text="graph.axis.out" halign="1" valign="1"/>
1014 </ui:attributes>
1015 <ui:attributes y="0 db" halign="-1" valign="-1">
1016 <text x="24 db" text="graph.units.db"/>
1017 <text x="12 db" text="+12"/>
1018 <text x="-12 db" text="-12"/>
1019 <text x="-24 db" text="-24"/>
1020 <text x="-36 db" text="graph.axis.in" halign="1" valign="1"/>
1021 </ui:attributes>
1022 </graph>
1023 </cell>
1024 </ui:with>
1025 <!-- Separator -->
1026 <cell cols="4" bg.color="bg"><void pad.v="2" vreduce="true"/></cell>
1027
1028 <!-- Time shift -->
1029 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
1030 <hbox pad.t="4" pad.b="2">
1031 <knob id="bpts_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
1032 <knob id="bpts_${i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
1033 </hbox>
1034 </ui:with>
1035 <!-- Separator -->
1036 <cell cols="2" bg.color="bg"><hsep pad.v="2" vreduce="true"/></cell>
1037
1038 <!-- Attack Release -->
1039 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
1040 <vbox vfill="false" pad.t="4" pad.b="2">
1041 <knob id="bpat_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
1042 <knob id="bpat_${i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
1043 <value id="bpat_${i}" detailed="false"/>
1044 </vbox>
1045 </ui:with>
1046 <!-- Separator -->
1047 <cell cols="2" bg.color="bg"><hsep pad.v="2" vreduce="true"/></cell>
1048
1049 <!-- Threshold -->
1050 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
1051 <hbox pad.t="4" pad.b="2">
1052 <knob id="bpth_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
1053 <knob id="bpth_${i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
1054 </hbox>
1055 </ui:with>
1056
1057 <!-- Separator -->
1058 <cell cols="2" bg.color="bg"><hsep pad.v="2" vreduce="true"/></cell>
1059
1060 <!-- Ratio Max gain -->
1061 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
1062 <vbox vfill="false" pad.t="4" pad.b="2">
1063 <knob id="bper_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
1064 <knob id="bper_${i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
1065 <hbox fill="false">
1066 <value id="bper_${i}"/>
1067 <label text=":"/>
1068 <label text="1"/>
1069 </hbox>
1070 </vbox>
1071 </ui:with>
1072
1073 <!-- Time shift -->
1074 <value id="bpts_${i}" pad.t="4" pad.b="2" bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0"/>
1075 <!-- Attack Release -->
1076 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
1077 <vbox vfill="false" pad.t="4" pad.b="2">
1078 <knob id="bprt_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
1079 <knob id="bprt_${i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
1080 <value id="bprt_${i}" detailed="false"/>
1081 </vbox>
1082 </ui:with>
1083
1084 <!-- Threshold -->
1085 <value id="bpth_${i}" pad.t="4" pad.b="2" bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0"/>
1086
1087 <!-- Ratio Max gain -->
1088 <ui:with bg.color="bg_schema" bg.bright="(!${act_band}) ? :const_bg_darken : 1.0" bright="(!${act_band}) ? 0.75 : 1.0">
1089 <vbox vfill="false" pad.t="4" pad.b="2">
1090 <knob id="bpmg_${i}" ssize="3" scolor="cycle" scolor.hue="${hue}" visibility="(${act_band})"/>
1091 <knob id="bpmg_${i}" ssize="3" scolor="cycle_inactive" visibility="(!${act_band})"/>
1092 <value id="bpmg_${i}" detailed="false"/>
1093 </vbox>
1094 </ui:with>
1095
1096 <cell rows="7" bg.color="bg" hreduce="true">
1097 <void pad.h="2" hreduce="true"/>
1098 </cell>
1099
1100 <cell rows="7" hreduce="true">
1101 <ledmeter vexpand="true" height.min="120" angle="1">
1102 <ledchannel
1103 id="bpgm_${i}"
1104 min="0 db"
1105 max="24 db"
1106 log="true"
1107 balance="0 db"
1108 balance.visibility="true"
1109 type="peak"
1110 activity="(ex :se_${:i-1}) ? :se_${:i-1} : true"
1111 value.color="${act_band} ? 'blue' : 'cycle_inactive'"
1112 balance.color="${act_band} ? 'yellow' : 'cycle_inactive'"/>
1113 </ledmeter>
1114 </cell>
1115 </ui:for>
1116 </grid>
1117
1118 </tabs>
1119
1120 </vbox>
1121
1122 </plugin>