<?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="send~" module="msp" category="MSP Routing">
	<digest>
		Send signals without patch cords
	</digest>
	<description>
		The <o>send~</o> object lets you send a signal to another patcher window or to another location within the same patcher window without using a patch cord. A <o>send~</o> object can be instantiated simply by typing into an object box the short-form letter &quot;s~&quot;.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			MSP
		</metadata>
		<metadata name="tag">
			MSP Routing
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="signal">
			<digest>
				Send to receive~ a
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="signal">
			<digest>
				Send to receive~ a
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="object-name" optional="0" type="symbol">
			<digest>
				Name of the <o>send~</o> object
			</digest>
			<description>
				Sets the name of the <o>send~</o> object.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="clear">
			<arglist />
			<digest>
				Clear all <o>receive~</o> buffers associated with this object
			</digest>
			<description>
				The <m>clear</m> message clears all of the <o>receive~</o> buffers associated with the <o>send~</o> object. This message is only used with patchers which are being muted inside a subpatch loaded by the <o>poly~</o> object.
			</description>
		</method>
		<method name="(mouse)">
			<digest>
				Double-click to find matching <o>receive~</o> objects
			</digest>
			<description>
				Double-clicking on a <o>send~</o> object opens all windows containing <o>receive~</o> objects with the same name, and also lists the instance numbers of patches hosted in a <o>poly~</o> object that share named <o>receive~</o> objects.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="object-name" optional="0" type="symbol" />
			</arglist>
			<digest>
				Change the name of the <o>send~</o> object
			</digest>
			<description>
				The word <m>set</m>, followed by a <m>symbol</m>, changes the name of the <o>send~</o> so that it connects to different <o>receive~</o> objects that have the <m>symbol</m> as a name. (If no <o>receive~</o> objects with the same name exist, <o>send~</o> does nothing.)
			</description>
		</method>
		<method name="signal">
			<arglist />
			<digest>
				Send a signal to all <o>receive~</o> objects sharing its name
			</digest>
			<description>
				The <o>send~</o> object sends its input signal to all <o>receive~</o> objects that share its name. The <o>send~</o> object need not be in the same patch as the corresponding <o>receive~</o> object(s).
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="name" get="1" set="1" type="symbol" size="1">
			<digest>
				Name
			</digest>
			<description>
				Name the <o>send~</o> object. All <o>send~</o> objects that share the same name will send data to any <o>receive~</o> objects that share their name.
				<br />
				<br />
				If you want a named <o>send~</o>/ <o>receive~</o> object in a Max for Live device to be unique to the device, use three dashes (<b>---</b>) to start the name of your <o>send~</o>/ <o>receive~</o> destination (e.g. <m>s ---filtercutoff</m>).
				<br />
				<br />
				When your patch is initialized, it will replace the three dashes with a unique-to-Live number (e.g. <m>s 024filtercutoff</m>);
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Name" />
			</attributelist>
		</attribute>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="send~.png" caption="Signal coming into send~ comes out any receive~ object with the same name" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="receive~" />
		<seealso name="05_mspbasicchapter04" module="msp" type="tutorial" />
	</seealsolist>
	<discussion>
		The destination of the signal can be changed on the fly using the <m>set</m> message. A <o>receive~</o> object with the same name receives the output of <o>send~</o>. When two or more <o>send~</o> objects are aimed at the same <o>receive~</o> object, the signals add together.
		<br />
		<br />
		Note: The use of a <o>send~</o> object can introduce a delay of varying lengths. This delay is dependent on a large number of factors including, but not limited to, how many <o>send~</o> and <o>receive~</o> objects are involved, if a feedback loop is detected, and the use of different top-level patchers with multiprocessing enabled.
	</discussion>
	<misc name="Output">
		<entry name="Signal-Routing">
			<description>
				Signals are routed remotely (i.e., sans patch-cord-connection).
			</description>
		</entry>
	</misc>
</c74object>
