<?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="adc~" module="msp" category="MSP I/O">
	<digest>
		Audio input and on/off
	</digest>
	<description>
		The <o>adc~</o> (&quot;analog-to-digital converter&quot;) object outputs one or more signals (one per outlet) with audio from hardware input devices.
	</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>
				start, stop Turn Audio On and Off
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
				start, stop Turn Audio On and Off
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="signal">
			<digest>
				(signal) Audio In Ch 1
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="signal">
			<digest>
				(signal) Audio In Ch 2
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="inputs" optional="1" type="int">
			<digest>
				Number of audio inputs
			</digest>
			<description>
				If <o>adc~</o> has one numeric argument, it determines the number of outlets that produce signals from audio input hardware starting with logical input channel 1. If <o>adc~</o> has more than one argument, it is taken as a list of logical input channels assigned to its outlets. If no arguments are supplied, <o>adc~</o> will have two outlets, initially set to logical input channels 1 and 2.
				<br />
				<br />
				If a symbol is provided as the first argument to <o>adc~</o>, its output will come from a named inport port in the Max mixer. If <o>adc~</o> instances in a patcher hierarchy share the same name they will use the same mixer input port.
			</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="input-channel-designations" optional="0" type="list" />
			</arglist>
			<digest>
				Set the logical input channels for each signal inlet
			</digest>
			<description>
				<m>list</m> comprised of integers sets the logical input channels for each signal inlet.
			</description>
		</method>
		<method name="(mouse)">
			<digest>
				Open the Audio Status window
			</digest>
			<description>
				Double-clicking on <o>adc~</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="logical-output-channel" optional="0" type="int" />
				<arg name="logical-input-channel" optional="0" type="int" />
			</arglist>
			<digest>
				Set the logical input channel for a signal outlet
			</digest>
			<description>
				The word <m>set</m>, followed by two numbers, sets the logical input channel for one of the object's signal outlets. The first number specifies the outlet number, where <m>1</m> is the leftmost outlet. The second number specifies the logical input channel (from 1 to 1024). If the second number is <m>0</m>, the outlet sends out the zero signal.
			</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>
				Turn on audio processing only in the patch in which this <o>adc~</o> is located, and in subpatches of that patch
			</digest>
			<description>
				Turns on audio processing only in the patch in which this <o>adc~</o> is located, and in subpatches of that patch. Turns off audio processing in all other patches.
			</description>
		</method>
		<method name="stop">
			<arglist />
			<digest>
				Turn off 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.adc~" />
		<seealso name="adstatus" />
		<seealso name="ezadc~" />
		<seealso name="ezdac~" />
		<seealso name="dac~" />
		<seealso name="04_mspaudioio" module="msp" type="tutorial" />
		<seealso name="07_samplingchapter01" module="msp" type="tutorial" />
	</seealsolist>
	<misc name="Output">
		<entry name="signal">
			<description>
				Audio from hardware input devices is output as a series of signals, one per outlet.
			</description>
		</entry>
	</misc>
</c74object>
