<?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="!=~" module="msp" category="MSP Operators">
	<digest>
		Not equal to, comparison of two signals
	</digest>
	<description>
		<o>!=~</o> outputs a 1 signal when the left input is not-equal to the right input and a 0 when it is 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 != Right Inlet
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="signal/float">
			<digest>
				(signal/float) Left Inlet != 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="number">
			<digest>
				Initial 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 not equal to 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>
				Set the comparison value
			</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>
				Set the comparison value
			</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 not-equal to 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="notequals~.png" caption="Use !=~ to detect the non-zero portion of a signal or envelope" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="==~" />
		<seealso name="&lt;~" />
		<seealso name="&lt;=~" />
		<seealso name="&gt;~" />
		<seealso name="&gt;=~" />
		<seealso name="change~" />
		<seealso name="edge~" />
	</seealsolist>
	<misc name="Output">
		<entry name="signal">
			<description>
				If the signal in the left inlet is not equal to the value in the right inlet, <m>1</m> is sent out; otherwise, <m>0</m> is sent out.
			</description>
		</entry>
	</misc>
</c74object>
