<?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="ezadc~" module="msp" category="MSP I/O, MSP U/I">
	<digest>
		Audio input and on/off button
	</digest>
	<description>
		<o>ezadc~</o> works as a user interface version of the <o>adc~</o> object. It appears as a button which can be clicked with the mouse to turn audio on or off.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			MSP
		</metadata>
		<metadata name="tag">
			MSP I/O
		</metadata>
		<metadata name="tag">
			MSP U/I
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="signal">
			<digest>
				Start/Stop Audio
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="signal">
			<digest>
				Audio In ch 1
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="signal">
			<digest>
				Audio In ch 2
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<palette category="Audio" action="ezadc~" pic="ezadc~.svg" />
	<!--ARGUMENTS-->
	<objarglist>
		<objarg id="0" name="OBJARG_NAME" type="OBJARG_TYPE" optional="0">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="int">
			<arglist>
				<arg name="stop/start-flag" optional="0" type="int" />
			</arglist>
			<digest>
				Enable/disable audio processing in all loaded patches
			</digest>
			<description>
				A non-zero number turns on audio processing in all loaded patches. A value of <m>0</m> turns all audio processing off.
			</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>
				Click to enable/disable audio processing
			</digest>
			<description>
				Clicking on <o>ezadc~</o> toggles audio processing on or off. Audio on is represented by the object being highlighted.
			</description>
		</method>
		<method name="local">
			<arglist>
				<arg name="behavioral" optional="0" type="int" />
			</arglist>
			<digest>
				Enable audio processing in local patch and subpatches only
			</digest>
			<description>
				The word <m>local</m>, followed by <m>1</m>, makes a click to turn on an <o>ezadc~</o> object equivalent to sending it the <m>startwindow message</m>. The message <m>local 0</m> returns the <o>ezadc~</o> object to its default mode where a click to turn it on is equivalent to the <m>start</m> message.
			</description>
		</method>
		<method name="open">
			<arglist />
			<digest>
				Open the Audio Status window
			</digest>
			<description>
				Opens the Audio Status window. The window is also brought to the front.
			</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 512). If the second number is <m>0</m>, the outlet sends out the zero signal.
			</description>
		</method>
		<method name="start">
			<arglist />
			<digest>
				Turns 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>ezadc~</o> is located, and in subpatches of that patch. Turns off audio processing in all other patches.
			</description>
		</method>
		<method name="stop">
			<arglist />
			<digest>
				Turns 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.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="bgcolor" get="1" set="1" type="float" size="4">
			<digest>
				Background Color
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Background Color" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="preview" get="1" set="1" type="symbol" size="1" value="button_background" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="set" get="1" set="1" type="pointer" size="1" value="pointer" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="rgba" />
			</attributelist>
		</attribute>
		<attribute name="border" get="1" set="1" type="atom" size="1">
			<digest>
				Border Size
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="invisible" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="obsolete" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="bordercolor" get="1" set="1" type="atom" size="1">
			<digest>
				Border Color
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="invisible" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="obsolete" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="color" get="1" set="1" type="float" size="4">
			<digest>
				On Color
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="introduced" get="1" set="1" type="symbol" size="1" value="7.0.0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="On Color" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="preview" get="1" set="1" type="symbol" size="1" value="circle_fill" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="set" get="1" set="1" type="pointer" size="1" value="pointer" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="rgba" />
			</attributelist>
		</attribute>
		<attribute name="elementcolor" get="1" set="1" type="float" size="4">
			<digest>
				Off Color
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Color" />
				<attribute name="introduced" get="1" set="1" type="symbol" size="1" value="7.0.0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Off Color" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="preview" get="1" set="1" type="symbol" size="1" value="circle_fill" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="set" get="1" set="1" type="pointer" size="1" value="pointer" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="rgba" />
			</attributelist>
		</attribute>
		<attribute name="local" get="1" set="1" type="int" size="1">
			<digest>
				Switch is Local
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="category" get="1" set="1" type="atom" size="1" value="Value" />
				<attribute name="default" get="1" set="1" type="int" size="1" value="0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Switch is Local" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="onoff" />
			</attributelist>
		</attribute>
		<attribute name="offgradcolor1" get="1" set="1" type="atom" size="1">
			<digest>
				Foreground Color Off 1
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="invisible" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="obsolete" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="offgradcolor2" get="1" set="1" type="atom" size="1">
			<digest>
				Foreground Color Off 2
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="invisible" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="obsolete" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="ongradcolor1" get="1" set="1" type="atom" size="1">
			<digest>
				Foreground Color On 1
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="invisible" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="obsolete" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="ongradcolor2" get="1" set="1" type="atom" size="1">
			<digest>
				Foreground Color On 2
			</digest>
			<description>
				TEXT_HERE
			</description>
			<attributelist>
				<attribute name="invisible" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="obsolete" get="1" set="1" type="int" size="1" value="1" />
			</attributelist>
		</attribute>
		<attribute name="style" get="1" set="1" type="symbol" size="1">
			<digest>
				Style
			</digest>
			<description>
				Sets the <link type="vignette" module="core" name="styles">style</link> to be applied to the object. Styles can be set using the <link type="vignette" module="core" name="format_palette">Format palette</link>.
			</description>
			<attributelist>
				<attribute name="category" get="1" set="1" type="symbol" size="1" value="Appearance" />
				<attribute name="introduced" get="1" set="1" type="symbol" size="1" value="7.0.0" />
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Style" />
				<attribute name="paint" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="save" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="style" />
			</attributelist>
		</attribute>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="ezadc~.png" caption="Audio input for processing and recording" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="adc~" />
		<seealso name="adstatus" />
		<seealso name="dac~" />
		<seealso name="ezdac~" />
		<seealso name="04_mspaudioio" module="msp" type="tutorial" />
		<seealso name="07_samplingchapter01" module="msp" type="tutorial" />
	</seealsolist>
	<misc name="Output">
		<entry name="signal">
			<description>
				Out left outlet: Audio input from channel 1.
				<br />
				<br />
				Out right outlet: Audio input from channel 2.
			</description>
		</entry>
	</misc>
</c74object>
