<plugin resizable="true">
	<vbox spacing="4">
		<grid rows="2" cols="7" transpose="true" hspacing="2" vspacing="2" expand="true">
			<!-- Time graph -->
			<vbox expand="true">
				<label />
				<graph width="480" height="256" expand="true">
					<!-- Gray grid -->
					<marker value="3.98107" color="g_gray" basis="1" parallel="0" />  <!-- +12 dB -->
					<marker value="0.25119" color="g_gray" basis="1" parallel="0" />  <!-- -12 dB -->
					<marker value="0.01585" color="g_gray" basis="1" parallel="0" />  <!-- -36 dB -->
					<marker value="0.001" color="g_gray" basis="1" parallel="0" />    <!-- -60 dB -->
					<ui:for id="t" first="0" last="4">
						<marker value="${t}.5" color="g_gray" basis="0" parallel="1" />
					</ui:for>
					
					<!-- Yellow grid -->
					<marker value="0.06310" color="g_yellow" basis="1" parallel="0" /><!-- -24 dB -->
					<marker value="0.00398" color="g_yellow" basis="1" parallel="0" /><!-- -48 dB -->
					<ui:for id="t" first="1" last="4">
						<marker value="${t}" color="g_yellow" basis="0" parallel="1" />
					</ui:for>
	
					<!-- Axises and boundaries -->
					<center hpos="1" vpos="-1" visible="false" />
					<axis min="0" max="5" color="g_white" angle="1.0" logarithmic="false" />
					<axis min="-72 db" max="24 db" color="g_white" angle="0.5" logarithmic="true" />
					<marker value="24 db" color="g_white" basis="1" parallel="0" /> <!-- +24 dB -->
					<marker value="5" color="g_white" basis="0" parallel="1" />
					
					<!-- Baseline -->
					<marker value="1.0" color="g_white" basis="1" parallel="0" width="2" /> <!-- 0 dB -->
					
					<!-- Meshes -->
					<mesh id="icg_l" width="2" color="left_channel_in" visibility=":ilv_l" />
					<mesh id="icg_r" width="2" color="right_channel_in" visibility=":ilv_r" />
					<mesh id="ocg_l" width="2" color="left_channel" visibility=":olv_l" />
					<mesh id="ocg_r" width="2" color="right_channel" visibility=":olv_r" />
					<mesh id="scg" width="2" color="bright_green" visibility=":slv" />
					<mesh id="evg" width="2" color="bright_magenta" visibility=":elv" />
					<mesh id="grg" width="2" color="bright_blue" visibility=":grv" />
					
					<!-- Markers -->
					<marker id="gzs" color="g_blue" basis="1" parallel="0" />
					<marker id="hzs" color="g_blue" basis="1" parallel="0" visibility=":gh" />
					<marker id="gt" color="g_magenta" basis="1" parallel="0" />
					<marker id="hts" color="g_magenta" basis="1" parallel="0" visibility=":gh" />
					
					<!-- Text -->
					<text text="graph.units.db" coord="5;15.8489" halign="1" valign="-1" />
					<text text="+12" coord="5;3.98107" halign="1" valign="-1" />
					<text text="0" coord="5;1" halign="1" valign="-1" />
					<text text="-12" coord="5;0.25119" halign="1" valign="-1" />
					<text text="-24" coord="5;0.06310" halign="1" valign="-1" />
					<text text="-36" coord="5;0.01585" halign="1" valign="-1" />
					<text text="-48" coord="5;0.00398" halign="1" valign="-1" />
					<text text="-60" coord="5;0.001" halign="1" valign="-1" />
					
					<text text="graph.units.s" coord="5;0.00025" halign="1" valign="1" />
					<ui:for id="t" first="0" last="4" step="1">
						<text text="${t}" coord="${t};0.00025" halign="-1" valign="1" color="white" />
						<text text="${t}.5" coord="${t}.5;0.00025" halign="-1" valign="1" color="white" />
					</ui:for>
				</graph>
				<label />
			</vbox>
			
			<!-- Graph buttons -->
			<hbox>
				<button id="pause" size="16" color="green" led="true" />
				<label text="labels.pause" />
				<button id="clear" size="16" color="red" led="true" />
				<label text="labels.clear" />
				<align pad_right="4" expand="true" hpos="1">
					<label text="labels.graphs.time" />
				</align>
			</hbox>
			
			<!-- Sidechain meters -->				
			<vbox>
				<button id="slv" size="16" color="bright_green" led="true" />
				<meter expand="true"
					id="slm" angle="1" logarithmic="true" min="0.000251189" max="15.8489"
					height="256" color="bright_green" activity_id="slv" />
			</vbox>
			<label text="labels.sc.SC" />
			
			<!-- Envelope meters -->
			<vbox>
				<button id="elv" size="16" color="bright_magenta" led="true" />
				<meter expand="true"
					id="elm" angle="1" logarithmic="true" min="0.000251189" max="15.8489"
					height="256" color="bright_magenta" activity_id="elv" />
			</vbox>
			<label text="labels.Env_elope" />
			
			<!-- Gain meters -->
			<vbox>
				<button id="grv" size="16" color="bright_blue" led="true" />
				<meter expand="true"
					id="rlm" activity_id="grv" color="bright_blue"  
					angle="1" logarithmic="true" type="peak"
					min="0.00398" max="251.18861" balance="1.0" height="256" />
			</vbox>
			<label text="labels.gain_" />
			
			<!-- Curve graph -->
			<vbox expand="true">
				<label />
				<graph width="256" height="256" expand="true" fill="true">
					<!-- Gray grid -->
					<marker value="3.98107" color="g_gray" basis="1" parallel="0" />  <!-- +12 dB -->
					<marker value="3.98107" color="g_gray" basis="0" parallel="1" />  <!-- +12 dB -->
					<marker value="0.25119" color="g_gray" basis="1" parallel="0" />  <!-- -12 dB -->
					<marker value="0.25119" color="g_gray" basis="0" parallel="1" />  <!-- -12 dB -->
					<marker value="0.01585" color="g_gray" basis="1" parallel="0" />  <!-- -36 dB -->
					<marker value="0.01585" color="g_gray" basis="0" parallel="1" />  <!-- -36 dB -->
					<marker value="0.001" color="g_gray" basis="1" parallel="0" />    <!-- -60 dB -->
					<marker value="0.001" color="g_gray" basis="0" parallel="1" />    <!-- -60 dB -->
					
					<!-- Yellow grid -->
					<marker value="0.06310" color="g_yellow" basis="1" parallel="0" /><!-- -24 dB -->
					<marker value="0.06310" color="g_yellow" basis="0" parallel="1" /><!-- -24 dB -->
					<marker value="0.00398" color="g_yellow" basis="1" parallel="0" /><!-- -48 dB -->
					<marker value="0.00398" color="g_yellow" basis="0" parallel="1" /><!-- -48 dB -->
				
					<!-- Axises and boundaries -->
					<center hpos="-1" vpos="-1" visible="false" />
					<axis min="0.00025" max="15.84893" color="g_gray" angle="0.0" logarithmic="true" /> <!-- horizontal axis -->
					<axis min="0.00025" max="15.84893" color="g_gray" angle="0.5" logarithmic="true" /> <!-- vertical axis -->
					<marker value="1" offset="1" color="g_gray" basis="1" parallel="0" dx=":_a_width" dy=":_a_height" width="2" smooth="true" /> <!-- 1:1 -->
					<marker value="15.84893" color="g_gray" basis="1" parallel="0" /> <!-- +24 dB -->
					<marker value="15.84893" color="g_gray" basis="0" parallel="1" /> <!-- +24 dB -->

					<!-- 0 dB markers -->
					<marker value="1.0" color="g_white" basis="1" parallel="0" width="2" /> <!-- 0 dB -->
					<marker value="1.0" color="g_white" basis="0" parallel="1" width="2" /> <!-- 0 dB -->
					
					<!-- Meshes -->
					<mesh id="hg" width="3" color="middle_channel" smooth="true" visibility=":gh" />
					<mesh id="cg" width="3" color="middle_channel" smooth="true" />
					<dot hpos_id="elm" vpos_id="clm" color="middle_channel" led="true" />
					
					<!-- Markers -->
					<marker id="gzs" color="g_blue" basis="0" parallel="1" />
					<marker id="hzs" color="g_blue" basis="0" parallel="1" visibility=":gh" />
					<marker id="gt" color="g_magenta" basis="0" parallel="1" />
					<marker id="hts" color="g_magenta" basis="0" parallel="1" visibility=":gh" />
				
					<!-- Text -->
					<text text="0" coord="1;1" halign="1" valign="1" />
					
					<text text="graph.units.db" coord="1;15.8489" halign="1" valign="-1" />
					<text text="+12" coord="1;3.98107" halign="1" valign="-1" />
					<text text="-12" coord="1;0.25119" halign="1" valign="-1" />
					<text text="-24" coord="1;0.06310" halign="1" valign="-1" />
					<text text="-36" coord="1;0.01585" halign="1" valign="-1" />
					<text text="-48" coord="1;0.00398" halign="1" valign="-1" />
					<text text="-60" coord="1;0.001" halign="1" valign="-1" />
					<text text="graph.axis.out" coord="1;0.00025" halign="1" valign="1" />
					
					<text text="graph.units.db" coord="15.8489;1" halign="-1" valign="1" />
					<text text="+12" coord="3.98107;1" halign="-1" valign="1" />
					<text text="-12" coord="0.25119;1" halign="-1" valign="1" />
					<text text="-24" coord="0.06310;1" halign="-1" valign="1" />
					<text text="-36" coord="0.01585;1" halign="-1" valign="1" />
					<text text="-48" coord="0.00398;1" halign="-1" valign="1" />
					<text text="-60" coord="0.001;1" halign="-1" valign="1" />
					<text text="graph.axis.in" coord="0.00025;1" halign="1" valign="1" />
				</graph>
				<label />
			</vbox>
			<align pad_right="4" fill="true" hpos="0">
				<label text="labels.graphs.gating" />
			</align>
			
			<!-- Input signal meters -->
			<vbox>
				<grid rows="2" cols="2">
					<label text="labels.chan.L_eft" font_size="8" />
					<label text="labels.chan.R_ight" font_size="8" />
					<button id="ilv_l" size="10" color="left_channel" led="true" />
					<button id="ilv_r" size="10" color="right_channel" led="true" />
				</grid>
				<meter expand="true"
					id="ilm_l" id2="ilm_r" activity_id="ilv_l" activity2_id="ilv_r"
					stereo="true" angle="1" type="rms_peak"
					min="0.000251189" max="15.8489" height="256"
					color="left_channel" color2="right_channel" />
			</vbox>
			<label text="labels.chan.in" />
			
			<!-- Output signal meters -->
			<vbox>
				<grid rows="2" cols="2">
					<label text="labels.chan.L_eft" font_size="8" />
					<label text="labels.chan.R_ight" font_size="8" />
					<button id="olv_l" size="10" color="left_channel" led="true" />
					<button id="olv_r" size="10" color="right_channel" led="true" />
				</grid>
				<meter expand="true"
					id="olm_l" id2="olm_r" activity_id="olv_l" activity2_id="olv_r"
					stereo="true" angle="1" type="rms_peak"
					min="0.000251189" max="15.8489" height="256"
					color="left_channel" color2="right_channel" />
			</vbox>
			<label text="labels.chan.out" />
		</grid>
		<hbox spacing="4">
			<!-- Sidechain processing -->
			<group text="groups.sidechain">
				<grid rows="4" cols="6" expand="true" spacing="2">
					<cell rows="2"><label text="labels.sc.preamp" /></cell>
					<cell rows="2"><label text="labels.sc.reactivity" /></cell>
					<cell rows="2"><label text="labels.sc.lookahead" /></cell>
					<cell rows="2"><label text="labels.sc.type" /></cell>
					<label text="labels.flt.HPF" />
					<label text="labels.flt.LPF" />
					
					<combo id="shpm" />
					<combo id="slpm" />
					
					<knob id="scp" />
					<knob id="scr" />
					<knob id="sla" />
					<vbox fill="false" spacing="1">
						<combo id="sci" visibility="ex :sci" fill="true" />
						<combo id="scm" fill="true" />
						<combo id="scs" fill="true" />
					</vbox>
					<knob id="shpf" size="20" bright="(:shpm igt 0) ? 1 : 0.5" />
					<knob id="slpf" size="20" bright="(:slpm igt 0) ? 1 : 0.5" />
					
					<value id="scp" />
					<value id="scr" />
					<value id="sla" />
					<hbox spacing="4" fill="false">
						<button id="scl" size="16" color="yellow" led="true" />
						<label text="labels.sc.listen" />
					</hbox>
					<value id="shpf" bright="(:shpm igt 0) ? 1 : 0.5" />
					<value id="slpf" bright="(:slpm igt 0) ? 1 : 0.5" />
				</grid>
			</group>
			
			<!-- Gate setup -->
			<group text="groups.plug.gate">
				<hbox expand="true">
					<grid rows="3" cols="4">
						<label text="labels.reduction" />
						<label text="labels.makeup" />
						<label text="labels.attack" />
						<label text="labels.release" />
						
						<knob id="gr" scale_color="middle_channel" />
						<knob id="mk" scale_color="middle_channel" />
						<knob id="at" scale_color="middle_channel" />
						<knob id="rt" scale_color="middle_channel" />
						
						<value id="gr" />
						<value id="mk" />
						<value id="at" />
						<value id="rt" />
					</grid>
					<vsep />
					<grid rows="4" cols="4">
						<cell cols="2"><label text="labels.curve" /></cell>
						<cell cols="2" fill="false">
							<hbox fill="false">
								<button id="gh" size="16" color="middle_channel" led="true" />
								<label text="labels.hysteresis" />
							</hbox>
						</cell>
						<label text="labels.thresh_old" />
						<label text="labels.zone" />
						<label text="labels.thresh_old" />
						<label text="labels.zone" />
						
						<knob id="gt" scale_color="magenta" size="20" />
						<knob id="gz" scale_color="blue" size="20" />
						<knob id="ht" scale_color="magenta" size="20" />
						<knob id="hz" scale_color="blue" size="20" />
						
						<value id="gt" />
						<value id="gz" />
						<value id="ht" />
						<value id="hz" />
					</grid>
					<vsep />
					<grid rows="4" cols="2">
						<cell cols="2"><label text="labels.mix" /></cell>
						<label text="labels.signal.dry" />
						<label text="labels.signal.wet" />
						
						<knob id="cdr" scale_color="yellow" size="20" />
						<knob id="cwt" scale_color="yellow" size="20" />
						
						<value id="cdr" />
						<value id="cwt" />
					</grid>
				</hbox>
			</group>
			
			<!-- Signal control -->
			<group text="groups.signal">
				<grid rows="3" cols="2">
					<label text="labels.input" />
					<label text="labels.output" />
					
					<knob id="g_in" />
					<knob id="g_out" />
					
					<value id="g_in" />
					<value id="g_out" />
				</grid>
			</group>
		</hbox>
	</vbox>
</plugin>