<?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="msp" category="MSP Routing">
	<digest>
		Signals can be received from any loaded patcher, without patch cords
	</digest>
	<description>
		Use the <o>receive~</o> object to grab signals put out by <o>send~</o> objects and outputs them out its signal outlet.
	</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="INLET_TYPE">
			<digest>
				set Changes Source
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				set Changes Source
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="signal">
			<digest>
				Output
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="object-name" optional="0" type="symbol">
			<digest>
				Name of the <o>receive~</o> object
			</digest>
			<description>
				Sets the name of the <o>receive~</o> object.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="set">
			<arglist>
				<arg name="object-name" optional="0" type="symbol" />
			</arglist>
			<digest>
				Change the name of the <o>receive~</o> object
			</digest>
			<description>
				The word <m>set</m>, followed by a <m>symbol</m>, changes the name of the <o>receive~</o> so that it connects to different <o>send~</o> objects that have the <m>symbol</m> as a name. If no <o>send~</o> objects exist with the name, the output of <o>receive~</o> is 0.
			</description>
		</method>
		<method name="signal">
			<arglist />
			<digest>
				Receive a signal from all <o>send~</o> objects sharing its name
			</digest>
			<description>
				The <o>receive~</o> object receives signals from all <o>send~</o> objects that share its name. It adds them together and sends the sum out its outlet. If no <o>send~</o> objects share the current name, the output of <o>receive~</o> is 0. The <o>send~</o> objects need not be in the same patch as the corresponding <o>receive~</o>.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="receive~.png" caption="Signals can be received from any loaded patcher, without patch cords" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="send~" />
		<seealso name="05_mspbasicchapter04" module="msp" type="tutorial" />
	</seealsolist>
	<discussion>
		You can switch between all current <o>receive~</o> objects using the <m>set</m> message. To turn off the audio coming from a <o>receive~</o>, use <m>set</m> with the name of a <o>send~</o> that doesn't currently exist.
	</discussion>
	<misc name="Output">
		<entry name="signal">
			<description>
				The combination of all signals coming into all <o>send~</o> objects with the same name as the <o>receive~</o>.
			</description>
		</entry>
	</misc>
</c74object>
