<?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="receive" module="max" category="Messages">
	<digest>
		Receive messages without patch cords
	</digest>
	<description>
		Receives and outputs messages from <o>send</o> objects sharing the same name. This allows you to send any kind of message between Patcher windows or within a window without using patch cords. A <o>receive</o> object can be instantiated with its short-form: the letter &quot;r&quot;.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			Messages
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				set Changes Receive Source (currently not assigned)
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				set Changes Receive Source (currently not assigned)
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Message Received from send
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="name" optional="1" type="symbol">
			<digest>
				Receive name
			</digest>
			<description>
				Name the <o>receive</o> object. If there is no argument, <o>receive</o> has one inlet, and a name must be provided by a <m>set</m> message before anything can be received. All <o>receive</o> objects that share the same name will receive data from any <o>send</o> objects that share their name.
				<br />
				<br />
				For information about using named objects in Max for Live, click <link name="live_symbols" module="core" type="vignette">here</link>.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="(mouse)">
			<digest>
				Find matching <o>send</o> objects
			</digest>
			<description>
				Double-clicking on a <o>receive</o> object looks for and opens a loaded patcher window containing a <o>send</o> object with the same name. Repeatedly double-clicking on the <o>receive</o> object looks for and opens more such windows.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="name" optional="0" type="symbol" />
			</arglist>
			<digest>
				Set the <o>receive</o> name
			</digest>
			<description>
				The word <m>set</m>, followed by a symbol, provides a name for <o>receive</o>, as if that name had been typed in as an argument.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="receive.png" caption="Virtual connections exist between all send and receive objects that share the same name" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="float" />
		<seealso name="forward" />
		<seealso name="int" />
		<seealso name="message" />
		<seealso name="pattrforward" />
		<seealso name="pvar" />
		<seealso name="route" />
		<seealso name="send" />
		<seealso name="value" />
		<seealso name="basicchapter16" module="max" type="tutorial" />
	</seealsolist>
	<discussion>
		The order of reception by two or more <o>receive</o> objects is not deterministic.
		<br />
		<b>Note:</b> Communication between Max for Live devices using <o>send</o> and <o>receive</o> is supported, but there may be some latency involved when sending data between devices.
	</discussion>
	<misc name="Output">
		<entry name="anything">
			<description>
				Any message received in the inlet of any <o>send</o> or <o>forward</o> object with the same name, or sent explicitly from an <o>int</o>, <o>float</o>, <o>grab</o>, or <o>message</o> box, is passed out the outlet of <o>receive</o>, even if the sending object is in a different loaded patch.
			</description>
		</entry>
	</misc>
</c74object>
