<?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="avg~" module="msp" category="MSP Operators">
	<digest>
		Signal average
	</digest>
	<description>
		Use the <o>avg~</o> object to keep track of the average (absolute) amplitude of the input signal received over a specified time interval.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			MSP
		</metadata>
		<metadata name="tag">
			MSP Analysis
		</metadata>
		<metadata name="tag">
			MSP Operators
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="signal">
			<digest>
				(signal) Input, bang Outputs Average
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="signal">
			<digest>
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="float">
			<digest>
				(float) Average Value of Input Signal
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--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="bang">
			<arglist />
			<digest>
				Trigger a report of the average (absolute) amplitude
			</digest>
			<description>
				Triggers a report of the average (absolute) amplitude of the signal received since the previous <m>bang</m>, and clears the <o>avg~</o> object's memory in preparation for the next report.
			</description>
		</method>
		<method name="signal">
			<arglist />
			<digest>
				The signal to be averaged
			</digest>
			<description>
				The signal to be averaged.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="avg~.png" caption="Report the average (absolute) amplitude of a signal" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="average~" />
		<seealso name="meter~" />
	</seealsolist>
	<misc name="Output">
		<entry name="float">
			<description>
				When <m>bang</m> is received in the inlet, <o>avg~</o> reports the average amplitude of the signal received since the previous <m>bang</m>.
			</description>
		</entry>
	</misc>
</c74object>
