<?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.dac~" module="msp" category="MSP I/O">
	<digest>
		Multichannel audio output and on/off
	</digest>
	<description>
		The <o>mc.dac~</o> (&quot;digital-to-analog converter&quot;) object sends its signal inputs to audio hardware. Double-click on an <o>mc.dac~</o> to open the Audio Status window to configure audio settings and hardware.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			MC
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="multi-channel signal">
			<digest>
				Audio outputs, start (1) and stop (0)
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="multi-channel signal">
			<digest>
				Audio Out, start (1) and stop (0)
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="outputs" optional="1" type="symbol">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				When <o>mc.dac~</o> has no arguments, it sends all channels of its connected multichannel input to audio output channels starting at logical channel 1.
				<br />
				When <o>mc.dac~</o> has channel number arguments, it sends channels of its connected multichannel input to the specified audio output channel(s). If there are more channels in the multichannel input than channel arguments, the additional channels of the input are ignored.
				<br />
				If a symbol is provided as the first argument to a <o>mc.dac~</o> object, its output will be sent to the Max mixer. If <o>mc.dac~</o> instances in a patcher hierarchy share the same name they will use the same mixer output.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="int">
			<arglist>
				<arg name="on/off-flag" optional="0" type="int" />
			</arglist>
			<digest>
				Enable/disable audio processing
			</digest>
			<description>
				A non-zero number turns on audio processing in all loaded patches. <m>0</m> turns off audio processing in all loaded patches.
			</description>
		</method>
		<method name="list">
			<arglist>
				<arg name="output-channel-designations" optional="0" type="list" />
			</arglist>
			<digest>
				Assign audio output channels
			</digest>
			<description>
				A list of numbers sets the logical output channels for each channel in the multichannel input starting with the first input channel. For example, sending <m>3 4 5</m> to <o>mc.dac~</o> will assign the first channel in an input multichannel signal to audio output channel 3, the second channel of the input to audio output channel 4, and the third channel of the input to audio output channel 5.
			</description>
		</method>
		<method name="(mouse)">
			<digest>
				Double-click to open the Audio Status window
			</digest>
			<description>
				Double-clicking on <o>mc.dac~</o> opens the Audio Status window.
			</description>
		</method>
		<method name="open">
			<arglist />
			<digest>
				Open the Audio Status window
			</digest>
			<description>
				Opens the Audio Status window.
			</description>
		</method>
		<method name="set">
			<arglist>
				<arg name="output-channel-designation" optional="0" type="int" />
			</arglist>
			<digest>
				Assign the first audio output channel
			</digest>
			<description>
				The word <m>set</m>, followed by a number, sets the logical output channels for the first channel in the input multichannel signal. For instance, <m>set 3</m> assigns the first channel of the input to logical output channel 3. To assign multiple channels, use the <m>list</m> message.
				<br />
			</description>
		</method>
		<method name="signal">
			<arglist />
			<digest>
				Audio output
			</digest>
			<description>
				The <o>mc.dac~</o> object sends the audio in its multichannel input to audio output channels. The Arguments section describes how audio channels in the multichannel input are assigned to audio outputs. The signal must be between -1 and 1 to avoid clipping.
			</description>
		</method>
		<method name="start">
			<arglist />
			<digest>
				Turn on audio processing in all loaded patches.
			</digest>
			<description>
				Turns on audio processing in all loaded patches.
			</description>
		</method>
		<method name="startwindow">
			<arglist />
			<digest>
				Enable audio processing in local patch and subpatches only
			</digest>
			<description>
				Turns on audio processing only in the patch in which this <o>mc.dac~</o> is located, and in subpatches of that patch. Turns off audio processing in all other patches.
			</description>
		</method>
		<method name="stop">
			<arglist />
			<digest>
				Disable audio processing in all loaded patches
			</digest>
			<description>
				Turns off audio processing in all loaded patches.
			</description>
		</method>
		<method name="wclose">
			<arglist />
			<digest>
				Close the Audio Status window
			</digest>
			<description>
				Closes the Audio Status window if it is open.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example caption="" img="" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="mc_topic" module="topics" type="vignette" />
		<seealso name="mc.adc~" />
		<seealso name="dac~" />
		<seealso name="ezdac~" />
		<seealso name="adstatus" />
		<seealso name="mc.ezadc~" />
		<seealso name="mc.ezdac~" />
		<seealso module="msp" name="04_mspaudioio" type="tutorial" />
		<seealso module="msp" name="05_mspbasicchapter01" type="tutorial" />
	</seealsolist>
	<misc name="Output">
		<entry name="Audio">
			<description>
				<o>mc.dac~</o> produces no output internal to the application. Signals received in its inlets are sent to its assigned logical audio output channels. You can assign logical channels to device output channels in the I/O Mappings subwindow of the Audio Status window.
			</description>
		</entry>
	</misc>
</c74object>
