Debian Codegraph @

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

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