<?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.normalize~" module="msp" category="MSP Modifiers, Multichannel">
	<digest>
		Scale on the basis of maximum amplitude  (multichannel)
	</digest>
	<description>
		<o>normalize~</o> performs real-time normalization of its input by multiplying each input sample value by a scaling factor - computed as the maximum output value (sent either as a signal or a float in the right inlet) over the maximum signal input value received thus far.
	</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 Normalized
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="signal/float">
			<digest>
				(signal/float) Maximum Value of Output
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="signal">
			<digest>
				(signal) Normalized Output
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="initial-maximum-output-amplitude" optional="1" type="float">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				The initial maximum output amplitude. The default is 1.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="int">
			<arglist>
				<arg name="maximum-output-amplitude" optional="0" type="int" />
			</arglist>
			<digest>
				Converted to <m>float</m>.
			</digest>
			<description>
				Converted to <m>float</m>.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="maximum-output-amplitude" optional="0" type="float" />
			</arglist>
			<digest>
				In right inlet: The maximum output amplitude may be sent as a <m>float</m> instead of a <m>signal</m>.
			</digest>
			<description>
				In right inlet: The maximum output amplitude may be sent as a <m>float</m> instead of a <m>signal</m>. If a signal is connected to the right inlet, a <m>float</m> received in the right inlet is ignored.
			</description>
		</method>
		<method name="reset">
			<arglist>
				<arg name="maximum-input-amplitude" optional="0" type="float" />
			</arglist>
			<digest>
				In left inlet: The word <m>reset</m>, followed by a number, resets the maximum input amplitude to the number.
			</digest>
			<description>
				In left inlet: The word <m>reset</m>, followed by a number, resets the maximum input amplitude to the number. If no number follows <m>reset</m>, or if the number is 0, the maximum input amplitude is set to 0.000001.
			</description>
		</method>
		<method name="signal">
			<arglist />
			<digest>
				In left inlet: The input signal is normalized -- scaled so that its peak amplitude is equal to a specified maximum.
			</digest>
			<description>
				In left inlet: The input signal is normalized -- scaled so that its peak amplitude is equal to a specified maximum.
				<br />
				<br />
				In right inlet: The maximum output amplitude; an over-all scaling of the output.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="normalize~.png" caption="When precise scaling factor varies or is unknown, normalize~ sets peak amplitude" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="*~" />
		<seealso name="15_delaychapter02" module="msp" type="tutorial" />
	</seealsolist>
	<discussion>
		You can change the maximum input value with the <m>reset</m> message or with a float in the left input. If no argument follows &quot;reset&quot; the new maximum input value (and the initial maximum input value) is 0.000001.
	</discussion>
	<misc name="Output">
		<entry name="signal">
			<description>
				The input signal is scaled by the maximum output amplitude divided by the maximum input amplitude.
			</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>
