<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" width="2" color="middle_channel_in" visibility_id="ilv" />
					<mesh id="ocg" width="2" color="middle_channel" visibility_id="olv" />
					<mesh id="scg" width="2" color="bright_green" visibility_id="slv" />
					<mesh id="evg" width="2" color="bright_magenta" visibility_id="elv" />
					<mesh id="grg" width="2" color="bright_blue" visibility_id="grv" />
					
					<!-- Markers -->
					<marker id="al" color="g_magenta" basis="1" parallel="0" />
					<marker id="rl" color="g_magenta" basis="1" parallel="0" />
					
					<!-- 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="ccg" width="3" color="middle_channel" smooth="true" />
					<dot hpos_id="elm" vpos_id="clm" color="middle_channel" led="true" />
					
					<!-- Markers -->
					<marker id="al" color="g_magenta" basis="0" parallel="1" />
					<marker id="rl" color="g_magenta" basis="0" parallel="1" />
				
					<!-- 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.compression" />
			</align>
			
			<!-- Input signal meters -->
			<vbox>
				<button id="ilv" size="16" color="middle_channel" led="true" />
				<meter expand="true" 
					id="ilm" angle="1" type="rms_peak" min="0.000251189" max="15.8489"
					height="256" color="middle_channel" activity_id="ilv" />
			</vbox>
			<label text="labels.chan.in" />
			
			<!-- Output signal meters -->
			<vbox>
				<button id="olv" size="16" color="middle_channel" led="true" />
				<meter expand="true"
					id="olm" angle="1" type="rms_peak" min="0.000251189" max="15.8489" 
					height="256" color="middle_channel" activity_id="olv" />
			</vbox>
			<label text="labels.chan.out" />
		</grid>
		<hbox spacing="4">
			<!-- Sidechain processing -->
			<group text="groups.sidechain" expand="true">
				<vbox>
					<grid rows="2" cols="3" transpose="true" spacing="2">
						<label text="labels.sc.position" halign="0" />
						<label text="labels.sc.type" halign="0" />
						
						<combo id="sct" />
						<combo id="scm" />

						<cell rows="2">
							<hbox spacing="4" fill="false">
								<button id="scl" size="16" color="yellow" led="true" />
								<label text="labels.sc.listen" />
							</hbox>
						</cell>
					</grid>
					<grid rows="4" cols="5" expand="true" hspacing="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>
						<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" />
						<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" />
						<value id="shpf" bright="(:shpm igt 0) ? 1 : 0.5" />
						<value id="slpf" bright="(:slpm igt 0) ? 1 : 0.5" />
					</grid>
				</vbox>
			</group>
			
			<!-- Compressor setup -->
			<group text="groups.plug.compressor" expand="true">
				<vbox expand="true" fill="true">
					<align hpos="-1">
						<hbox spacing="4">
							<label text="labels.mode" />
							<combo id="cm" />
						</hbox>
					</align>
					<grid rows="4" cols="13" expand="true">
						<cell rows="2"><label text="labels.ratio" /></cell>
						<cell rows="2"><label text="labels.knee" /></cell>
						<cell rows="2"><label text="labels.makeup" /></cell>
						<cell rows="2"><label text="labels.boost" bright="(:cm ieq 0) ? 0.5 : 1" /></cell>
						<cell rows="4"><vsep /></cell>
						<cell cols="2"><label text="labels.attack" /></cell>
						<cell rows="4"><vsep /></cell>
						<cell cols="2"><label text="labels.release" /></cell>
						<cell rows="4"><vsep /></cell>
						<cell cols="2"><label text="labels.mix" /></cell>
						
						<label text="labels.thresh_old" />
						<label text="labels.time" />
						<label text="labels.thresh_old" />
						<label text="labels.time" />
						<label text="labels.signal.dry" />
						<label text="labels.signal.wet" />
						
						<knob id="cr" />
						<knob id="kn" />
						<knob id="mk" />
						<hbox>
							<knob id="bth" bright="(:cm ieq 0) ? 0.5 : 1" visibility=":cm ine 2" />
							<knob id="bsa" bright="(:cm ieq 0) ? 0.5 : 1" visibility=":cm ieq 2" />
						</hbox>
						<knob id="al" scale_color="magenta" size="20" />
						<knob id="at" size="20" />
						<knob id="rrl" scale_color="magenta" size="20" />
						<knob id="rt" size="20" />
						<knob id="cdr" scale_color="yellow" size="20" />
						<knob id="cwt" scale_color="yellow" size="20" />
						
						<hbox fill="false">
							<value id="cr" detailed="false"/>
							<label text=":"/>
							<label text="1"/>
						</hbox>
						<value id="kn" />
						<value id="mk" />
						<hbox>
							<value id="bth" bright="(:cm ieq 0) ? 0.5 : 1" visibility=":cm ine 2" />
							<value id="bsa" bright="(:cm ieq 0) ? 0.5 : 1" visibility=":cm ieq 2" />
						</hbox>
						<value id="al" />
						<value id="at" />
						<value id="rrl" />
						<value id="rt" />
						<value id="cdr" />
						<value id="cwt" />
					</grid>
				</vbox>
			</group>
			
			<!-- Signal control -->
			<group text="groups.signal" expand="true">
				<grid rows="3" cols="2" expand="true">
					<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>