<?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="trigger" module="max" category="Control, Right-to-Left">
	<digest>
		Send input to many places
	</digest>
	<description>
		Outputs any input received in order from right to left and formatted according to the object-argument specified.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			Max
		</metadata>
		<metadata name="tag">
			Control
		</metadata>
		<metadata name="tag">
			Right-to-Left
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				Message to be Fanned to Multiple Outputs
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				Message to be Fanned to Multiple Outputs
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Output Order 2 (int)
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="OUTLET_TYPE">
			<digest>
				Output Order 1 (int)
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="formats" optional="1" type="symbol">
			<digest>
				Output types
			</digest>
			<description>
				The number of arguments determines the number of outlets. Each outlet sends out either int, float, <m>bang</m>, list, or symbol, as identified by symbol arguments (i, f, b, l, or s). If there are no arguments, there are two outlets, both of which send an int.
			</description>
		</objarg>
		<objarg name="constant" optional="1" type="anything">
			<digest>
				Output constants
			</digest>
			<description>
				When an int, float, or symbol is specified, the value is output as a constant.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Output as determined by arguments
			</digest>
			<description>
				Causes either a <m>bang</m>, an integer <m>0</m>, a float <m>0.</m>, a list <m>0</m>, or an empty symbol to be sent out of each outlet.
			</description>
		</method>
		<method name="int">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Output as determined by arguments
			</digest>
			<description>
				The number is sent out each outlet in the form designated by the typed-in arguments: either an int, a float, a list, a symbol (although empty), or a <m>bang</m>.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="input" optional="0" type="float" />
			</arglist>
			<digest>
				Output as determined by arguments
			</digest>
			<description>
				The number is sent out each outlet in the form designated by the typed-in arguments: either an int, a float, a list, a symbol (although empty), or a <m>bang</m>.
			</description>
		</method>
		<method name="list">
			<arglist>
				<arg name="input" optional="0" type="list" />
			</arglist>
			<digest>
				Output as determined by arguments
			</digest>
			<description>
				The list is sent out any outlet with the letter <m>l</m> assigned to it. Out other outlets, the list is converted and sent out as integer <m>0</m>, float <m>0.</m>, the empty symbol <m>&quot;&quot;</m>, or <m>bang</m>.
			</description>
		</method>
		<method name="anything">
			<arglist>
				<arg name="input" optional="0" type="list" />
			</arglist>
			<digest>
				Output as determined by arguments
			</digest>
			<description>
				Anything can be output according to the format specified (same as <m>list</m> but interpreted as a symbol).
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="trigger.png" caption="Order is normally right-to-left... Any other order can be specified by trigger" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="bangbang" />
		<seealso name="jstrigger" />
		<seealso name="message" />
		<seealso name="basicchapter05" module="max" type="tutorial" />
		<seealso name="basicchapter06" module="max" type="tutorial" />
	</seealsolist>
	<discussion>
		<o>trigger</o> can also be instantiated with the simple name of &quot;t&quot;.
	</discussion>
	<misc name="Output">
		<entry name="int">
			<description>
				A number received in the inlet is sent out each outlet, in order from right to left. The number will be converted to int, float, list, symbol, or <m>bang</m> before being sent out, depending on the argument that corresponds to each outlet. A symbol, list, or <m>bang</m> received in the inlet will be converted to integer <m>0</m> by an <m>i</m> outlet, and to float <m>0.</m> by an <m>f</m> argument.
			</description>
		</entry>
		<entry name="float">
			<description>
				A number received in the inlet is sent out each outlet, in order from right to left. The number will be converted to int, float, list, symbol, or <m>bang</m> before being sent out, depending on the argument that corresponds to each outlet. A symbol, list, or <m>bang</m> received in the inlet will be converted to integer <m>0</m> by an <m>i</m> outlet, and to float <m>0.</m> by an <m>f</m> argument.
			</description>
		</entry>
		<entry name="bang">
			<description>
				Anything received in the inlet will be converted to <m>bang</m> before being sent out a <m>b</m> outlet.
			</description>
		</entry>
		<entry name="list">
			<description>
				A list received in the inlet will be sent out unchanged by an <m>l</m> outlet. Anything else will be converted to the single-item list <m>0</m> before being sent out.
			</description>
		</entry>
		<entry name="symbol">
			<description>
				A symbol received in the inlet will be sent out unchanged by an <m>s</m> outlet. Anything else will be converted to the null symbol <m>&quot;&quot;</m> before being sent out. Note: The only object that recognizes this null symbol is <o>print</o>, which valiantly prints the empty message in the Max Console. Other objects will either ignore this null symbol or print an error message in the Max Console.
			</description>
		</entry>
	</misc>
</c74object>
