<?xml version="1.0" encoding="utf-8" standalone="yes"?>

<?xml-stylesheet href="./_c74_ref.xsl" type="text/xsl"?>

<!--This is an automatically generated file. DO NOT EDIT THIS FILE DIRECTLY. Rather, use the _ref.xml files found in the 'edits' folder.-->
<c74object name="jit.altern" module="jit" category="Jitter Special FX">
	<digest>
		Color screen with threshold
	</digest>
	<description>
		Overlays a color screen onto incoming matrices. The original matrix values are revealed through &quot;gaps&quot; in the screen.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Jitter
		</metadata>
		<metadata name="tag">
			Jitter Special FX
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="matrix">
			<digest>
				in
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="matrix">
			<digest>
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="matrix">
			<digest>
				out
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="matrix">
			<digest>
				dumpout
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--MOP-->
	<mop matrixinputcount="1" matrixoutputcount="1">
		<matrixoutput name="out" planelink="1" typelink="1" dimlink="1" minplanecount="1" maxplanecount="32" mindimcount="1" maxdimcount="32">
			<types>
				char long float32 float64
			</types>
		</matrixoutput>
	</mop>
	<!--MESSAGES-->
	<jittermethodlist>
		<jittermethod name="bang" />
		<jittermethod name="clear" />
		<jittermethod name="exportattrs" />
		<jittermethod name="exportsummary" />
		<jittermethod name="getattributes" />
		<jittermethod name="getstate" />
		<jittermethod name="jit_matrix" />
		<jittermethod name="importattrs" />
		<jittermethod name="outputmatrix" />
		<jittermethod name="summary" />
	</jittermethodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="bgcolor" get="1" set="1" type="float" size="32">
			<digest>
				Overlaid screen color
			</digest>
			<description>
				The overlaid screen color <i>alpha</i>  <i>red</i>  <i>green</i>  <i>blue</i> (default = 0. 0. 0. 0.) All values are in the range 0.-1.
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Color" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Background Color" />
			</attributelist>
		</attribute>
		<attribute name="colwidth" get="1" set="1" type="int" size="1">
			<digest>
				Vertical band width
			</digest>
			<description>
				The width of the vertical band &quot;gaps&quot; in the screen. (default = 1)
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="atom" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Behavior" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Column Width" />
			</attributelist>
		</attribute>
		<attribute name="ignore_zero" get="1" set="1" type="int" size="1">
			<digest>
				Alpha channel mode
			</digest>
			<description>
				Alpha channel mode (default = 0 (include alpha channel))
				<br />
				0 = Luminance calculation includes the alpha channel
				<br />
				1 = Plane 0 is ignored and the luminance threshold calculation uses the RGB value
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="atom" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Behavior" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Ignore Zero" />
			</attributelist>
		</attribute>
		<attribute name="rowheight" get="1" set="1" type="int" size="1">
			<digest>
				Horizontal band height
			</digest>
			<description>
				The height of the horizontal band &quot;gaps&quot; in the screen. (default = 1)
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="atom" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Behavior" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Row Height" />
			</attributelist>
		</attribute>
		<attribute name="thresh" get="1" set="1" type="float" size="1">
			<digest>
				Luminance threshold
			</digest>
			<description>
				The luminance threshold as an average of plane values (default = 0.) Input matrix values above this threshold are displayed as a grid of rectangular &quot;gaps&quot; between the overlaid horizontal and vertical screen stripes. Values below the threshold are displayed using the color specified by the <at>bgcolor</at> attribute.
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="atom" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Behavior" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="threshold" />
			</attributelist>
		</attribute>
		<attribute name="xinterval" get="1" set="1" type="int" size="1">
			<digest>
				Horizontal gap spacing
			</digest>
			<description>
				The spacing of &quot;gaps&quot; in the screen along the horizontal axis. (default = 1)
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="atom" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Behavior" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="X Interval" />
			</attributelist>
		</attribute>
		<attribute name="yinterval" get="1" set="1" type="int" size="1">
			<digest>
				Vertical gap spacing
			</digest>
			<description>
				The spacing of &quot;gaps&quot; in the screen along the vertical axis. (default = 1)
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="atom" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Behavior" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Y Interval" />
			</attributelist>
		</attribute>
	</attributelist>
	<jitterattributelist>
		<jitterattribute name="outputmode" />
		<jitterattribute name="adapt" />
		<jitterattribute name="out_name" />
		<jitterattribute name="type" />
		<jitterattribute name="dim" />
		<jitterattribute name="planecount" />
	</jitterattributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="jit.altern.png" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="jit.eclipse" />
		<seealso name="jit.hatch" />
		<seealso name="jit.multiplex" />
	</seealsolist>
</c74object>
