1<plugin resizable="true">
2	<vbox spacing="4">
3		<grid rows="2" cols="7" transpose="true" hspacing="2" vspacing="2" expand="true">
4			<!-- Time graph -->
5			<vbox expand="true">
6				<label />
7				<graph width="480" height="256" expand="true">
8					<!-- Gray grid -->
9					<marker value="3.98107" color="g_gray" basis="1" parallel="0" />  <!-- +12 dB -->
10					<marker value="0.25119" color="g_gray" basis="1" parallel="0" />  <!-- -12 dB -->
11					<marker value="0.01585" color="g_gray" basis="1" parallel="0" />  <!-- -36 dB -->
12					<marker value="0.001" color="g_gray" basis="1" parallel="0" />    <!-- -60 dB -->
13					<ui:for id="t" first="0" last="4">
14						<marker value="${t}.5" color="g_gray" basis="0" parallel="1" />
15					</ui:for>
16
17					<!-- Yellow grid -->
18					<marker value="0.06310" color="g_yellow" basis="1" parallel="0" /><!-- -24 dB -->
19					<marker value="0.00398" color="g_yellow" basis="1" parallel="0" /><!-- -48 dB -->
20					<ui:for id="t" first="1" last="4">
21						<marker value="${t}" color="g_yellow" basis="0" parallel="1" />
22					</ui:for>
23
24					<!-- Axises and boundaries -->
25					<center hpos="1" vpos="-1" visible="false" />
26					<axis min="0" max="5" color="g_white" angle="1.0" logarithmic="false" />
27					<axis min="-72 db" max="24 db" color="g_white" angle="0.5" logarithmic="true" />
28					<marker value="24 db" color="g_white" basis="1" parallel="0" /> <!-- +24 dB -->
29					<marker value="5" color="g_white" basis="0" parallel="1" />
30
31					<!-- Baseline -->
32					<marker value="1.0" color="g_white" basis="1" parallel="0" width="2" /> <!-- 0 dB -->
33
34					<!-- Meshes -->
35					<mesh id="isg_m" width="2" color="middle_channel_in" visibility_id="ilv_m" />
36					<mesh id="isg_s" width="2" color="side_channel_in" visibility_id="ilv_s" />
37					<mesh id="osg_m" width="2" color="middle_channel" visibility_id="olv_m" />
38					<mesh id="osg_s" width="2" color="side_channel" visibility_id="olv_s" />
39					<mesh id="scg_m" width="2" color="bright_green" visibility_id="slv_m" />
40					<mesh id="scg_s" width="2" color="bright_green" visibility_id="slv_s" />
41					<mesh id="evg_m" width="2" color="bright_magenta" visibility_id="elv_m" />
42					<mesh id="evg_s" width="2" color="bright_magenta" visibility_id="elv_s" />
43					<mesh id="grg_m" width="2" color="bright_blue" visibility_id="grv_m" />
44					<mesh id="grg_s" width="2" color="bright_blue" visibility_id="grv_s" />
45
46					<!-- Text -->
47					<text text="graph.units.db" coord="5;15.8489" halign="1" valign="-1" />
48					<text text="+12" coord="5;3.98107" halign="1" valign="-1" />
49					<text text="0" coord="5;1" halign="1" valign="-1" />
50					<text text="-12" coord="5;0.25119" halign="1" valign="-1" />
51					<text text="-24" coord="5;0.06310" halign="1" valign="-1" />
52					<text text="-36" coord="5;0.01585" halign="1" valign="-1" />
53					<text text="-48" coord="5;0.00398" halign="1" valign="-1" />
54					<text text="-60" coord="5;0.001" halign="1" valign="-1" />
55
56					<text text="graph.units.s" coord="5;0.00025" halign="1" valign="1" />
57					<ui:for id="t" first="0" last="4" step="1">
58						<text text="${t}" coord="${t};0.00025" halign="-1" valign="1" color="white" />
59						<text text="${t}.5" coord="${t}.5;0.00025" halign="-1" valign="1" color="white" />
60					</ui:for>
61				</graph>
62				<label />
63			</vbox>
64
65			<!-- Graph buttons -->
66			<hbox spacing="4">
67				<button id="pause" size="16" color="green" led="true" />
68				<label text="labels.pause" />
69				<button id="clear" size="16" color="red" led="true" />
70				<label text="labels.clear" />
71				<button id="msl" size="16" color="yellow" led="true" />
72				<label text="labels.ms_listen" />
73				<align pad_right="4" expand="true" hpos="1">
74					<label text="labels.graphs.time" />
75				</align>
76			</hbox>
77
78			<!-- Sidechain meters -->
79			<vbox>
80				<grid rows="2" cols="2">
81					<label text="labels.chan.M_id" font_size="8" />
82					<label text="labels.chan.S_ide" font_size="8" />
83					<button id="slv_m" size="10" color="bright_green" led="true" />
84					<button id="slv_s" size="10" color="bright_green" led="true" />
85				</grid>
86				<meter expand="true"
87					id="slm_m" id2="slm_s" activity_id="slv_m" activity2_id="slv_s"
88					stereo="true" angle="1" type="peak"
89					min="0.000251189" max="15.8489" height="256"
90					color="bright_green" color2="bright_green" />
91			</vbox>
92			<label text="labels.sc.SC" />
93
94			<!-- Envelope meters -->
95			<vbox>
96				<grid rows="2" cols="2">
97					<label text="labels.chan.M_id" font_size="8" />
98					<label text="labels.chan.S_ide" font_size="8" />
99					<button id="elv_m" size="10" color="bright_magenta" led="true" />
100					<button id="elv_s" size="10" color="bright_magenta" led="true" />
101				</grid>
102				<meter expand="true"
103					id="elm_m" id2="elm_s" activity_id="elv_m" activity2_id="elv_s"
104					stereo="true" angle="1" type="peak"
105					min="0.000251189" max="15.8489" height="256"
106					color="bright_magenta" color2="bright_magenta" />
107			</vbox>
108			<label text="labels.Env_elope" />
109
110			<!-- Gain reduction meters -->
111			<vbox>
112				<grid rows="2" cols="2">
113					<label text="labels.chan.M_id" font_size="8" />
114					<label text="labels.chan.S_ide" font_size="8" />
115					<button id="grv_m" size="10" color="bright_blue" led="true" />
116					<button id="grv_s" size="10" color="bright_blue" led="true" />
117				</grid>
118				<meter expand="true"
119					id="rlm_m" id2="rlm_s" activity_id="grv_m" activity2_id="grv_s"
120					stereo="true" angle="1" type="peak"
121					min="0.00398" max="251.18861" balance="1.0" height="256"
122					color="bright_blue" color2="bright_blue" />
123			</vbox>
124			<label text="labels.gain_" />
125
126			<!-- Curve graph -->
127			<vbox expand="true">
128				<label />
129				<graph width="256" height="256" expand="true" fill="true">
130					<!-- Gray grid -->
131					<marker value="3.98107" color="g_gray" basis="1" parallel="0" />  <!-- +12 dB -->
132					<marker value="3.98107" color="g_gray" basis="0" parallel="1" />  <!-- +12 dB -->
133					<marker value="0.25119" color="g_gray" basis="1" parallel="0" />  <!-- -12 dB -->
134					<marker value="0.25119" color="g_gray" basis="0" parallel="1" />  <!-- -12 dB -->
135					<marker value="0.01585" color="g_gray" basis="1" parallel="0" />  <!-- -36 dB -->
136					<marker value="0.01585" color="g_gray" basis="0" parallel="1" />  <!-- -36 dB -->
137					<marker value="0.001" color="g_gray" basis="1" parallel="0" />    <!-- -60 dB -->
138					<marker value="0.001" color="g_gray" basis="0" parallel="1" />    <!-- -60 dB -->
139
140					<!-- Yellow grid -->
141					<marker value="0.06310" color="g_yellow" basis="1" parallel="0" /><!-- -24 dB -->
142					<marker value="0.06310" color="g_yellow" basis="0" parallel="1" /><!-- -24 dB -->
143					<marker value="0.00398" color="g_yellow" basis="1" parallel="0" /><!-- -48 dB -->
144					<marker value="0.00398" color="g_yellow" basis="0" parallel="1" /><!-- -48 dB -->
145
146					<!-- Axises and boundaries -->
147					<center hpos="-1" vpos="-1" visible="false" />
148					<axis min="0.00025" max="15.84893" color="g_gray" angle="0.0" logarithmic="true" /> <!-- horizontal axis -->
149					<axis min="0.00025" max="15.84893" color="g_gray" angle="0.5" logarithmic="true" /> <!-- vertical axis -->
150					<marker id="omk_m" offset="1" color="g_gray" basis="1" parallel="0" dx=":_a_width" dy=":_a_height" width="2" smooth="true" visibility=":cmv_m" />
151					<marker id="omk_s" offset="1" color="g_gray" basis="1" parallel="0" dx=":_a_width" dy=":_a_height" width="2" smooth="true" visibility=":cmv_s" />
152					<marker value="1" offset="1" color="g_gray" basis="1" parallel="0" dx=":_a_width" dy=":_a_height" width="2" smooth="true" /> <!-- 1:1 -->
153					<marker value="15.84893" color="g_gray" basis="1" parallel="0" /> <!-- +24 dB -->
154					<marker value="15.84893" color="g_gray" basis="0" parallel="1" /> <!-- +24 dB -->
155
156					<!-- 0 dB markers -->
157					<marker value="1.0" color="g_white" basis="1" parallel="0" width="2" /> <!-- 0 dB -->
158					<marker value="1.0" color="g_white" basis="0" parallel="1" width="2" /> <!-- 0 dB -->
159
160					<!-- Meshes -->
161					<mesh id="cmg_m" width="2" color="middle_channel" smooth="true" visibility=":cmv_m" />
162					<mesh id="cmg_s" width="2" color="side_channel" smooth="true" visibility=":cmv_s" />
163					<mesh id="ccg_m" width="3" color="middle_channel" smooth="true" visibility=":cmv_m" />
164					<mesh id="ccg_s" width="3" color="side_channel" smooth="true" visibility=":cmv_s" />
165
166					<!-- Markers -->
167					<ui:for id="i" first="0" last="3">
168						<marker id="al${i}_m" width="2" basis="0" color="g_magenta" parallel="1" smooth="true" visibility=":cmv_m and :ae${i}_m" />
169						<text text="graph.values.idM_id" text:id="${i}" coord=":al${i}_m;15.84893" color="magenta" halign="-1" valign="-1" visibility=":cmv_m and :ae${i}_m" />
170						<marker id="al${i}_s" width="2" basis="0" color="g_magenta" parallel="1" smooth="true" visibility=":cmv_s and :ae${i}_s" />
171						<text text="graph.values.idS_ide" text:id="${i}" coord=":al${i}_s;15.84893" color="magenta" halign="1" valign="-1" visibility=":cmv_s and :ae${i}_s" />
172					</ui:for>
173					<ui:for id="i" first="0" last="3">
174						<marker id="rl${i}_m" width="2" basis="0" color="g_orange" parallel="1" smooth="true" visibility=":cmv_m and :re${i}_m" />
175						<text text="graph.values.idM_id" text:id="${i}" coord=":rl${i}_m;0.00025" color="g_orange" halign="-1" valign="1" visibility=":cmv_m and :re${i}_m" />
176						<marker id="rl${i}_s" width="2" basis="0" color="g_orange" parallel="1" smooth="true" visibility=":cmv_s and :re${i}_s" />
177						<text text="graph.values.idS_ide" text:id="${i}" coord=":rl${i}_s;0.00025" color="g_orange" halign="1" valign="1" visibility=":cmv_s and :re${i}_s" />
178					</ui:for>
179
180					<!-- Dots -->
181					<ui:for id="i" first="0" last="3">
182						<dot hpos_id="tl${i}_m" vpos_id="gl${i}_m" scroll_id="kn${i}_m"
183							editable="true" color="middle_channel" visibility=":cmv_m and :pe${i}_m"
184						/>
185						<dot hpos_id="tl${i}_s" vpos_id="gl${i}_s" scroll_id="kn${i}_s"
186							editable="true" color="side_channel" visibility=":cmv_s and :pe${i}_s"
187						/>
188					</ui:for>
189					<ui:for id="i" first="0" last="3">
190						<text text="graph.values.idM_id" text:id="${i}" coord=":tl${i}_m;:gl${i}_m" color="middle_channel" halign="-1" valign="1" visibility=":cmv_m and :pe${i}_m" />
191						<text text="graph.values.idS_ide" text:id="${i}" coord=":tl${i}_s;:gl${i}_s" color="side_channel" halign="1" valign="-1" visibility=":cmv_s and :pe${i}_s" />
192					</ui:for>
193
194					<dot hpos_id="elm_m" vpos_id="clm_m" color="middle_channel" led="true" visibility=":cmv_m" />
195					<dot hpos_id="elm_s" vpos_id="clm_s" color="side_channel" led="true" visibility=":cmv_s" />
196
197					<!-- Text -->
198					<text text="0" coord="1;1" halign="1" valign="1" />
199
200					<text text="graph.units.db" coord="1;15.8489" halign="1" valign="-1" />
201					<text text="+12" coord="1;3.98107" halign="1" valign="-1" />
202					<text text="-12" coord="1;0.25119" halign="1" valign="-1" />
203					<text text="-24" coord="1;0.06310" halign="1" valign="-1" />
204					<text text="-36" coord="1;0.01585" halign="1" valign="-1" />
205					<text text="-48" coord="1;0.00398" halign="1" valign="-1" />
206					<text text="-60" coord="1;0.001" halign="1" valign="-1" />
207					<text text="graph.axis.out" coord="1;0.00025" halign="1" valign="1" />
208
209					<text text="graph.units.db" coord="15.8489;1" halign="-1" valign="1" />
210					<text text="+12" coord="3.98107;1" halign="-1" valign="1" />
211					<text text="-12" coord="0.25119;1" halign="-1" valign="1" />
212					<text text="-24" coord="0.06310;1" halign="-1" valign="1" />
213					<text text="-36" coord="0.01585;1" halign="-1" valign="1" />
214					<text text="-48" coord="0.00398;1" halign="-1" valign="1" />
215					<text text="-60" coord="0.001;1" halign="-1" valign="1" />
216					<text text="graph.axis.in" coord="0.00025;1" halign="1" valign="1" />
217				</graph>
218				<label />
219			</vbox>
220			<hbox>
221				<label text="labels.model:" />
222				<button id="cmv_m" size="16" color="middle_channel" led="true" />
223				<label text="labels.chan.middle" />
224				<button id="cmv_s" size="16" color="side_channel" led="true" />
225				<label text="labels.chan.side" />
226				<align pad_right="4" expand="true" hpos="1">
227					<label text="labels.graphs.curve" />
228				</align>
229			</hbox>
230
231			<!-- Input signal meters -->
232			<vbox>
233				<grid rows="2" cols="2">
234					<label text="labels.chan.M_id" font_size="8" />
235					<label text="labels.chan.S_ide" font_size="8" />
236					<button id="ilv_m" size="10" color="middle_channel" led="true" />
237					<button id="ilv_s" size="10" color="side_channel" led="true" />
238				</grid>
239				<meter expand="true"
240					id="ilm_m" id2="ilm_s" activity_id="ilv_m" activity2_id="ilv_s"
241					stereo="true" angle="1" type="rms_peak"
242					min="0.000251189" max="15.8489" height="256"
243					color="middle_channel" color2="side_channel" />
244			</vbox>
245			<label text="labels.chan.in" />
246
247			<!-- Output signal meters -->
248			<vbox>
249				<grid rows="2" cols="2">
250					<label text="labels.chan.M_id" font_size="8" />
251					<label text="labels.chan.S_ide" font_size="8" />
252					<button id="olv_m" size="10" color="middle_channel" led="true" />
253					<button id="olv_s" size="10" color="side_channel" led="true" />
254				</grid>
255				<meter expand="true"
256					id="olm_m" id2="olm_s" activity_id="olv_m" activity2_id="olv_s"
257					stereo="true" angle="1" type="rms_peak"
258					min="0.000251189" max="15.8489" height="256"
259					color="middle_channel" color2="side_channel" />
260			</vbox>
261			<label text="labels.chan.out" />
262		</grid>
263		<hbox spacing="4">
264			<!-- Processors -->
265			<cgroup id="psel">
266				<ui:for id="p" first="0" last="1">
267					<ui:set id="chn" value="${(:p mod 2) ? 'labels.chan.id_S_ide' : 'labels.chan.id_M_id'}" />
268					<ui:set id="ch" value="${(:p mod 2) ? '_s' : '_m'}" />
269					<ui:set id="chc" value="${(:p mod 2) ? 'side_channel' : 'middle_channel'}" />
270
271					<hbox expand="true" fill="true">
272						<!-- Sidechain -->
273						<grid rows="5" cols="5" expand="true" fill="true" spacing="2">
274							<cell cols="5">
275								<align hpos="-1">
276									<hbox fill="false" spacing="4">
277										<button id="scl${ch}" size="16" color="${chc}" led="true" />
278										<label text="labels.sc.listen" />
279									</hbox>
280								</align>
281							</cell>
282
283							<label text="labels.type" fill="true" halign="0" />
284							<cell cols="4" fill="true">
285								<align vpos="1" hscale="1">
286									<vbox spacing="1" fill="true">
287										<combo id="sct${ch}" fill="true" />
288										<combo id="scm${ch}" fill="true" />
289										<combo id="scs${ch}" fill="true" />
290									</vbox>
291								</align>
292							</cell>
293
294							<label text="labels.sc.preamp" />
295							<label text="labels.sc.reactivity" />
296							<label text="labels.sc.lookahead" />
297							<label text="labels.flt.HPF" />
298							<label text="labels.flt.LPF" />
299
300							<knob id="scp${ch}" />
301							<knob id="scr${ch}" />
302							<knob id="sla${ch}" />
303							<vbox>
304								<combo id="shpm${ch}" />
305								<knob id="shpf${ch}" size="20" bright="(:shpm${ch} igt 0) ? 1 : 0.5" />
306							</vbox>
307							<vbox>
308								<combo id="slpm${ch}" />
309								<knob id="slpf${ch}" size="20" bright="(:slpm${ch} igt 0) ? 1 : 0.5" />
310							</vbox>
311
312							<value id="scp${ch}" />
313							<value id="scr${ch}" />
314							<value id="sla${ch}" />
315							<value id="shpf${ch}" bright="(:shpm${ch} igt 0) ? 1 : 0.5" />
316							<value id="slpf${ch}" bright="(:slpm${ch} igt 0) ? 1 : 0.5" />
317						</grid>
318
319						<vsep />
320						<grid rows="9" cols="1" expand="true" fill="true">
321							<label text="labels.ratio_low" />
322							<knob id="llr${ch}" size="20" scale_color="${chc}" />
323							<value id="llr${ch}" />
324							<label text="labels.attack" />
325							<knob id="atd${ch}" size="20" scale_color="magenta" />
326							<value id="atd${ch}" />
327							<label text="labels.makeup" />
328							<knob id="omk${ch}" size="20" scale_color="${chc}" />
329							<value id="omk${ch}" />
330						</grid>
331						<vsep />
332						<grid rows="9" cols="9" transpose="true" expand="true" fill="true">
333							<label text="labels.ranges" />
334							<cell rows="2"><label text="labels.thresh_gain:db_db" /></cell>
335							<cell rows="2"><label text="labels.knee_:db" /></cell>
336							<cell rows="2"><label text="labels.attack:db_ms" /></cell>
337							<cell rows="2"><label text="labels.release:db_ms" /></cell>
338
339							<ui:for id="c" first="0" last="3">
340								<ui:set id="i" value="${c}${ch}" />
341
342								<cell cols="2"><label text="${chn}" text:id="${c}" /></cell>
343								<knob id="tl${i}" size="20" scale_color="${chc}" />
344								<value id="tl${i}" detailed="false" />
345								<knob id="kn${i}" size="20" scale_color="${chc}" />
346								<value id="kn${i}" detailed="false" />
347								<knob id="al${i}" size="20" scale_color="magenta" />
348								<value id="al${i}" detailed="false" />
349								<knob id="rl${i}" size="20" scale_color="orange" />
350								<value id="rl${i}" detailed="false" />
351
352								<knob id="gl${i}" size="20" scale_color="${chc}" />
353								<value id="gl${i}" detailed="false" />
354								<cell rows="2" fill="false">
355									<grid rows="3" cols="2" transpose="true" fill="false">
356										<button id="pe${i}" led="true" size="12" color="${chc}" />
357										<button id="ae${i}" led="true" size="12" color="magenta" />
358										<button id="re${i}" led="true" size="12" color="orange" />
359
360										<label text="labels.thr_eshold" font_size="9" detailed="false" />
361										<label text="labels.att_ack" font_size="9" detailed="false" />
362										<label text="labels.rel_ease" font_size="9" detailed="false" />
363									</grid>
364								</cell>
365								<knob id="at${i}" size="20" scale_color="magenta" />
366								<value id="at${i}" detailed="false" />
367								<knob id="rt${i}" size="20" scale_color="orange" />
368								<value id="rt${i}" detailed="false" />
369							</ui:for>
370						</grid>
371						<vsep />
372						<grid rows="9" cols="1" fill="true">
373							<label text="labels.ratio_high" />
374							<knob id="hlr${ch}" size="20" scale_color="${chc}" />
375							<value id="hlr${ch}" />
376							<label text="labels.release" />
377							<knob id="rtd${ch}" size="20" scale_color="orange" />
378							<value id="rtd${ch}" />
379							<cell rows="3" expand="true">
380								<grid rows="3" cols="2" expand="true">
381									<label text="labels.signal.dry" />
382									<label text="labels.signal.wet" />
383
384									<knob id="cdr${ch}" scale_color="yellow" size="20" />
385									<knob id="cwt${ch}" scale_color="yellow" size="20" />
386
387									<value id="cdr${ch}" />
388									<value id="cwt${ch}" />
389								</grid>
390							</cell>
391						</grid>
392					</hbox>
393				</ui:for>
394			</cgroup>
395
396			<!-- Signal control -->
397			<group text="groups.signal">
398				<grid rows="6" cols="1" transpose="true">
399					<label text="labels.input" />
400					<knob id="g_in" />
401					<value id="g_in" />
402
403					<label text="labels.output" />
404					<knob id="g_out" />
405					<value id="g_out" />
406				</grid>
407			</group>
408		</hbox>
409	</vbox>
410</plugin>