<?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="bondo" module="max" category="Right-to-Left">
	<digest>
		Synchronize a group of messages
	</digest>
	<description>
		Synchronizes and outputs a set of inputs when any input is received. It can also be set with a time interval value (in milliseconds) to wait before sending its output.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			Right-to-Left
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				Input 1 to be Synchronized
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				Input 2 to be Synchronized
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Output of Inlet 1
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="OUTLET_TYPE">
			<digest>
				Output of Inlet 2
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="inlets-outlets" optional="1" type="int">
			<digest>
				The number of inlets and outlets
			</digest>
			<description>
				Specifies the number of inlets and outlets. The default number of inlets and outlets is 2.
			</description>
		</objarg>
		<objarg name="delay" optional="1" units="ms" type="int">
			<digest>
				The delay time for messages
			</digest>
			<description>
				Specifies the number of milliseconds to delay when a message is received before sending messages out the outlets.
			</description>
		</objarg>
		<objarg name="list-flag" optional="1" type="symbol">
			<digest>
				Allow lists for input
			</digest>
			<description>
				Using the symbol &quot;n&quot; as an argument, <o>bondo</o> is able to synchronize lists which arrive in different inlets.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Send all stored messages
			</digest>
			<description>
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Store value and cause output
			</digest>
			<description>
				In any inlet: The input is stored in the location corresponding to that inlet, and causes anything previously stored to be sent out its corresponding outlet. If no message has yet been received in a particular inlet, 0 is sent out of the corresponding outlet.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="input" optional="0" type="float" />
			</arglist>
			<digest>
				Store value and cause output
			</digest>
			<description>
				In any inlet: The input is stored in the location corresponding to that inlet, and causes anything previously stored to be sent out its corresponding outlet. If no message has yet been received in a particular inlet, 0 is sent out of the corresponding outlet.
			</description>
		</method>
		<method name="list">
			<arglist>
				<arg name="input" optional="0" type="list" />
			</arglist>
			<digest>
				Store values and cause output
			</digest>
			<description>
				In any inlet: The elements of the list are parsed among the inlets. The first element in the list is sent out the outlet which corresponds to the inlet which received the list and each subsequent element in the list is sent out each subsequent outlet.
				<br />
				<br />
				If the &quot;n&quot; argument was used, <o>bondo</o> will store and output lists for each outlet in addition to single numbers.
			</description>
		</method>
		<method name="anything">
			<arglist>
				<arg name="input" optional="0" type="list" />
			</arglist>
			<digest>
				Store values and cause output
			</digest>
			<description>
				In any inlet: The input is stored in the location corresponding to that inlet, and causes anything previously stored to be sent out its corresponding outlet. If no message has yet been received in a particular inlet, 0 is sent out of the corresponding outlet.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="input" optional="0" type="list" />
			</arglist>
			<digest>
				Store value without output
			</digest>
			<description>
				In any inlet: The word <m>set</m>, followed by any message, stores the input in the location corresponding to that inlet without triggering any output.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="bondo.png" caption="bondo can synchronize messages arriving from different sources" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="buddy" />
		<seealso name="join" />
		<seealso name="onebang" />
		<seealso name="pack" />
		<seealso name="thresh" />
	</seealsolist>
	<misc name="Output">
		<entry name="any message">
			<description>
				Anything stored in an inlet is sent out the corresponding outlet numbers. Output is immediate if triggered by a <m>bang</m>. If output is triggered by a message, and a second argument has been typed in, output will be delayed by the number of milliseconds specified in the second argument.
			</description>
		</entry>
	</misc>
</c74object>
