<plugin resizable="true">
	<vbox spacing="4">
		<group text="groups.chan.master">
			<grid rows="3" cols="9">
				<label text="labels.temperature" />
				<label text="labels.predelay" />
				<label text="labels.tempo" />
				<label text="labels.stretch" />
				<label text="labels.settings" />
				<label text="labels.signal.pan" />
				<label text="labels.signal.dry" />
				<label text="labels.signal.wet" />
				<label text="labels.output" />
				
				<knob id="temp" />
				<knob id="pred" />
				<vbox>
					<knob id="tempo" visibility="!:sync" />
					<indicator id="time:bpm" format="f4.1!" visibility=":sync" text_color="green" />
					<label text="labels.host_bpm" font_size="9" visibility=":sync" />
				</vbox>
				<knob id="strch" />
				<grid rows="2" cols="2" fill="false">
					<button id="mono" size="16" led="true" color="green" />
					<label text="labels.signal.mono" />
					<button id="ramp" size="16" led="true" color="yellow" />
					<label text="labels.ramp" />
				</grid>
				<knob id="p_in" />
				<knob id="dry" scale_color="yellow" />
				<knob id="wet" scale_color="yellow" />
				<knob id="g_out" />
				
				<value id="temp" />
				<value id="pred" />
				<vbox fill="false">
					<value id="tempo" same_line="true" visibility="!:sync" />
					<hbox fill="false">
						<button id="sync" size="12" color="green" led="true" />
						<label text="labels.sync" font_size="9" />
					</hbox>
				</vbox>
				<value id="strch" />
				<ttap id="tempo" text="actions.tap" color="knob_scale" width="60" led="true" text_color="label_text" />
				<value id="p_in" />
				<vbox fill="false">
					<value id="dry" same_line="true" />
					<hbox fill="false">
						<button id="dm" size="12" color="red" led="true" />
						<label text="labels.mute" font_size="9" />
					</hbox>
				</vbox>
				<vbox fill="false">
					<value id="wet" same_line="true" />
					<hbox fill="false">
						<button id="wm" size="12" color="red" led="true" />
						<label text="labels.mute" font_size="9" />
					</hbox>
				</vbox>
				<value id="g_out" />
			</grid>
		</group>
		<cgroup id="lsel">
			<!-- 4 groups -->
			<ui:for id="g" first="0" last="3">
				<grid rows="18" cols="12" hspacing="1">
					<cell rows="2"><label text="labels.mode" /></cell>
					<cell rows="2"><label text="labels.delay" /></cell>
					<label text="labels.panorama" />
					<label text="labels.gain" />
					<cell rows="2"><label text="labels.filters" /></cell>
					<label text="labels.flt.low_cut" />
					<cell cols="5"><label text="labels.equalizer:db" /></cell>
					<label text="labels.flt.high_cut" />
					
					<label text="labels.units.:pc" />
					<label text="labels.units.:db" />
					<label text="labels.units.:hz" />
					<label text="labels.flt.subs" />
					<label text="labels.flt.bass" />
					<label text="labels.flt.middle" />
					<label text="labels.flt.presence" />
					<label text="labels.flt.treble" />
					<label text="labels.units.:hz" />
				
					<ui:for id="i" first="${:g*4}" last="${:g*4+3}">
						<!-- Row 1 -->
						<combo id="dm${i}" width="64" />
						<hbox>
							<knob id="dt${i}" visibility=":dm${i} ieq 1" />
							<knob id="dd${i}" visibility="(:dm${i} ieq 0) or (:dm${i} ieq 2)" />
							<frac id="df${i}" id2="ds${i}" visibility=":dm${i} ieq 3" color="green" />
						</hbox>
						<knob id="p${i}" />
						<knob id="dg${i}" />
						<cell rows="2" fill="false">
							<grid rows="3" cols="2" fill="false">
								<button id="lfc${i}" size="12" color="magenta" led="true" />
								<label text="labels.flt.L_owC_ut" font_size="9" />
								<button id="eq${i}" size="12" color="green" led="true" />
								<label text="labels.flt.EQ_ualizer" font_size="9" />
								<button id="hfc${i}" size="12" color="cyan" led="true" />
								<label text="labels.flt.H_ighC_ut" font_size="9" />
							</grid>
						</cell>
						<knob id="flc${i}" size="20" scale_color="magenta" />
						<knob id="fbs${i}" size="20" scale_color="green" />
						<knob id="fbb${i}" size="20" scale_color="green" />
						<knob id="fbm${i}" size="20" scale_color="green" />
						<knob id="fbp${i}" size="20" scale_color="green" />
						<knob id="fbt${i}" size="20" scale_color="green" />
						<knob id="fhc${i}" size="20" scale_color="cyan" />
						
						<!-- Row 2 -->
						<hbox fill="false">
							<label text="labels.specials.idx:" text:id="${i}" />
							<button id="s${i}" size="12" color="green" led="true" />
							<label text="labels.chan.S_olo" font_size="9" />
							<button id="m${i}" size="12" color="red" led="true" />
							<label text="labels.chan.M_ute" font_size="9" />
							<button id="ph${i}" size="12" color="yellow" led="true" />
							<label text="labels.signal.P_hase" font_size="9" />
						</hbox>
						<hbox>
							<value id="dt${i}" visibility=":dm${i} ieq 1" same_line="true" />
							<value id="dd${i}" visibility="(:dm${i} ieq 0) or (:dm${i} ieq 2)" same_line="true" />
							<value id="df${i}" visibility=":dm${i} ieq 3" same_line="true" precision="3" />
						</hbox>
						<value id="p${i}" detailed="false" />
						<value id="dg${i}" detailed="false" />
						<value id="flc${i}" detailed="false"  />
						<value id="fbs${i}" detailed="false" />
						<value id="fbb${i}" detailed="false" />
						<value id="fbm${i}" detailed="false" />
						<value id="fbp${i}" detailed="false" />
						<value id="fbt${i}" detailed="false" />
						<value id="fhc${i}" detailed="false"  />
					</ui:for>
				</grid>
			</ui:for>
		</cgroup>
	</vbox>
</plugin>