<?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="rand~" module="msp" category="MSP Functions">
	<digest>
		Band-limited random signal
	</digest>
	<description>
		Use the <o>rand~</o> object to generate a signal consisting of random values between -1 and 1 generated at a frequency specified by its input. It interpolates linearly between these values.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			MSP
		</metadata>
		<metadata name="tag">
			MSP Functions
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="signal/float">
			<digest>
				(signal/float) Frequency
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="signal/float">
			<digest>
				(signal/float) Frequency
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="signal">
			<digest>
				(signal) The Noise Path
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="initial-frequency" optional="1" units="hz" type="number">
			<digest>
				Initial frequency
			</digest>
			<description>
				Sets the initial frequency. The default value is 0. If a signal is connected to the inlet, the argument is ignored.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="int">
			<arglist>
				<arg name="input" optional="0" type="int" />
			</arglist>
			<digest>
				Random number generation frequency
			</digest>
			<description>
				The frequency at which a new random number between -1 and 1 is generated. <o>rand~</o> interpolates linearly between random values chosen at the specified rate. If there is a signal connected to the inlet, the <m>int</m> is ignored.
			</description>
		</method>
		<method name="float">
			<arglist>
				<arg name="input" optional="0" type="float" />
			</arglist>
			<digest>
				Random number generation frequency
			</digest>
			<description>
				The frequency at which a new random number between -1 and 1 is generated. <o>rand~</o> interpolates linearly between random values chosen at the specified rate. If there is a signal connected to the inlet, the <m>float</m> is ignored.
			</description>
		</method>
		<method name="signal">
			<arglist />
			<digest>
				Random number generation frequency
			</digest>
			<description>
				The frequency at which a new random number between -1 and 1 is generated. <o>rand~</o> interpolates linearly between random values chosen at the specified rate.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="rand~.png" caption="Use rand~ to create roughly band-limited noise, or as a control signal to create random variation" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="line~" />
		<seealso name="noise~" />
		<seealso name="pink~" />
		<seealso name="15_delaychapter04" module="msp" type="tutorial" />
		<seealso name="15_delaychapter05" module="msp" type="tutorial" />
	</seealsolist>
	<misc name="Output">
		<entry name="signal">
			<description>
				A signal consisting of line segments between random values in the range -1 to 1. The random values occur at the frequency specified by the input.
			</description>
		</entry>
	</misc>
</c74object>
