<?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.slide~" module="msp" category="MSP Filters, Multichannel">
	<digest>
		Filter a signal logarithmically  (multichannel)
	</digest>
	<description>
		Use the <o>slide~</o> object for envelope following and lowpass filtering.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			MSP
		</metadata>
		<metadata name="tag">
			MSP Filters
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="signal">
			<digest>
				(signal) Input
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="signal, float">
			<digest>
				Slide up
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="2" type="signal, float">
			<digest>
				Slide down
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="signal">
			<digest>
				(signal) Output
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="slide-up" optional="1" type="float">
			<digest>
				Slide up value
			</digest>
			<description>
				Specifies the slide up value. The default is 1. (Also accepts integers for these arguments as well as the associated messages which address these parameter settings.)
			</description>
		</objarg>
		<objarg name="slide-down" optional="1" type="float">
			<digest>
				Slide down value
			</digest>
			<description>
				A second argument specifies the slide down value. The default is 1. (Also accepts integers for these arguments as well as the associated messages which address these parameter settings.)
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="int">
			<arglist>
				<arg name="slide-up/down-value" optional="0" type="int" />
			</arglist>
			<digest>
				Set the slide up/down value
			</digest>
			<description>
				In middle inlet: Use an <m>int</m> to set the slide-up value.
				<br />
				<br />
				In right inlet: Use an <m>int</m> to set the slide-down value.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="slide-up/down-value" optional="0" type="float" />
			</arglist>
			<digest>
				Set the slide up/down value
			</digest>
			<description>
				In middle inlet: Use a <m>float</m> to set the slide-up value.
				<br />
				<br />
				In right inlet: Use a <m>float</m> to set the slide-down value.
			</description>
		</method>
		<method name="reset">
			<arglist />
			<digest>
				Set the current output sample value to 0
			</digest>
			<description>
				Sets the current output sample value to 0 (the next incoming value will smoothly transition from that 0).
			</description>
		</method>
		<method name="signal">
			<arglist />
			<digest>
				Signal to be filtered
			</digest>
			<description>
				In left inlet: A signal to be filtered. Whenever a new value is received, <o>slide~</o> filters the input signal logarithmically between changes in signal value using the formula:
				<br />
				<br />
				y (n) = y (n-1) + ((x (n) - y (n-1))/slide)
				<br />
				<br />
				A given sample output from <o>slide~</o> is equal to the last sample's value plus the difference between the last sample's value and the input divided by the slide value. Given a slide value of 1, the output will therefore always equal the input. Given a slide value of 10, the output will only change 1/10th as quickly as the input. This can be particularly useful for lowpass filtering or envelope following.
				<br />
				<br />
				In middle inlet: Use a signal to set the slide-up value.
				<br />
				<br />
				In right inlet: Use a signal to set the slide-down value.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<attributelist>
		<attribute name="slidedown" get="1" set="1" type="float" size="1">
			<digest>
				Set the slide down value
			</digest>
			<description>
				The <at>slidedown</at> attribute specifies the slide-down value to be used when an incoming value is less than the current value.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Slide Down" />
			</attributelist>
		</attribute>
		<attribute name="slideup" get="1" set="1" type="float" size="1">
			<digest>
				Set the slide up value
			</digest>
			<description>
				The <at>slideup</at> attribute specifies the slide-up value to be used when an incoming value is greater than the current value.
			</description>
			<attributelist>
				<attribute name="label" get="1" set="1" type="symbol" size="1" value="Slide Up" />
			</attributelist>
		</attribute>
	</attributelist>
	<!--EXAMPLE-->
	<examplelist>
		<example img="slide~.png" caption="slide~ performs logarithmic smoothing of an input signal" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="rampsmooth~" />
		<seealso name="audio_filtering" module="core" type="vignette" />
	</seealsolist>
	<discussion>
		The <o>slide~</o> object filters an input signal logarithmically between changes in signal value. The formula is y (n) = y (n-1) + ((x (n) - y (n-1))/slide).
	</discussion>
	<misc name="Output">
		<entry name="signal">
			<description>
				The filtered signal.
			</description>
		</entry>
	</misc>
	<mcwrapper>
		<mcwrappermethod name="applymessages" />
		<mcwrappermethod name="applynvalues" />
		<mcwrappermethod name="applyvalues" />
		<mcwrappermethod name="decide" />
		<mcwrappermethod name="deviate" />
		<mcwrappermethod name="ease.in_back" />
		<mcwrappermethod name="ease.in_bounce" />
		<mcwrappermethod name="ease.in_circular" />
		<mcwrappermethod name="ease.in_cubic" />
		<mcwrappermethod name="ease.in_elastic" />
		<mcwrappermethod name="ease.in_exponential" />
		<mcwrappermethod name="ease.in_out_back" />
		<mcwrappermethod name="ease.in_out_bounce" />
		<mcwrappermethod name="ease.in_out_circular" />
		<mcwrappermethod name="ease.in_out_cubic" />
		<mcwrappermethod name="ease.in_out_elastic" />
		<mcwrappermethod name="ease.in_out_exponential" />
		<mcwrappermethod name="ease.in_out_quadratic" />
		<mcwrappermethod name="ease.in_out_quartic" />
		<mcwrappermethod name="ease.in_out_quintic" />
		<mcwrappermethod name="ease.in_out_sine" />
		<mcwrappermethod name="ease.in_quadratic" />
		<mcwrappermethod name="ease.in_quartic" />
		<mcwrappermethod name="ease.in_quintic" />
		<mcwrappermethod name="ease.in_sine" />
		<mcwrappermethod name="ease.linear" />
		<mcwrappermethod name="ease.out_back" />
		<mcwrappermethod name="ease.out_bounce" />
		<mcwrappermethod name="ease.out_circular" />
		<mcwrappermethod name="ease.out_cubic" />
		<mcwrappermethod name="ease.out_elastic" />
		<mcwrappermethod name="ease.out_quadratic" />
		<mcwrappermethod name="ease.out_quartic" />
		<mcwrappermethod name="ease.out_quintic" />
		<mcwrappermethod name="ease.out_sine" />
		<mcwrappermethod name="exponential" />
		<mcwrappermethod name="generate" />
		<mcwrappermethod name="harmonic" />
		<mcwrappermethod name="increment" />
		<mcwrappermethod name="randomrange" />
		<mcwrappermethod name="replicatenvalues" />
		<mcwrappermethod name="replicatevalues" />
		<mcwrappermethod name="scaledexponential" />
		<mcwrappermethod name="setvalue" />
		<mcwrappermethod name="setvaluerange" />
		<mcwrappermethod name="smoothstep" />
		<mcwrappermethod name="spread" />
		<mcwrappermethod name="spreadexclusive" />
		<mcwrappermethod name="spreadincludefirst" />
		<mcwrappermethod name="spreadincludesecond" />
		<mcwrappermethod name="spreadinclusive" />
		<mcwrappermethod name="subharmonic" />
		<mcwrapperattr name="busymapname" />
		<mcwrapperattr name="bz" />
		<mcwrapperattr name="bzname" />
		<mcwrapperattr name="chans" />
		<mcwrapperattr name="fun" />
		<mcwrapperattr name="initialvalues" />
		<mcwrapperattr name="op" />
		<mcwrapperattr name="replicate" />
		<mcwrapperattr name="target" />
		<mcwrapperattr name="usebusymap" />
		<mcwrapperattr name="values" />
		<mcwrapperattr name="voiceprob" />
		<mcwrapperattr name="zero" />
	</mcwrapper>
</c74object>
