<?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>
		Signal subtraction (inlets reversed)
	</digest>
	<description>
		The <o>!-~</o> object functions just like the <o>-~</o> object, but the inlet order is reversed.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			MSP
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="signal">
			<digest>
				(signal) Right Operand in Left Inlet!
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="signal/float">
			<digest>
				(signal/float) Left Operand in Right Inlet!
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="signal">
			<digest>
				(signal) Difference Out
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="initial-subtraction-value" optional="1" type="number">
			<digest>
				Initial subtraction value
			</digest>
			<description>
				Sets an initial amount to subtract from the signal coming into the right inlet. If a signal is connected to the left inlet, the argument is overidden. If no argument is present, and no signal is connected to the left inlet, the initial value is <m>0</m> by default.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="int">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Function depends on inlet
			</digest>
			<description>
				In left inlet: An amount to subtract from the signal coming into the right inlet. If a signal is also connected to the left inlet, a <m>float</m> or <m>int</m> is ignored.
				<br />
				<br />
				In right inlet: Subtracts the signal coming into the left inlet from this value. 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="input" optional="0" type="float" />
			</arglist>
			<digest>
				Function depends on inlet
			</digest>
			<description>
				In left inlet: An amount to subtract from the signal coming into the right inlet. If a signal is also connected to the left inlet, a <m>float</m> or <m>int</m> is ignored.
				<br />
				<br />
				In right inlet: Subtracts the signal coming into the left inlet from this value. 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 subtracted from the signal coming into the right inlet, or a constant value received in the right inlet.
				<br />
				<br />
				In right inlet: The signal coming into the left inlet or a constant value received in the left inlet is subtracted from this signal.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="rminus~.png" caption="-~ with the inlets reversed" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="+~" />
		<seealso name="-~" />
	</seealsolist>
	<misc name="Output">
		<entry name="signal">
			<description>
				The difference between the two inputs.
			</description>
		</entry>
	</misc>
</c74object>
