<?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="clip~" module="msp" category="MSP Modifiers">
	<digest>
		Limit signal amplitude
	</digest>
	<description>
		Use the <o>clip~</o> to constrains input signals between two specified values.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			MSP
		</metadata>
		<metadata name="tag">
			MSP Modifiers
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="signal">
			<digest>
				(signal) Input to be Clipped
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="signal">
			<digest>
				Minimum Level
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="2" type="signal">
			<digest>
				Maximum Level
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="signal">
			<digest>
				(signal) Clipped Output
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="minimum" optional="1" type="float">
			<digest>
				Minimum value for clipping
			</digest>
			<description>
				Initial minimum limit for the range of the output signal. If no argument is supplied, the minimum limit is initially set to <m>0</m>. If a signal is connected to the middle inlet, the corresponding argument is ignored.
			</description>
		</objarg>
		<objarg name="maximum" optional="1" type="float">
			<digest>
				Maximum value for clipping
			</digest>
			<description>
				Initial maximum limit for the range of the output signal. If no argument is supplied, the maximum limit is initially set to <m>0</m>. If a signal is connected to the middle inlet, the corresponding argument is ignored.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="int">
			<arglist>
				<arg name="minimum/maximum" optional="0" type="int" />
			</arglist>
			<digest>
				Function depends on inlet
			</digest>
			<description>
				The middle and right inlets can receive a <m>float</m> or <m>int</m> instead of a signal to set the minimum and/or maximum.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="minimum/maximum" optional="0" type="float" />
			</arglist>
			<digest>
				Function depends on inlet
			</digest>
			<description>
				The middle and right inlets can receive a <m>float</m> or <m>int</m> instead of a signal to set the minimum and/or maximum.
			</description>
		</method>
		<method name="signal">
			<arglist />
			<digest>
				Function depends on inlet
			</digest>
			<description>
				In left inlet: Any signal, which will be restricted within the minimum and maximum limits received in the middle and right inlets.
				<br />
				<br />
				In middle inlet: Minimum limit for the range of the output signal.
				<br />
				<br />
				In right inlet: Maximum limit for the range of the output signal.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="clip~.png" caption="Output is a clipped version of the input" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="&lt;~" />
		<seealso name="&gt;~" />
		<seealso name="trunc~" />
	</seealsolist>
	<misc name="Output">
		<entry name="signal">
			<description>
				The input signal is sent out, limited within the specified range. Any value in the input signal that exceeds the minimum or maximum limit is set equal to that limit.
			</description>
		</entry>
	</misc>
</c74object>
