<plugin resizable="true">
	<vbox spacing="4">
		<grid rows="2" cols="7" transpose="true" 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="isg_l" width="2" color="left_channel_in" visibility_id="ilv_l" />
					<mesh id="isg_r" width="2" color="right_channel_in" visibility_id="ilv_r" />
					<mesh id="osg_l" width="2" color="left_channel" visibility_id="olv_l" />
					<mesh id="osg_r" width="2" color="right_channel" visibility_id="olv_r" />
					<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" />
					
					<!-- 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 id="omk" offset="1" color="g_gray" basis="1" parallel="0" dx=":_a_width" dy=":_a_height" width="2" smooth="true" />
					<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="cmg" width="2" color="middle_channel" smooth="true" visibility_id="cmv" />
					<mesh id="ccg" width="3" color="middle_channel" smooth="true" />
					
					<!-- Markers -->
					<ui:for id="i" first="0" last="3">
						<marker id="al${i}" width="2" basis="0" color="g_magenta" parallel="1" smooth="true" visibility_id="ae${i}" />
						<text text="${i}" coord=":al${i};15.84893" color="g_magenta" halign="-1" valign="-1" visibility_id="ae${i}" />
					</ui:for>
					<ui:for id="i" first="0" last="3">
						<marker id="rl${i}" width="2" basis="0" color="g_orange" parallel="1" smooth="true" visibility_id="re${i}" />
						<text text="${i}" coord=":rl${i};0.00025" color="g_orange" halign="-1" valign="1" visibility_id="re${i}" />
					</ui:for>
					
					<!-- Dots -->
					<ui:for id="i" first="0" last="3">
						<dot hpos_id="tl${i}" vpos_id="gl${i}" scroll_id="kn${i}"
							editable="true" color="middle_channel" visibility_id="pe${i}"
						/>
					</ui:for>
					<ui:for id="i" first="0" last="3">
						<text text="${i}" coord=":tl${i};:gl${i}" color="middle_channel" halign="-1" valign="1" visibility_id="pe${i}" />
					</ui:for>
					
					<dot hpos_id="elm" vpos_id="clm" color="middle_channel" led="true" />
					
					<!-- 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>
			<hbox>
				<button id="cmv" size="16" color="middle_channel" led="true" />
				<label text="labels.model" />
				<align pad_right="4" expand="true" hpos="1">
					<label text="labels.graphs.curve" />
				</align>
			</hbox>
			
			<!-- 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">
			<!-- Stereo processing -->
			<group text="groups.plug.processor">
				<hbox>
					<!-- Sidechain -->
					<grid rows="5" cols="5" expand="true" fill="true" spacing="2">
						<cell cols="5">
							<align hpos="-1">
								<hbox fill="false" spacing="4">
									<button id="scl" size="16" color="yellow" led="true" />
									<label text="labels.sc.listen" />
								</hbox>
							</align>
						</cell>
						
						<label text="labels.type" fill="true" halign="0" />
						<cell cols="4" fill="true">
							<align vpos="1" hscale="1">
								<vbox spacing="1" fill="true">
									<combo id="sct" fill="true"/>
									<combo id="scm" fill="true"/>
								</vbox>
							</align>
						</cell>
						
						<label text="labels.sc.preamp" />
						<label text="labels.sc.reactivity" />
						<label text="labels.sc.lookahead" />
						<label text="labels.flt.HPF" />
						<label text="labels.flt.LPF" />
						
						<knob id="scp" />
						<knob id="scr" />
						<knob id="sla" />
						<vbox>
							<combo id="shpm" />
							<knob id="shpf" size="20" bright="(:shpm igt 0) ? 1 : 0.5" />
						</vbox>
						<vbox>
							<combo id="slpm" />
							<knob id="slpf" size="20" bright="(:slpm igt 0) ? 1 : 0.5" />
						</vbox>
						
						<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>
					
					<vsep />
					<grid rows="9" cols="1" expand="true" fill="true">
						<label text="labels.ratio_low" />
						<knob id="llr" size="20" scale_color="middle_channel" />
						<value id="llr" />
						<label text="labels.attack" />
						<knob id="atd" size="20" scale_color="magenta" />
						<value id="atd" />
						<label text="labels.makeup" />
						<knob id="omk" size="20" scale_color="middle_channel" />
						<value id="omk" />
					</grid>
					<vsep />
					<grid rows="9" cols="9" transpose="true" expand="true" fill="true">
						<label text="labels.ranges" />
						<cell rows="2"><label text="labels.thresh_gain:db_db" /></cell>
						<cell rows="2"><label text="labels.knee_:db" /></cell>
						<cell rows="2"><label text="labels.attack:db_ms" /></cell>
						<cell rows="2"><label text="labels.release:db_ms" /></cell>
						
						<ui:for id="i" first="0" last="3">
							<cell cols="2"><label text="${i}" /></cell>
							<knob id="tl${i}" size="20" scale_color="middle_channel" />
							<value id="tl${i}" detailed="false" />
							<knob id="kn${i}" size="20" scale_color="middle_channel" />
							<value id="kn${i}" detailed="false" />
							<knob id="al${i}" size="20" scale_color="magenta" />
							<value id="al${i}" detailed="false" />
							<knob id="rl${i}" size="20" scale_color="orange" />
							<value id="rl${i}" detailed="false" />
							
							<knob id="gl${i}" size="20" scale_color="middle_channel" />
							<value id="gl${i}" detailed="false" />
							<cell rows="2" fill="false">
								<grid rows="3" cols="2" transpose="true" fill="false">
									<button id="pe${i}" led="true" size="12" color="middle_channel" />
									<button id="ae${i}" led="true" size="12" color="magenta" />
									<button id="re${i}" led="true" size="12" color="orange" />
									
									<label text="labels.thr_eshold" font_size="9" detailed="false" />
									<label text="labels.att_ack" font_size="9" detailed="false" />
									<label text="labels.rel_ease" font_size="9" detailed="false" />
								</grid>
							</cell>
							<knob id="at${i}" size="20" scale_color="magenta" />
							<value id="at${i}" detailed="false" />
							<knob id="rt${i}" size="20" scale_color="orange" />
							<value id="rt${i}" detailed="false" />
						</ui:for>
					</grid>
					<vsep />
					<grid rows="9" cols="1" expand="true" fill="true">
						<label text="labels.ratio_high" />
						<knob id="hlr" size="20" scale_color="middle_channel" />
						<value id="hlr" />
						<label text="labels.release" />
						<knob id="rtd" size="20" scale_color="orange" />
						<value id="rtd" />
						<cell rows="3" expand="true">
							<grid rows="3" cols="2" expand="true">
								<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>
						</cell>
					</grid>
				</hbox>
			</group>
			
			<!-- Signal control -->
			<group text="groups.signal">
				<grid rows="6" cols="1" transpose="true">
					<label text="labels.input" />
					<knob id="g_in" />
					<value id="g_in" />
												
					<label text="labels.output" />
					<knob id="g_out" />
					<value id="g_out" />
				</grid>
			</group>
		</hbox>
	</vbox>
</plugin>