<?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 only connected to the left inlet, that value is subtracted from the given argument. If a signal is connected to both the left and right inlets, the argument is overridden by the signal coming into the right inlet. If no argument is present, 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 connected to both left and right inlets, a <m>float</m> or <m>int</m> connected to either inlet will be ignored.
				<br />
				<br />
				In right inlet: Subtracts the signal coming into the left inlet from this value. If a signal is connected to both left and right inlets, a <m>float</m> or <m>int</m> connected to either inlet will be 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 connected to both left and right inlets, a <m>float</m> or <m>int</m> connected to either inlet will be ignored.
				<br />
				<br />
				In right inlet: Subtracts the signal coming into the left inlet from this value. If a signal is connected to both left and right inlets, a <m>float</m> or <m>int</m> connected to either inlet will be 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. All signal inputs to a single inlet are summed. If a signal and number are both sent to the left inlet, the specified operation will be performed with those values.
				<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. All signal inputs to a single inlet are summed.
			</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>
