<plugin resizable="true">
	<grid rows="3" cols="7" bg.color="bg_schema" ipadding="0" transpose="true">
		<!-- buttons line -->
		<cell cols="3">
			<hbox pad.v="4" pad.h="6" vreduce="true" hexpand="true">
				<label text="labels.dither:"/>
				<combo id="dither"/>
				<void expand="true"/>
				<ui:with pad.r="4">
					<void hexpand="true"/>
					<button id="op" ui:inject="Button_green" text="labels.odp"/>
					<button id="ce" text="labels.signal.clipping" pad.l="8"/>
					<button id="dcomp" text="labels.signal.dc_compensate" ui:inject="Button_cyan"/>
					<button id="clog" text="labels.log_scale" ui:inject="Button_yellow"/>

					<label text="labels.function" pad.l="8"/>
				</ui:with>
				<combo id="cf"/>
			</hbox>
		</cell>
		<!-- separator -->
		<cell cols="3">
			<hsep pad.v="2" bg.color="bg" vreduce="true"/>
		</cell>
		<!-- graph and knobs overdrive protection -->
		<vbox>
			<hbox expand="true">
				<ui:with bg.bright="!:op ? :const_bg_darken : 1.0" bright="!:op ? 0.75 : 1.0">
					<group ui:inject="GraphGroup" ipadding="0" expand="true" fill="true" text="labels.graphs.overdrive_protection">
						<!-- Overdrive protection graph -->
						<graph width.min="265" height.min="215" expand="true" fill="true">
							<origin hpos="-1" vpos="-1" visible="false"/>

							<!-- Gray grid -->
							<ui:for id="g" first="-15" last="3" step="6">
								<marker v="${g} db" color="graph_alt_1"/>
								<marker v="${g} db" ox="1" oy="0" color="graph_alt_1"/>
							</ui:for>

							<!-- Yellow grid -->
							<ui:for id="g" first="-12" last="-6" step="6">
								<marker v="${g} db" color="graph_sec"/>
								<marker v="${g} db" ox="1" oy="0" color="graph_sec"/>
							</ui:for>

							<!-- Axes and boundaries -->
							<marker v="1" ox="1" oy="0" dv="1" dx=":_a_width" dy=":_a_height" color="graph_alt_1" width="2" smooth="true"/>
							<axis min="-18 db" max="6 db" color="graph_prim" angle="0.0" log="true" visibility="false"/>
							<axis min="-18 db" max="6 db" color="graph_prim" angle="0.5" log="true" visibility="false"/>
							<axis min="-18" max="6" zero="-18" color="graph_prim" angle="0.0" visibility="false"/>

							<!-- 0 dB markers -->
							<marker v="0 db" ox="0" oy="1" width="2" color="graph_prim"/>
							<marker v="0 db" ox="1" oy="0" width="2" color="graph_prim"/>

							<!-- Meshes -->
							<mesh id="opc" width="3" color=":op ? 'green' : 'graph_prim'" smooth="true"/>
							<dot x.id="odx" y.id="ody" color="green" bcolor="green" visibility=":op"/>

							<!-- Markers -->
							<marker
								id="th"
								ox="2"
								width="2"
								editable="true"
								pointer="hsize"
								visibility=":op"
								fill="0.5"
								color.a="0.2"
								hcolor.a="0.1"
								lcolor.a="0.8"
								hlcolor.a="0.6"
								rcolor.a="0.8"
								hrcolor.a="0.6"
								color="threshold"
								hcolor="threshold"
								lcolor="threshold"
								hlcolor="threshold"
								rcolor="threshold"
								hrcolor="threshold"/>
							<marker
								id="th"
								ox="2"
								width="2"
								editable="true"
								poiner="hsize"
								visibility="!:op"
								fill="0.5"
								color.a="0.2"
								hcolor.a="0.1"
								lcolor.a="0.8"
								hlcolor.a="0.6"
								rcolor.a="0.8"
								hrcolor.a="0.6"
								color="graph_prim"
								hcolor="graph_prim"
								lcolor="graph_prim"
								hlcolor="graph_prim"
								rcolor="graph_prim"
								hrcolor="graph_prim"/>

							<!-- Text -->
							<text x="0 db" y="0 db" text="0" halign="1" valign="1"/>
							<ui:with x="0 db" halign="1" valign="-1">
								<text y="6 db" text="graph.units.db"/>
								<text y="3 db" text="+3"/>
								<text y="-3 db" text="-3"/>
								<text y="-6 db" text="-6"/>
								<text y="-9 db" text="-9"/>
								<text y="-12 db" text="-12"/>
								<text y="-15 db" text="-15"/>
								<text y="-18 db" text="graph.axis.out" valign="1"/>
							</ui:with>
							<ui:with y="0 db" halign="-1" valign="1">
								<text x="6 db" text="graph.units.db"/>
								<text x="3 db" text="+3"/>
								<text x="-3 db" text="-3"/>
								<text x="-6 db" text="-6"/>
								<text x="-9 db" text="-9"/>
								<text x="-12 db" text="-12"/>
								<text x="-15 db" text="-15"/>
								<text x="-18 db" text="graph.axis.in" halign="1"/>
							</ui:with>
							<text x=":th" y="6 db" ox="2" text="graph.values.x:db:f" text:value=":th" text.eval="true" color=":op ? 'threshold' : 'graph_prim'" halign="(:th lt -6) ? 1 : -1" valign="-1"/>
						</graph>
					</group>
				</ui:with>
				<void pad.h="2" bg.color="bg" hreduce="true"/>
				<!-- ODP gain reduction meter -->
				<ui:with bg.bright="!:op ? :const_bg_darken : 1.0" bright="!:op ? 0.75 : 1.0">
					<vbox vexpand="true">
						<label text="labels.odp" padding="4"/>
						<ledmeter vexpand="true" angle="1">
							<ledchannel
								id="odr"
								min="-12 db"
								max="0 db"
								log="true"
								balance="0 db"
								balance.visibility="true"
								type="peak"
								value.color=":op ? 'dark_green' : 'cycle_inactive'"
								yellow.color=":op ? 'meter_yellow' : 'cycle_inactive'"
								balance.color=":op ? 'green' : 'cycle_inactive'"/>
						</ledmeter>
					</vbox>
				</ui:with>
			</hbox>
			<void pad.v="2" bg.color="bg" vreduce="true"/>
			<!-- controls -->
			<ui:with bg.bright="!:op ? :const_bg_darken : 1.0" bright="!:op ? 0.75 : 1.0">
				<hbox pad.v="4">
					<!-- thresh -->
					<hbox fill="false" pad.l="6" pad.r="10">
						<knob id="th" scolor=":op ? 'threshold' : 'cycle_inactive'"/>
						<vbox vfill="false" width="50" pad.l="4">
							<label text="labels.thresh_old" halign="0"/>
							<value id="th" sline="true" halign="0"/>
						</vbox>
					</hbox>

					<!-- knee -->
					<hbox fill="false">
						<knob id="kn" scolor=":op ? 'green' : 'cycle_inactive'"/>
						<vbox vfill="false" width="50" pad.l="4">
							<label text="labels.knee" halign="-1"/>
							<value id="kn" sline="true" halign="0"/>
						</vbox>
					</hbox>

					<void hexpand="true" hfill="true"/>
				</hbox>
			</ui:with>
		</vbox>

		<cell rows="2">
			<vsep pad.h="2" bg.color="bg" hreduce="true"/>
		</cell>

		<vbox>
			<hbox expand="true">
				<ui:with bg.bright="!:ce ? :const_bg_darken : 1.0" bright="!:ce ? 0.75 : 1.0">
					<group ui:inject="GraphGroup" ipadding="0" expand="true" fill="true" text="labels.graphs.clipping">
						<vbox>
							<!-- Clipper function graph linear -->
							<graph width.min="265" height.min="215" expand="true" fill="true" visibility="!:clog">
								<origin hpos="-1" vpos="-1" visible="false"/>
								<origin hpos="-1" vpos="0" visible="false"/>

								<ui:with ox="0" oy="1">
									<marker v="0.25" color="graph_alt_1"/>
									<marker v="0.75" color="graph_alt_1"/>
									<marker v="1.25" color="graph_alt_1"/>
									<marker v="1.75" color="graph_alt_1"/>
								</ui:with>
								<ui:with ox="1" oy="0">
									<marker v="0.25" color="graph_alt_1"/>
									<marker v="0.75" color="graph_alt_1"/>
								</ui:with>

								<ui:with ox="0" oy="1">
									<marker v="0.5" color="graph_sec"/>
									<marker v="1" color="graph_sec"/>
									<marker v="1.5" color="graph_sec"/>
									<marker v="2" color="graph_sec"/>
								</ui:with>
								<ui:with ox="1" oy="0">
									<marker v="0.5" color="graph_sec"/>
									<marker v="1" color="graph_sec"/>
								</ui:with>

								<!-- Axes and boundaries -->
								<marker v="1" ox="1" oy="0" dv="1" dx=":_a_width / 2.25" dy=":_a_height / 1.25" color="graph_alt_1" width="2" smooth="true"/>
								<axis min="0" max="2.25" color="graph_prim" angle="0.0" width="2"/>
								<axis min="0" max="1.25" color="graph_prim" angle="0.5" width="2"/>
								<axis o="1" min="0" max="2.25" color="graph_prim" angle="0.0" zero="0" visibility="false"/>

								<!-- Meshes -->
								<mesh id="cfc" x.index="0" y.index="1" width="3" color=":ce ? 'graph_mesh': 'graph_prim'" smooth="true"/>
								<dot x.id="cfx1" y.id="cfy1" color="dot" bcolor="dot" visibility=":ce"/>
								<dot x.id="cfx2" y.id="cfy2" color="dot" bcolor="dot" visibility=":ce"/>

								<!-- Markers -->
								<marker
									id="ct"
									o="1"
									ox="2"
									width="2"
									editable="true"
									pointer="hsize"
									visibility=":ce and :cf ine 0"
									fill="0.5"
									color.a="0.2"
									hcolor.a="0.1"
									lcolor.a="0.8"
									hlcolor.a="0.6"
									rcolor.a="0.8"
									hrcolor.a="0.6"
									color="threshold"
									hcolor="threshold"
									lcolor="threshold"
									hlcolor="threshold"
									rcolor="threshold"
									hrcolor="threshold"/>
								<marker
									id="ct"
									o="1"
									ox="2"
									width="2"
									editable="true"
									pointer="hsize"
									visibility="!:ce or :cf ieq 0"
									fill="0.5"
									color.a="0.2"
									hcolor.a="0.1"
									lcolor.a="0.8"
									hlcolor.a="0.6"
									rcolor.a="0.8"
									hrcolor.a="0.6"
									color="graph_prim"
									hcolor="graph_prim"
									lcolor="graph_prim"
									hlcolor="graph_prim"
									rcolor="graph_prim"
									hrcolor="graph_prim"/>

								<!-- Text -->
								<ui:with x="0" halign="1" valign="-1">
									<text y="0.5" text="0.5"/>
									<text y="1" text="1"/>
									<text y="1.25" text="graph.axis.out" valign="-1"/>
								</ui:with>
								<ui:with y="0" halign="1" valign="1">
									<text x="0" text="0"/>
									<text x="0.5" text="0.5"/>
									<text x="1.0" text="1"/>
									<text x="1.5" text="1.5"/>
									<text x="2.0" text="2"/>
									<text x="2.25" text="graph.axis.in" halign="-1"/>
								</ui:with>
								<text x=":ct" y="1.25" text="graph.values.x:db:f;x::f" text:value=":ct" text:db="20 * lg :ct" text.eval="true" color=":ce and :cf ine 0 ? 'threshold' : 'graph_prim'" halign="1" valign="-1" text.halign="-1"/>
							</graph>

							<!-- Clipper function graph logarithmic -->
							<graph width.min="265" height.min="215" expand="true" fill="true" visibility=":clog">
								<origin hpos="-1" vpos="-1" visible="false"/>

								<!-- Gray grid -->
								<ui:for id="g" first="-30" last="6" step="12">
									<marker v="${g} db" color="graph_alt_1"/>
									<marker v="${g} db" ox="1" oy="0" color="graph_alt_1"/>
								</ui:for>

								<!-- Yellow grid -->
								<ui:for id="g" first="-24" last="-12" step="12">
									<marker v="${g} db" color="graph_sec"/>
									<marker v="${g} db" ox="1" oy="0" color="graph_sec"/>
								</ui:for>

								<!-- Axes and boundaries -->
								<marker v="1" ox="1" oy="0" dv="1" dx=":_a_width" dy=":_a_height" color="graph_alt_1" width="2" smooth="true"/>
								<axis min="-36 db" max="12 db" color="graph_prim" angle="0.0" log="true" visibility="false"/>
								<axis min="-36 db" max="12 db" color="graph_prim" angle="0.5" log="true" visibility="false"/>

								<!-- 0 dB markers -->
								<marker v="0 db" ox="0" oy="1" width="2" color="graph_prim"/>
								<marker v="0 db" ox="1" oy="0" width="2" color="graph_prim"/>

								<!-- Meshes -->
								<mesh id="cfc" x.index="2" y.index="3" width="3" color=":ce ? 'graph_mesh': 'graph_prim'" smooth="true"/>
								<dot x.id="cfx1" y.id="cfy1" color="dot" bcolor="dot" visibility=":ce"/>
								<dot x.id="cfx2" y.id="cfy2" color="dot" bcolor="dot" visibility=":ce"/>

								<!-- Markers -->
								<marker
									id="ct"
									width="2"
									editable="true"
									pointer="hsize"
									visibility=":ce and :cf ine 0"
									fill="0.5"
									color.a="0.2"
									hcolor.a="0.1"
									lcolor.a="0.8"
									hlcolor.a="0.6"
									rcolor.a="0.8"
									hrcolor.a="0.6"
									color="threshold"
									hcolor="threshold"
									lcolor="threshold"
									hlcolor="threshold"
									rcolor="threshold"
									hrcolor="threshold"/>
								<marker
									id="ct"
									width="2"
									editable="true"
									pointer="hsize"
									visibility="!:ce or :cf ieq 0"
									fill="0.5"
									color.a="0.2"
									hcolor.a="0.1"
									lcolor.a="0.8"
									hlcolor.a="0.6"
									rcolor.a="0.8"
									hrcolor.a="0.6"
									color="graph_prim"
									hcolor="graph_prim"
									lcolor="graph_prim"
									hlcolor="graph_prim"
									rcolor="graph_prim"
									hrcolor="graph_prim"/>

								<!-- Text -->
								<text x="0 db" y="0 db" text="0" halign="1" valign="1"/>
								<ui:with x="0 db" halign="1" valign="-1">
									<text y="12 db" text="graph.units.db"/>
									<text y="6 db" text="+6"/>
									<text y="-6 db" text="-6"/>
									<text y="-12 db" text="-12"/>
									<text y="-18 db" text="-18"/>
									<text y="-24 db" text="-24"/>
									<text y="-30 db" text="-30"/>
									<text y="-36 db" text="graph.axis.out" valign="1"/>
								</ui:with>
								<ui:with y="0 db" halign="-1" valign="1">
									<text x="12 db" text="graph.units.db"/>
									<text x="6 db" text="+6"/>
									<text x="-6 db" text="-6"/>
									<text x="-12 db" text="-12"/>
									<text x="-18 db" text="-18"/>
									<text x="-24 db" text="-24"/>
									<text x="-30 db" text="-30"/>
									<text x="-36 db" text="graph.axis.in" halign="1"/>
								</ui:with>

								<text
									x=":ct"
									y="12 db"
									text="graph.values.x:db:f;x::f"
									text:value=":ct"
									text:db="20 * lg :ct"
									text.eval="true"
									color=":ce and :cf ine 0 ? 'threshold' : 'graph_prim'"
									halign="(:ct lt -12 db) ? 1 : -1"
									valign="-1"
									text.halign="(:ct lt -12 db) ? -1 : 1"/>
							</graph>
						</vbox>
					</group>
				</ui:with>
				<void pad.h="2" bg.color="bg" hreduce="true"/>
				<!-- Clipper gain reduction meter -->
				<ui:with bg.bright="!:ce ? :const_bg_darken : 1.0" bright="!:ce ? 0.75 : 1.0">
					<vbox vexpand="true">
						<label text="labels.clp" padding="4"/>
						<ledmeter vexpand="true" angle="1">
							<ledchannel
								id="cfr"
								min="-12 db"
								max="12 db"
								log="true"
								balance="0 db"
								balance.visibility="true"
								type="peak"
								value.color=":ce ? 'blue' : 'cycle_inactive'"
								yellow.color=":ce ? 'meter_yellow' : 'cycle_inactive'"
								balance.color=":ce ? 'balance' : 'cycle_inactive'"/>
						</ledmeter>
					</vbox>
				</ui:with>
			</hbox>

			<void pad.v="2" bg.color="bg" vreduce="true"/>

			<!-- controls -->
			<ui:with bg.bright="!:ce ? :const_bg_darken : 1.0" bright="!:ce ? 0.75 : 1.0">
				<hbox pad.v="4">
					<void hexpand="true" hfill="true"/>
					<!-- thresh -->
					<hbox fill="false" pad.l="6" pad.r="10">
						<knob id="ct" scolor=":ce and :cf ine 0 ? 'threshold' : 'cycle_inactive'"/>
						<vbox vfill="false" width="50" pad.l="4">
							<label text="labels.thresh_old" halign="0"/>
							<value id="ct" sline="true" halign="0"/>
						</vbox>
					</hbox>

					<!-- DC offset -->
					<hbox fill="false" pad.r="6">
						<knob id="dcoff" scolor=":ce ? 'kscale' : 'cycle_inactive'"/>
						<vbox vfill="false" width="50" pad.l="4">
							<label text="labels.signal.dc_offset" halign="-1"/>
							<value id="dcoff" sline="true" halign="0"/>
						</vbox>
					</hbox>

					<!-- pumping -->
					<hbox fill="false" pad.r="6">
						<knob id="cp" scolor=":ce ? 'kscale' : 'cycle_inactive'"/>
						<vbox vfill="false" width="50" pad.l="4">
							<label text="labels.pumping" halign="-1"/>
							<value id="cp" sline="true" halign="0"/>
						</vbox>
					</hbox>
				</hbox>
			</ui:with>
		</vbox>

		<cell rows="3">
			<vsep pad.h="2" bg.color="bg" hreduce="true"/>
		</cell>

		<cell rows="3" hexpand="true" hfill="true">
			<grid rows="5" cols="11" hexpand="true" hfill="true" ipadding="0">
				<!-- row 1 -->
				<cell rows="3">
					<hbox pad.v="4" pad.h="6">
						<void hfill="true" hexpand="true"/>
						<knob id="or" scolor="kscale"/>
						<vbox vfill="false" pad.l="4" pad.r="10" width="50">
							<label text="labels.reactivity" halign="0"/>
							<value id="or" sline="true" halign="0"/>
						</vbox>
					</hbox>
				</cell>
				<cell rows="5">
					<vsep pad.h="2" bg.color="bg" hreduce="true"/>
				</cell>
				<cell rows="2">
					<void/>
				</cell>
				<cell rows="5">
					<vsep pad.h="2" bg.color="bg" hreduce="true"/>
				</cell>
				<cell cols="3">
					<label text="labels.units.db" pad.b="3" pad.t="3"/>
				</cell>
				<cell rows="5">
					<vsep pad.h="2" bg.color="bg" hreduce="true"/>
				</cell>
				<cell cols="3">
					<label text="labels.units.lufs" pad.b="3" pad.t="3"/>
				</cell>

				<!-- row 2 -->
				<cell cols="3">
					<hsep pad.v="2" bg.color="bg" vreduce="true"/>
				</cell>
				<cell cols="3">
					<hsep pad.v="2" bg.color="bg" vreduce="true"/>
				</cell>

				<!-- row 3 -->
				<vbox pad.b="4">
					<label text="labels.gain_" padding="4"/>
					<button id="grg" height="10" width="22" ui:inject="Button_blue" led="true"/>
				</vbox>
				<vbox pad.b="4">
					<label text="labels.chan.in" padding="4"/>
					<button id="ilg" height="10" width="22" ui:inject="Button_mono" led="true"/>
				</vbox>
				<cell rows="3">
					<vsep pad.h="2" bg.color="bg" hreduce="true"/>
				</cell>
				<vbox pad.b="4">
					<label text="labels.chan.out" padding="4"/>
					<button id="olg" height="10" width="22" ui:inject="Button_mono" led="true"/>
				</vbox>
				<label text="labels.chan.in" padding="4"/>
				<cell rows="3">
					<vsep pad.h="2" bg.color="bg" hreduce="true"/>
				</cell>
				<label text="labels.chan.out" padding="4"/>

				<!-- row 4 -->
				<hsep pad.v="2" bg.color="bg" vreduce="true"/>
				<hsep pad.v="2" bg.color="bg" vreduce="true"/>
				<hsep pad.v="2" bg.color="bg" vreduce="true"/>
				<hsep pad.v="2" bg.color="bg" vreduce="true"/>
				<hsep pad.v="2" bg.color="bg" vreduce="true"/>
				<hsep pad.v="2" bg.color="bg" vreduce="true"/>

				<!-- row 5 -->
				<cgroup id="gview" ui:inject="GraphGroup" ipadding="0" hexpand="true" hfill="true" text="labels.graphs.time">
					<vbox spacing="2" bg.color="bg_schema_name">
						<!-- Ocillogram graph combined-->
						<graph width.min="312" height.min="95" hexpand="true" hfill="true">
							<origin hpos="1" vpos="-1" visible="false"/>

							<!-- Gray grid -->
							<ui:with ox="0" oy="1">
								<marker v="0.5" color="graph_alt_1"/>
								<marker v="1.5" color="graph_alt_1"/>
								<marker v="2.5" color="graph_alt_1"/>
								<marker v="3.5" color="graph_alt_1"/>
								<marker v="4.5" color="graph_alt_1"/>
							</ui:with>

							<!-- Yellow grid -->
							<ui:with ox="0" oy="1">
								<marker v="1" color="graph_sec"/>
								<marker v="2" color="graph_sec"/>
								<marker v="3" color="graph_sec"/>
								<marker v="4" color="graph_sec"/>
							</ui:with>
							<ui:with ox="1" oy="0" color="graph_sec">
								<ui:for id="v" first="-18" last="6" step="6">
									<marker v="${v} db"/>
								</ui:for>
							</ui:with>

							<!-- Meshes -->
							<mesh id="ctg" width="0" x.index="0" y.index="1" color="mono_in" fcolor="mono_in" fcolor.a="0.8" fill="true" visibility=":ilg"/>
							<mesh id="ctg" width="2" x.index="0" y.index="2" color="mono" visibility=":olg"/>
							<mesh id="ctg" width="2" x.index="0" y.index="3" color="bright_blue" visibility=":grg"/>

							<!-- Axis -->
							<axis min="0" max="5" angle="1.0" log="false" color="graph_prim" visibility="false"/>
							<axis min="-24 db" max="12 db" angle="0.5" log="true" color="graph_prim" visibility="false"/>

							<!-- Text -->
							<text x="5" y="-72 db" text="graph.units.s" halign="1" valign="1" color="graph_prim"/>
							<ui:with y="-24 db" halign="1" valign="1" color="graph_prim">
								<text x="0" text="0" halign="-1"/>
								<text x="1" text="1"/>
								<text x="2" text="2"/>
								<text x="3" text="3"/>
								<text x="4" text="4"/>
								<text x="5" text="graph.units.s"/>
							</ui:with>
							<ui:with x="5" halign="1" valign="1" color="graph_prim">
								<text y="12 db" text="graph.units.db" text:value="0" valign="-1"/>
								<ui:for id="v" first="-18" last="0" step="6">
									<text y="${v} db" text="${v}"/>
								</ui:for>
							</ui:with>
						</graph>

						<!-- Waveform graph combined-->
						<graph width.min="312" height.min="95" hexpand="true" hfill="true">
							<origin hpos="1" vpos="0" visible="false"/>

							<!-- Gray grid -->
							<ui:with ox="0" oy="1">
								<marker v="0.1" color="graph_alt_1"/>
								<marker v="0.3" color="graph_alt_1"/>
								<marker v="0.5" color="graph_alt_1"/>
								<marker v="0.7" color="graph_alt_1"/>
								<marker v="0.9" color="graph_alt_1"/>
							</ui:with>

							<!-- Yellow grid -->
							<ui:with ox="0" oy="1">
								<marker v="0.2" color="graph_sec"/>
								<marker v="0.4" color="graph_sec"/>
								<marker v="0.6" color="graph_sec"/>
								<marker v="0.8" color="graph_sec"/>
							</ui:with>

							<ui:with ox="1" oy="0" color="graph_sec">
								<marker v="-0.5"/>
								<marker v="0.5"/>
							</ui:with>

							<!-- Meshes -->
							<mesh id="wfg" width="2" x.index="0" y.index="1" color="mono" fcolor="mono" fcolor.a="0.8" fill="true" visibility=":olg"/>

							<ui:with ox="1" oy="0" width="2" color="graph_prim">
								<marker v="1"/>
								<marker v="0"/>
								<marker v="-1"/>
							</ui:with>

							<!-- Axis -->
							<axis min="0" max="1" angle="1.0" log="false" color="graph_prim" visibility="false"/>
							<axis min="-1.5" max="1.5" angle="0.5" log="false" color="graph_prim" visibility="false"/>

							<!-- Text -->
							<ui:with y="-1.5" halign="1" valign="1" color="graph_prim">
								<text x="0" text="0" halign="-1"/>
								<text x="0.2" text="0.2"/>
								<text x="0.4" text="0.4"/>
								<text x="0.6" text="0.6"/>
								<text x="0.8" text="0.8"/>
								<text x="1" text="graph.units.s"/>
							</ui:with>
							<ui:with x="1" halign="1" valign="1" color="graph_prim">
								<text y="-1" text="-1"/>
								<text y="-0.5" text="-0.5"/>
								<text y="0" text="0"/>
								<text y="0.5" text="0.5"/>
								<text y="1" text="1"/>
								<text y="1.5" text="labels.amplitude" valign="-1" x="0" halign="-1"/>
							</ui:with>
						</graph>
					</vbox>

					<!-- Ocillogram graph -->
					<graph width.min="312" height.min="192" hexpand="true" hfill="true">
						<origin hpos="1" vpos="-1" visible="false"/>

						<!-- Gray grid -->
						<ui:with ox="0" oy="1">
							<marker v="0.5" color="graph_alt_1"/>
							<marker v="1.5" color="graph_alt_1"/>
							<marker v="2.5" color="graph_alt_1"/>
							<marker v="3.5" color="graph_alt_1"/>
							<marker v="4.5" color="graph_alt_1"/>
						</ui:with>

						<!-- Yellow grid -->
						<ui:with ox="0" oy="1">
							<marker v="1" color="graph_sec"/>
							<marker v="2" color="graph_sec"/>
							<marker v="3" color="graph_sec"/>
							<marker v="4" color="graph_sec"/>
						</ui:with>
						<ui:with ox="1" oy="0" color="graph_sec">
							<ui:for id="v" first="-18" last="6" step="6">
								<marker v="${v} db"/>
							</ui:for>
						</ui:with>

						<!-- Meshes -->
						<mesh id="ctg" width="0" x.index="0" y.index="1" color="mono_in" fcolor="mono_in" fcolor.a="0.8" fill="true" visibility=":ilg"/>
						<mesh id="ctg" width="2" x.index="0" y.index="2" color="mono" visibility=":olg"/>
						<mesh id="ctg" width="2" x.index="0" y.index="3" color="bright_blue" visibility=":grg"/>

						<!-- Axis -->
						<axis min="0" max="5" angle="1.0" log="false" color="graph_prim" visibility="false"/>
						<axis min="-24 db" max="12 db" angle="0.5" log="true" color="graph_prim" visibility="false"/>

						<!-- Text -->
						<text x="5" y="-72 db" text="graph.units.s" halign="1" valign="1" color="graph_prim"/>
						<ui:with y="-24 db" halign="1" valign="1" color="graph_prim">
							<text x="0" text="0" halign="-1"/>
							<text x="1" text="1"/>
							<text x="2" text="2"/>
							<text x="3" text="3"/>
							<text x="4" text="4"/>
							<text x="5" text="graph.units.s"/>
						</ui:with>
						<ui:with x="5" halign="1" valign="1" color="graph_prim">
							<text y="12 db" text="graph.units.db" text:value="0" valign="-1"/>
							<ui:for id="v" first="-18" last="6" step="6">
								<text y="${v} db" text="${v}"/>
							</ui:for>
						</ui:with>
					</graph>

					<!-- Waveform graph -->
					<graph width.min="312" height.min="192" hexpand="true" hfill="true">
						<origin hpos="1" vpos="0" visible="false"/>

						<!-- Gray grid -->
						<ui:with ox="0" oy="1">
							<marker v="0.1" color="graph_alt_1"/>
							<marker v="0.3" color="graph_alt_1"/>
							<marker v="0.5" color="graph_alt_1"/>
							<marker v="0.7" color="graph_alt_1"/>
							<marker v="0.9" color="graph_alt_1"/>
						</ui:with>

						<!-- Yellow grid -->
						<ui:with ox="0" oy="1">
							<marker v="0.2" color="graph_sec"/>
							<marker v="0.4" color="graph_sec"/>
							<marker v="0.6" color="graph_sec"/>
							<marker v="0.8" color="graph_sec"/>
						</ui:with>
						<ui:with ox="1" oy="0" color="graph_sec">
							<marker v="-0.25"/>
							<marker v="-0.5"/>
							<marker v="-0.75"/>
							<marker v="0.25"/>
							<marker v="0.5"/>
							<marker v="0.75"/>
						</ui:with>

						<!-- Meshes -->
						<mesh id="wfg" width="2" x.index="0" y.index="1" color="mono" fcolor="mono" fcolor.a="0.8" fill="true" visibility=":olg"/>

						<ui:with ox="1" oy="0" width="2" color="graph_prim">
							<marker v="1"/>
							<marker v="0"/>
							<marker v="-1"/>
						</ui:with>
						<!-- Axis -->
						<axis min="0" max="1" angle="1.0" log="false" color="graph_prim" visibility="false"/>
						<axis min="-1.25" max="1.25" angle="0.5" log="false" color="graph_prim" visibility="false"/>

						<!-- Text -->
						<ui:with y="-1.25" halign="1" valign="1" color="graph_prim">
							<text x="0" text="0" halign="-1"/>
							<text x="0.2" text="0.2"/>
							<text x="0.4" text="0.4"/>
							<text x="0.6" text="0.6"/>
							<text x="0.8" text="0.8"/>
							<text x="1" text="graph.units.s"/>
						</ui:with>
						<ui:with x="1" halign="1" valign="1" color="graph_prim">
							<text y="-1" text="-1"/>
							<text y="-0.75" text="-0.75"/>
							<text y="-0.5" text="-0.5"/>
							<text y="-0.25" text="-0.25"/>
							<text y="0" text="0"/>
							<text y="0.25" text="0.25"/>
							<text y="0.5" text="0.5"/>
							<text y="0.75" text="0.75"/>
							<text y="1.25" text="labels.amplitude" valign="-1"/>
						</ui:with>
					</graph>
				</cgroup>

				<ui:with bg.color="bg_schema">

					<!-- Band gain reduction meter -->
					<ledmeter vexpand="true" vfill="true" angle="1">
						<ledchannel id="grm" min="-24 db" max="12 db" log="true" balance="0 db" balance.visibility="true" type="peak" activity=":grg" value.color="blue" yellow.color="meter_yellow" balance.color="balance"/>
					</ledmeter>
					<!-- Band input level -->
					<ledmeter vexpand="true" vfill="true" angle="1">
						<ledchannel id="ilm" min="-60 db" max="12 db" log="true" type="rms_peak" peak.visibility="true" activity=":ilg" value.color="mono_in" red.color="red" yellow.color="meter_yellow" balance.color="balance"/>
					</ledmeter>
					<!-- Band output level -->
					<ledmeter vexpand="true" vfill="true" angle="1">
						<ledchannel id="olm" min="-60 db" max="12 db" log="true" type="rms_peak" peak.visibility="true" activity=":olg" value.color="mono" red.color="red" yellow.color="meter_yellow" balance.color="balance"/>
					</ledmeter>

					<!-- LUFS input meter -->
					<ledmeter vexpand="true" angle="1">
						<ledchannel id="lufs_il" min="-72" max="6" type="peak" log="false" value.color="lufs"/>
					</ledmeter>

					<!-- LUFS output meter -->
					<ledmeter vexpand="true" angle="1">
						<ledchannel id="lufs_ol" min="-72" max="6" type="peak" log="false" value.color="lufs"/>
					</ledmeter>
				</ui:with>
			</grid>
		</cell>

		<!-- separator -->
		<cell rows="3">
			<void pad.h="2" bg.color="bg" hreduce="true"/>
		</cell>

		<!-- preamp and lufs limit col -->
		<cell rows="3">
			<group text="groups.signal" ipadding="0">

				<grid rows="7" cols="2" hspacing="4" ipadding="0">
					<knob id="g_in" pad.l="6" pad.r="4" pad.v="4"/>
					<vbox vfill="false" pad.r="4">
						<label text="labels.input" halign="0"/>
						<value id="g_in" sline="true" halign="0"/>
					</vbox>

					<knob id="g_out" pad.l="6" pad.r="4"/>
					<vbox vfill="false" pad.r="4">
						<label text="labels.output" expand="true" halign="0"/>
						<value id="g_out" width.min="50" sline="true" halign="0"/>
					</vbox>

					<cell cols="2">
						<hsep pad.v="2" bg.color="bg" vreduce="true"/></cell>

					<cell cols="2">
						<button id="boost" height="18" pad.h="6" pad.v="4" hfill="true" text="labels.boost_" ui:inject="Button_violet"/>
					</cell>

					<knob id="thresh" scolor="threshold" pad.l="6" pad.r="4"/>
					<vbox vfill="false" pad.r="4">
						<label text="labels.threshold" expand="true" halign="0"/>
						<value id="thresh" width.min="50" sline="true" halign="0"/>
					</vbox>

					<cell cols="2">
						<hsep pad.v="2" bg.color="bg" vreduce="true"/></cell>

					<cell cols="2">
						<hbox>
							<vbox vfill="true">
								<button id="lufs_on" pad.h="6" pad.v="4" height="18" width="62" text="labels.lufs_limit" ui:inject="Button_lufs"/>
								<hbox pad.t="4">
									<knob id="lufs_th" ui:inject="Knob_meter_lufs" meter.max=":lufs_rl" visibility=":lufs_on"/>
									<knob id="lufs_th" scolor="cycle_inactive" visibility="!:lufs_on"/>
								</hbox>
								<value id="lufs_th" pad.v="4"/>
								<void vexpand="true"/>
							</vbox>
							<vsep pad.h="2" bg.color="bg" hreduce="true"/>
							<!-- LUFS gain reduction meter -->
							<ledmeter vexpand="true" angle="1">
								<ledchannel
									id="lufs_gr"
									min="-24 db"
									max="0 db"
									log="true"
									balance="0 db"
									balance.visibility="true"
									type="peak"
									value.color=":lufs_on ? 'dark_lufs' : 'cycle_inactive'"
									yellow.color=":lufs_on ? 'meter_yellow' : 'cycle_inactive'"
									balance.color=":lufs_on ? 'lufs' : 'cycle_inactive'"/>
							</ledmeter>
						</hbox>
					</cell>
				</grid>
			</group>
		</cell>

	</grid>
</plugin>
