<?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="&lt;~" module="msp" category="MSP Operators">
	<digest>
		Is less than, comparison of two signals
	</digest>
	<description>
		<o>&lt;~</o> outputs a 1 signal when the left input is less-than the right input and a 0 when it is greater-than or equal-to the right input. The right input can be a signal or a float.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			MSP
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="signal">
			<digest>
				(signal) This &lt; Right Inlet
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="signal/float">
			<digest>
				(signal/float) Left Inlet &lt; This
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="signal">
			<digest>
				(signal) Comparison Result (1 or 0)
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="initial-comparison-value" optional="1" type="float or int">
			<digest>
				Comparison value
			</digest>
			<description>
				Sets an initial comparison value for the signal coming into the left inlet. <m>1</m> is sent out if the signal is less than the argument; otherwise, <m>0</m> is sent out. If a signal is connected to the right inlet, the argument is ignored. If no argument is present, and no signal is connected to the right inlet, the initial value is <m>0</m> by default.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="int">
			<arglist>
				<arg name="comparison-value" optional="0" type="int" />
			</arglist>
			<digest>
				Compare value with left input signal
			</digest>
			<description>
				In right inlet: A number to be used for comparison with the signal coming into the left inlet. If a signal is also connected to the right inlet, a <m>float</m> or <m>int</m> is ignored.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="comparison-value" optional="0" type="float" />
			</arglist>
			<digest>
				Compare value with left input signal
			</digest>
			<description>
				In right inlet: A number to be used for comparison with the signal coming into the left inlet. If a signal is also connected to the right inlet, a <m>float</m> or <m>int</m> is ignored.
			</description>
		</method>
		<method name="signal">
			<arglist />
			<digest>
				Function depends on inlet
			</digest>
			<description>
				In left inlet: The signal is compared to a signal coming into the right inlet, or a constant value received in the right inlet. If it is less than the value in the right inlet, 1 is sent out; otherwise, 0 is sent out.
				<br />
				<br />
				In right inlet: The signal is used for comparison with the signal coming into the left inlet.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="lessthan~.png" caption="Convert any signal to only 1 and 0 values" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="&lt;=~" />
		<seealso name="&gt;~" />
		<seealso name="&gt;=~" />
		<seealso name="==~" />
		<seealso name="!=~" />
	</seealsolist>
	<misc name="Output">
		<entry name="signal">
			<description>
				If the signal in the left inlet is less than the value in the right inlet, <m>1</m> is sent out; otherwise, <m>0</m> is sent out.
			</description>
		</entry>
	</misc>
</c74object>
