<plugin resizable="true">
	<grid rows="3" cols="2" vspacing="4" hspacing="4">
		<!-- IR editor -->
		<group text="groups.impulse_response" expand="true">
			<vbox spacing="4">
				<!-- File editor -->
				<align hpos="-1">
					<hbox spacing="4">
						<label text="labels.file" />
						<combo id="fsel" />
						<label text="labels.fft.frame" />
						<combo id="fft" />
						<label text="labels.ir_equalizer" />
						<button id="wpp" color="green" led="true" />
						<label text="labels.flt.show_" />
						<button id="eqv" color="yellow" led="true" />
					</hbox>
				</align>
				
				<ui:for id="i" first="0" last="3">
					<hbox border="2" visibility=":fsel == ${i}" expand="true">
						<file fill="true"
							id="ifn${i}" head_id="ihc${i}" tail_id="itc${i}"
							fadein_id="ifi${i}" fadeout_id="ifo${i}" length_id="ifl${i}"
							status_id="ifs${i}" mesh_id="ifd${i}"
							width="600" height="128"
							path_id="ui:dlg_ir_path"
							format="audio_lspc,audio,all"
						/>
					</hbox>
					
					<grid rows="3" cols="6" visibility=":fsel == ${i}">
						<label text="labels.sedit.reverse" />
						<label text="labels.sedit.head_cut" />
						<label text="labels.sedit.tail_cut" />
						<label text="labels.sedit.fade_in" />
						<label text="labels.sedit.fade_out" />
						<label text="labels.listen" />
						
						<button id="irv${i}" size="32" toggle="false" />
						<knob id="ihc${i}" size="20" />
						<knob id="itc${i}" size="20" />
						<knob id="ifi${i}" size="20" scale_color="yellow" />
						<knob id="ifo${i}" size="20" scale_color="yellow" />
						<button id="ils${i}" size="32" toggle="false" />
						
						<led id="irv${i}" />
						<value id="ihc${i}" />
						<value id="itc${i}" />
						<value id="ifi${i}" />
						<value id="ifo${i}" />
						<led id="ils${i}" />
					</grid>
				</ui:for>
			</vbox>
		</group>
		
		<cell rows="2">
			<group text="groups.output">
				<vbox>
					<grid rows="15" cols="1" expand="true" fill="true">
						<label text="labels.signal.dry_pan" />
						<knob id="p" />
						<value id="p" same_line="true" />
						
						<label text="labels.predelay" />
						<knob id="pd" />
						<value id="pd" same_line="true" />
					</grid>
					<hsep />
					
					<grid rows="15" cols="1" expand="true" fill="true">	
						<label text="labels.signal.dry" />
						<knob id="dry" scale_color="yellow" />
						<value id="dry" same_line="true" />
						
						<label text="labels.signal.wet" />
						<knob id="wet" scale_color="yellow" />
						<value id="wet" same_line="true" />
						
						<label text="labels.output" />
						<knob id="g_out" />
						<value id="g_out" same_line="true" />
					</grid>
				</vbox>
			</group>
		</cell>
		
		<group text="groups.processors">
			<hbox>
				<grid rows="5" cols="5" expand="true">
					<label text="labels.specials.num" />
					<label text="labels.predelay" />
					<label text="labels.source" />
					<label text="labels.makeup" />
					<label text="labels.signal.out_lr" />
					
					<ui:for id="i" first="0" last="1">
						<label text="labels.specials.idx" text:id="${i}" />
						<knob id="pd${i}" size="20" />
						<vbox spacing="2">
							<combo id="csf${i}" fill="true" />
							<combo id="cst${i}" fill="true" />
						</vbox>
						<knob id="mk${i}" size="20" />
						<knob id="com${i}" size="20" />
						
						<label />
						<value id="pd${i}" same_line="true" />
						<hbox fill="false">
							<button id="cam${i}" size="12" color="red" led="true" />
							<label text="labels.chan.mute" font_size="9" />
							<led id="ca${i}" />
							<label text="labels.active" font_size="9" />
						</hbox>
						<value id="mk${i}" same_line="true" />
						<value id="com${i}" same_line="true" />
					</ui:for>
				</grid>
				<vsep />
				<grid rows="5" cols="5" expand="true">
					<label text="labels.specials.num" />
					<label text="labels.predelay" />
					<label text="labels.source" />
					<label text="labels.makeup" />
					<label text="labels.signal.out_lr" />
					
					<ui:for id="i" first="2" last="3">
						<label text="labels.specials.idx" text:id="${i}" />
						<knob id="pd${i}" size="20" />
						<vbox spacing="2">
							<combo id="csf${i}" fill="true" />
							<combo id="cst${i}" fill="true" />
						</vbox>
						<knob id="mk${i}" size="20" />
						<knob id="com${i}" size="20" />
						
						<label />
						<value id="pd${i}" same_line="true" />
						<hbox fill="false">
							<button id="cam${i}" size="12" color="red" led="true" />
							<label text="labels.chan.mute" font_size="9" />
							<led id="ca${i}" />
							<label text="labels.active" font_size="9"  />
						</hbox>
						<value id="mk${i}" same_line="true" />
						<value id="com${i}" same_line="true" />
					</ui:for>
				</grid>
			</hbox>
		</group>

		<!-- Wet equalization -->
		<cell cols="2">
			<group text="groups.wet_signal_eq" visibility=":eqv">
				<grid rows="5" cols="10">
					<ui:attributes bright="(:wpp) ? 1 : 0.5">
						<label text="labels.flt.low_cut" />
						<label text="50" />
						<label text="107" />
						<label text="227" />
						<label text="484" />
						<label text="labels.values.x_k" text:value="1" />
						<label text="labels.values.x_k" text:value="2.2" />
						<label text="labels.values.x_k" text:value="4.7" />
						<label text="labels.values.x_k" text:value="10" />
						<label text="labels.flt.high_cut" />
						
						<combo id="lcm" />
						<cell rows="3"><fader id="eq_0" angle="1" /></cell>
						<cell rows="3"><fader id="eq_1" angle="1" /></cell>
						<cell rows="3"><fader id="eq_2" angle="1" /></cell>
						<cell rows="3"><fader id="eq_3" angle="1" /></cell>
						<cell rows="3"><fader id="eq_4" angle="1" /></cell>
						<cell rows="3"><fader id="eq_5" angle="1" /></cell>
						<cell rows="3"><fader id="eq_6" angle="1" /></cell>
						<cell rows="3"><fader id="eq_7" angle="1" /></cell>
						<combo id="hcm" />
						
						<label text="labels.frequency" />
						<label text="labels.frequency" />
						
						<knob id="lcf" logarithmic="true" />
						<knob id="hcf" logarithmic="true" />
						
						<value id="lcf" />
						<value id="eq_0" />
						<value id="eq_1" />
						<value id="eq_2" />
						<value id="eq_3" />
						<value id="eq_4" />
						<value id="eq_5" />
						<value id="eq_6" />
						<value id="eq_7" />
						<value id="hcf" />
					</ui:attributes>
				</grid>
			</group>
		</cell>
	</grid>
</plugin>