<?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="mc.pack~" module="msp" category="MC">
	<digest>
		Combine single inputs into a multichannel signal
	</digest>
	<description>
		The <o>mc.pack~</o> object combines inputs (signals, multichannel signals, floats) into a multi-channel signal. Unlike <o>mc.combine~</o>, <o>mc.pack~</o> creates an output multichannel signal that contains exactly the number of channels as its number of inlets.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			MC
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="signal, float">
			<digest>
				Input
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="signal, float">
			<digest>
				Input
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="multi-channel signal">
			<digest>
				Output
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg id="0" name="size" type="int" optional="0">
			<digest>
				The number of inlets and output channels
			</digest>
			<description>
				The argument to <o>mc.pack~</o> determines both the count of inlets and channels in its output multichannel signal.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="int">
			<arglist />
			<digest>
				Sets a constant signal value
			</digest>
			<description>
				An incoming number is converted a constant value within the output multichannel signal.
			</description>
		</method>
		<method name="float">
			<arglist />
			<digest>
				Sets a constant signal value
			</digest>
			<description>
				An incoming number is converted a constant value within the output multichannel signal.
			</description>
		</method>
		<method name="list">
			<arglist />
			<digest>
				Sets a constant signal value
			</digest>
			<description>
				The first value of the list is converted to a constant value within the output multichannel signal.
			</description>
		</method>
		<method name="mute">
			<arglist>
				<arg name="state" type="int" optional="0" />
			</arglist>
			<digest>
				mute flag (0 or 1)
			</digest>
			<description>
				The word <m>mute</m>, followed by a 1 or 0, will mute or unmute the output of <o>mc.pack~</o>. When muted, all output channels are set to zero.
			</description>
		</method>
		<method name="signal">
			<arglist />
			<digest>
				Copied to output
			</digest>
			<description>
				A single-channel signal or the first channel of a multichannel signal is copied to the output multichannel signal at the channel position correponding to its inlet.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="chans" get="1" set="1" type="int" size="1">
			<digest>
				Fixed channel count
			</digest>
			<description>
				If the <at>chans</at> attribute is set to a value smaller than the number of inlets of <o>mc.pack</o>, extra channels will be removed from the multichannel output the next time the audio is restarted. By default, the <at>chans</at> attribute is set to 0, which means the output channel count is always equal to the number of inlets.
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Output Channels" />
			</attributelist>
		</attribute>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example caption="" img="" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="mc_topic" module="topics" type="vignette" />
		<seealso name="mc_signals_newobjects" module="core" type="vignette" />
		<seealso name="join" />
		<seealso name="mc.combine~" />
		<seealso name="mc.separate~" />
		<seealso name="mc.unpack~" />
		<seealso name="pack" />
		<seealso name="pak" />
		<seealso name="unjoin" />
		<seealso name="unpack" />
	</seealsolist>
</c74object>
