<?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="adoutput~" module="msp" category="MSP I/O">
	<digest>
		Access audio driver output channel
	</digest>
	<description>
		Use the <o>adoutput~</o> object to record the current audio output or to feed it back into your patcher. The output of <o>adoutput~</o> is delayed by one signal vector with respect to the actual output.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			MSP
		</metadata>
		<metadata name="tag">
			MSP I/O
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				set Changes Output Channel
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				set Changes Output Channel
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="signal">
			<digest>
				(signal) Output of Audio Channel 1
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="signal">
			<digest>
				(signal) Output of Audio Channel 2
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="audiodriver-output-channels" optional="1" type="int">
			<digest>
				Specified output channels of the current audiodriver
			</digest>
			<description>
				The arguments specify output channels of the current audiodriver. There is no limit to the number of channels you can specify. By default, <o>adoutput~</o> creates two outlets and assigns the audio output from channels 1 and 2 of the current audiodriver to them. Note that these channel numbers are not the same as the logical channel numbers used by the <o>dac~</o> and <o>adc~</o> objects, but represent the &quot;physical&quot; outputs of the driver after any remapping has taken place. You configure the relationship between logical <o>dac~</o> channels and the audiodriver's real channels with the I/O Mappings subwindow of the Audio Status window.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="set">
			<arglist>
				<arg name="outlet-index" optional="0" type="int" />
				<arg name="audiodriver-output-channel-index" optional="0" type="int" />
			</arglist>
			<digest>
				Assign an audiodriver output channel to a signal outlet
			</digest>
			<description>
				The word <m>set</m>, followed by two numbers, assigns an audio driver output channel to a signal outlet of the <o>adoutput~</o> object. The first number is the index of the outlet, where a value of 0 refers to the left outlet. The second number is the index of the audio driver output device channel where 1 refers to the first channel. If the second number is 0, the specified outlet is turned off and outputs a zero signal.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="adoutput~.png" caption="Capture the output of physical DAC channels to record/re-process the output of your patch" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="adstatus" />
		<seealso name="dac~" />
	</seealsolist>
	<discussion>
		By default <o>adoutput~</o> outputs the audio driver's channel 1 out its left outlet and channel 2 out its right outlet. Optional arguments specify the channels you want. Remember, these are not the logical channels used by <o>dac~</o> and <o>adc~</o>-- they are the audio driver object's &quot;real&quot; channels. A channel number of 0 turns off an output. Channel numbers higher than the number of real channels of the current audio driver also result in a zero output.
	</discussion>
	<misc name="Output">
		<entry name="signal">
			<description>
				Each outlet of <o>adoutput~</o> outputs a signal from the assigned audiodriver channel, delayed by the number of samples of the current signal vector size.
			</description>
		</entry>
	</misc>
</c74object>
