<?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="minmax~" module="msp" category="MSP Analysis, MSP Modifiers">
	<digest>
		Compute minimum/maximum signal values
	</digest>
	<description>
		<o>minmax~</o> computes the minimum and maximum values of an input signal and outputs signals which are the maximum signal and the minimum signal as well as outputs of the minimum and maximum floats.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			MSP
		</metadata>
		<metadata name="tag">
			MSP Analysis
		</metadata>
		<metadata name="tag">
			MSP Modifiers
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="signal">
			<digest>
				(signal) Input
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="signal">
			<digest>
				Reset Input
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="signal">
			<digest>
				(signal) Minimum
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="signal">
			<digest>
				(signal) Maximum
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="2" type="double">
			<digest>
				(float) Minimum
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="3" type="double">
			<digest>
				(float) Maximum
			</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>
				Output minimum/maximum values
			</digest>
			<description>
				Sends floating-point values corresponding to the minimum and maximum signal values out the 3rd and 4th outputs.
			</description>
		</method>
		<method name="reset">
			<arglist />
			<digest>
				Reset minimum/maximum values to zero
			</digest>
			<description>
				Resets the current minimum and maximum values to the default (0).
			</description>
		</method>
		<method name="signal">
			<arglist />
			<digest>
				Evaluate this signal for minimum/maximum values
			</digest>
			<description>
				In left inlet: signal to be evaluated for minimum and maximum values.
				<br />
				<br />
				In right inlet: A non-zero signal value will reset the current minimum and maximum.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="minmax~.png" caption="Find the hi/low peaks of a signal" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="meter~" />
		<seealso name="peakamp~" />
		<seealso name="snapshot~" />
	</seealsolist>
	<misc name="Output">
		<entry name="signal">
			<description>
				Out 1st outlet: Signal value which corresponds to the minimum signal value received since startup or the last <m>reset</m> message.
				<br />
				<br />
				Out 2nd outlet: Signal value which corresponds to the maximum signal value received since startup or the last <m>reset</m> message.
			</description>
		</entry>
		<entry name="float">
			<description>
				Out 3rd outlet: When <o>minmax~</o> receives a <m>bang</m> message, a floating-point value which corresponds to the minimum signal value received since startup or the last <m>reset</m> message is output.
				<br />
				<br />
				Out 4th outlet: When <o>minmax~</o> receives a <m>bang</m> message, a floating-point value which corresponds to the maximum signal value received since startup or the last <m>reset</m> message is output.
			</description>
		</entry>
	</misc>
</c74object>
