<plugin>
	<port id="sw0alias" value="sw0" />
	
	<hbox spacing="4">
		<vbox fill="false">
			<label text="SW0" />
			<switch id="sw0" angle="1" />
			<led id="sw0alias" />
		</vbox>
		<group text="Knobs">
			<vbox>
				<hbox>
					<label text="BPM:" />
					<indicator id="time:bpm" format="f6.2!" text_color="green" />
				</hbox>
				<align hpos="0" vpos="1" hscale="0.5" vscale="0.5">
					<hbox>
						<vbox>
							<knob id="kn0" size="24" />
							<value id="kn0" />
							
							<knob id="kn1" />
							<value id="kn1" />
						</vbox>
						<vbox>
							<knob id="kn2" size="24" />
							<value id="kn2" />
							
							<knob id="kn3" size="16" />
							<value id="kn3" />
						</vbox>
					</hbox>
				</align>
			</vbox>
		</group>
		<vsep />
		<vsbar />
		<vsep />
		<group text="Buttons">
			<vbox>
				<align hpos="1" vpos="0" hscale="0.5" vscale="0.5">
					<hgrid rows="7" cols="2">
						<cell cols="2">
							<label text="Two cells label" />
						</cell>
						<param id="sw1" color="green" bg_color="bg2" />
						<param id="sw2" color="blue" bg_color="bg2" />
						<button id="sw1" size="24" color="green" led="true" />
						<button id="sw2" size="24" color="blue" />
						<value id="sw1" color="green" bg_color="bg2" fill="false" />
						<value id="sw2" color="blue" bg_color="bg2" fill="false" />
						
						<param id="sw3" color="yellow" />
						<label />
						<button id="sw3" size="32" color="yellow" led="true" />
						<label />
						<value id="sw3" color="yellow" />
						<label />
					</hgrid>
				</align>
				<hsep />
				<hsbar />
				<hsep />
				<hlink url="http://lsp-plug.in/" text="LSP Plugins" />
			</vbox>
		</group>
		<hsbox min_width="512" max_width="640" min_height="64" hscroll="optional" vscroll="optional" spacing="4" >
			<group text="Meters">
				<hbox>
					<vbox spacing="2">
						<listbox />
						<progress id="kn3" scale_hue_id="fbh1" fill="true" />
						<meter id="kn0" angle="0" activity=":sw1" />
						<fader id="fd0" angle="0" />
						<meter id="kn1" angle="2" activity=":sw2" />
						<fader id="fd1" angle="2" />
						<hbox>
							<combo id="fsel" />
							<combo id="bsel" />
							<indicator id="g[bsel]" format="f7.4!" />
						</hbox>
						<edit />
					</vbox>
					<meter id="kn2" angle="1" activity=":sw3" />
					<fader id="fd2" angle="1" />
					<meter id="kn3" angle="3" activity=":sw4" />
					<fader id="fd3" angle="3" />
				</hbox>
			</group>
			<group text="File selector">
				<grid rows="5" cols="5" expand="true">
					<cell cols="5">
						<file format="audio,all"
							id="ifn" head_id="ihc" tail_id="itc"
							fadein_id="ifi" fadeout_id="ifo" length_id="ifl"
							status_id="ifs" mesh_id="ifd"
							width="256" height="128"
							/>
					</cell>
					<cell cols="5">
						<hsep />
					</cell>
					<label text="Head cut" />
					<label text="Tail cut" />
					<label text="Fade in" />
					<label text="Fade out" />
					<label text="Save" />
					
					<knob id="ihc" size="20" />
					<knob id="itc" size="20" />
					<knob id="ifi" size="20" scale_color="yellow" />
					<knob id="ifo" size="20" scale_color="yellow" />
					<save id="ofn" format=" wav , lspc, , cfg, all " command_id="ofc" status_id="ofs" progress_id="ofp" />
					
					<value id="ihc" />
					<value id="itc" />
					<value id="ifi" />
					<value id="ifo" />
					<label />
				</grid>
			</group>
			
			<vbox>
				<graph width="320" height="200" fill="true">
					<center hpos="-1" vpos="-1" color="white" visible="true" />
					
					<ui:for id="f" first="20" last="90" step="10"><marker value="${f}" color="g_gray" basis="0" parallel="1" /></ui:for>
					<ui:for id="f" first="200" last="900" step="100"><marker value="${f}" color="g_gray" basis="0" parallel="1" /></ui:for>
					<ui:for id="f" first="2000" last="9000" step="1000"><marker value="${f}" color="g_gray" basis="0" parallel="1" /></ui:for>
					<marker value="20000" color="g_gray" basis="0" parallel="1" />
					
					<marker value="63.09575" color="g_gray" basis="1" parallel="0" />
					<marker value="3.98107" color="g_gray" basis="1" parallel="0" />
					<marker value="0.25119" color="g_gray" basis="1" parallel="0" />
					<marker value="0.01585" color="g_gray" basis="1" parallel="0" />
					
					<marker value="100" color="g_yellow" basis="0" parallel="1" />
					<marker value="1000" color="g_yellow" basis="0" parallel="1" />
					<marker value="10000" color="g_yellow" basis="0" parallel="1" />
		
					<marker value="15.84893" color="g_yellow" basis="1" parallel="0" />
					<marker value="1" color="g_white" basis="1" parallel="0" />
					<marker value="0.06310" color="g_yellow" basis="1" parallel="0" />
		
					<fbuffer id="fb0" width="1.0" height="0.5" hpos="-1" vpos="0" opacity="0.5" angle="0"
						mode=":fbm1" color="red" hue_id="fbh1" />
					<fbuffer id="fb0" width="-1.0" height="-0.5" hpos="-1" vpos="1" opacity="0.5" angle="0"
						mode=":fbm0" color="green" hue_id="fbh0" />
		
					<mesh id="fftg" width="3" color="middle_channel" smooth="true" fill="0.8" />
					
					<dot hpos="16" vpos_id="g_0" editable="true" color="middle_channel" />
					<dot hpos="25" vpos_id="g_1" editable="true" color="middle_channel" />
					<dot hpos="40" vpos_id="g_2" editable="true" color="middle_channel" />
					<dot hpos="63" vpos_id="g_3" editable="true" color="middle_channel" />
					<dot hpos="100" vpos_id="g_4" editable="true" color="middle_channel" />
					<dot hpos="160" vpos_id="g_5" editable="true" color="middle_channel" />
					<dot hpos="250" vpos_id="g_6" editable="true" color="middle_channel" />
					<dot hpos="400" vpos_id="g_7" editable="true" color="middle_channel" />
					<dot hpos="630" vpos_id="g_8" editable="true" color="middle_channel" />
					<dot hpos="1000" vpos_id="g_9" editable="true" color="middle_channel" />
					<dot hpos="1600" vpos_id="g_10" editable="true" color="middle_channel" />
					<dot hpos="2500" vpos_id="g_11" editable="true" color="middle_channel" />
					<dot hpos="4000" vpos_id="g_12" editable="true" color="middle_channel" />
					<dot hpos="6300" vpos_id="g_13" editable="true" color="middle_channel" />
					<dot hpos="10000" vpos_id="g_14" editable="true" color="middle_channel" />
					<dot hpos="16000" vpos_id="g_15" editable="true" color="middle_channel" />
		
					<marker value="251.18861" color="g_white" basis="1" parallel="0" />
					<marker value="24000" color="g_white" basis="0" parallel="1" />
					
					<axis min="10" max="24000" color="g_white" angle="0.0" logarithmic="true" />
					<axis min="0.00398" max="251.18861" color="g_white" angle="0.5" logarithmic="true" />
					
					<text text="Hz" coord="10;0.00398" halign="1" valign="1" />
					<text text="100" coord="100;0.00398" halign="1" valign="1" />
					<text text="1K" coord="1000;0.00398" halign="1" valign="1" />
					<text text="10K" coord="10000;0.00398" halign="1" valign="1" />
					
					<text text="+36" coord="10;63.09575" halign="1" valign="-1" />
					<text text="+24" coord="10;15.84893" halign="1" valign="-1" />
					<text text="+12" coord="10;3.98107" halign="1" valign="-1" />
					<text text="0" coord="10;1" halign="1" valign="1" />
					<text text="-12" coord="10;0.25119" halign="1" valign="1" />
					<text text="-24" coord="10;0.06310" halign="1" valign="1" />
					<text text="-36" coord="10;0.01585" halign="1" valign="1" />
					<text text="dB" coord="10;251.18861" halign="1" valign="-1" />
				</graph>
				<hbox spacing="2">
					<label text="Fb modes:" />
					<combo id="fbm0" />
					<knob id="fbh0" scale_hue_id="fbh0" size="20" />
					<combo id="fbm1" />
					<knob id="fbh1" scale_hue_id="fbh1" size="20" />
				</hbox>
			</vbox>
			<graph width="320" fill="true">
				<center hpos="0" vpos="0" color="white" visible="false" />
				
				<marker value="-1.75" color="g_gray" basis="0" parallel="1" />
				<marker value="-1.25" color="g_gray" basis="0" parallel="1" />
				<marker value="-0.75" color="g_gray" basis="0" parallel="1" />
				<marker value="-0.25" color="g_gray" basis="0" parallel="1" />
				<marker value="0.25" color="g_gray" basis="0" parallel="1" />
				<marker value="0.75" color="g_gray" basis="0" parallel="1" />
				<marker value="1.25" color="g_gray" basis="0" parallel="1" />
				<marker value="1.75" color="g_gray" basis="0" parallel="1" />
				<marker value="-1.75" color="g_gray" basis="1" parallel="0" />
				<marker value="-1.25" color="g_gray" basis="1" parallel="0" />
				<marker value="-0.75" color="g_gray" basis="1" parallel="0" />
				<marker value="-0.25" color="g_gray" basis="1" parallel="0" />
				<marker value="0.25" color="g_gray" basis="1" parallel="0" />
				<marker value="0.75" color="g_gray" basis="1" parallel="0" />
				<marker value="1.25" color="g_gray" basis="1" parallel="0" />
				<marker value="1.75" color="g_gray" basis="1" parallel="0" />				
				
				<marker value="-1.5" color="g_yellow" basis="0" parallel="1" />
				<marker value="-0.5" color="g_yellow" basis="0" parallel="1" />
				<marker value="0.5" color="g_yellow" basis="0" parallel="1" />
				<marker value="1.5" color="g_yellow" basis="0" parallel="1" />
				<marker value="-1.5" color="g_yellow" basis="1" parallel="0" />
				<marker value="-0.5" color="g_yellow" basis="1" parallel="0" />
				<marker value="0.5" color="g_yellow" basis="1" parallel="0" />
				<marker value="1.5" color="g_yellow" basis="1" parallel="0" />
				
				<marker value="-2" color="g_white" basis="0" parallel="1" />
				<marker value="-1" color="g_white" basis="0" parallel="1" />
				<marker value="1" color="g_white" basis="0" parallel="1" />
				<marker value="2" color="g_white" basis="0" parallel="1" />
				<marker value="-2" color="g_white" basis="1" parallel="0" />
				<marker value="-1" color="g_white" basis="1" parallel="0" />
				<marker value="1" color="g_white" basis="1" parallel="0" />
				<marker value="2" color="g_white" basis="1" parallel="0" />
				
				<axis min="-2" max="2" color="g_white" angle="0.0" />
				<axis min="-2" max="2" color="g_white" angle="0.5" />
				
				<stream
					id="lis" width="3" color="middle_channel" smooth="true"
					strobe="true" strobes="4" 
					/>
			</graph>
		</hsbox>
	</hbox>
</plugin>