<?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.op~" module="MSP" category="MC">
	<digest>
		Apply arithmetic operators to a multichannel signal
	</digest>
	<description>
		The <o>mc.op~</o> object, similar to <o>jit.planeop</o>, performs one of several arithmetic operations combining each sample of a multichannel input to produce a single-channel output.
	</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>
				Input
			</digest>
			<description>
				<o>mc.op~</o> will perform an arithmetic operation on a connected multichannel input according to the current setting of its <at>op</at> attribute.
			</description>
		</inlet>
		<inlet id="1" type="multi-channel signal">
			<digest>
				Input
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="signal">
			<digest>
				Computed Output
			</digest>
			<description>
				<o>mc.op~</o> produces a single-channel signal result from its operation.
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist />
	<!--MESSAGES-->
	<methodlist>
		<method name="signal">
			<arglist />
			<digest>
				Input
			</digest>
			<description>
				<o>mc.op~</o> will perform an arithmetic operation on all channels of a connected multichannel signal.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="op" get="1" set="1" type="symbol" size="1">
			<digest>
				Operator used to calculate the combined output signal
			</digest>
			<description>
				The <o>mc.op~</o> object can apply one of several operators to all channels of a connected multichannel signal. Each operator calculates the nth output sample on the basis of an operation on the nth sample of each input channel.
			</description>
			<attributelist>
				<attribute name="basic" get="1" set="1" type="int" size="1" value="1" />
				<attribute name="default" get="1" set="1" type="symbol" size="1" value="avg" />
				<attribute name="enumvals" get="1" set="1" type="atom" size="5">
					<enumlist>
						<enum name="avg">
							<digest>
								Average
							</digest>
							<description>
								Each sample of the output is the average of  corresponding samples in each input channel.
							</description>
						</enum>
						<enum name="sum">
							<digest>
								Sum
							</digest>
							<description>
								Each sample of the output is the sum of  corresponding samples in each input channel.
							</description>
						</enum>
						<enum name="product">
							<digest>
								Product
							</digest>
							<description>
								Each sample of the output is produced by multiplying all corresponding samples in each input channel.
							</description>
						</enum>
						<enum name="min">
							<digest>
								Minimum
							</digest>
							<description>
								Each sample of the output is produced by finding the minimum value of corresponding samples in each input channel.
							</description>
						</enum>
						<enum name="max">
							<digest>
								Maximum
							</digest>
							<description>
								Each sample of the output is produced by finding the maximum value of corresponding samples in each input channel.
							</description>
						</enum>
					</enumlist>
				</attribute>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Operator" />
				<attribute name="style" get="1" set="1" type="symbol" size="1" value="enum" />
			</attributelist>
		</attribute>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example caption="" img="" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="mc_topic" module="topics" type="vignette" />
		<seealso name="mc.mixdown~" />
		<seealso name="mc.dup~" />
	</seealsolist>
</c74object>
