<?xml version='1.0' encoding='utf-8' standalone='yes'?>


<!-- DO NOT EDIT THIS FILE ... YOU WILL LOSE YOUR WORK -->


<c74object name='jit.mo.func' category='jit.mo,  Generators'>

	<digest>Generate animated single dim matrices using a specified function</digest>
	<description>Generate animated single dim matrices using a specified function. Similar in nature to a sound oscillator, jit.mo.func can generate time-varying cell values across a matrix based on a given function. </description>


	<!--METADATA-->

	<metadatalist>
		<metadata name='author'>Cycling '74 </metadata>
		<metadata name='tag'>jit.mo</metadata>
		<metadata name='tag'>Generators</metadata>
	</metadatalist>


	<!--ARGUMENTS-->

	<objarglist>

		<objarg name='Dimension' optional='1' type='number'>
			<digest>Set the dimension (number of elements) of the output matrix</digest>
			<description>Set the dimension (number of elements) of the output matrix. Will be overriden if to attached <o>jit.mo.join</o> object via the <at>join</at> attribute. jit.mo objects only support matrices with a dimcount of 1. </description>
		</objarg>

	</objarglist>


	<!--MESSAGES-->

	<methodlist>

		<method name='rand'>
			<digest>Generate new random values for <at>rand_amt</at> offset</digest>
			<description>Generate new random values for <at>rand_amt</at> offset. </description>
		</method>

	</methodlist>


	<!--ATTRIBUTES-->

	<attributelist>

		<attribute name='rand_amt' get='1' set='1' type='float64' size='1' >
			<digest>Scales the random offset value (default = 0.0)</digest>
			<description>Scales the random offset value (default = 0.0). </description>
		</attribute>

		<attribute name='start' get='1' set='1' type='float64' size='1' >
			<digest>Line function start (default = -1.0)</digest>
			<description>Line function start (default = -1.0). </description>
		</attribute>

		<attribute name='join' get='1' set='1' type='symbol' size='1' >
			<digest>Sets the <o>jit.mo.join</o> object binding</digest>
			<description>Sets the <o>jit.mo.join</o> object binding. When set, animation parameters are controlled by the named object. </description>
		</attribute>

		<attribute name='function' get='1' set='1' type='symbol' size='1' >
			<digest>The fuction type used for generating matrices</digest>
			<description>The fuction type used for generating matrices. Available functypes are line, sin, saw, tri, perlin </description>
		</attribute>

		<attribute name='delta' get='1' set='1' type='float64' size='1' >
			<digest>Frame delta time for animating graph (default = 0.0)</digest>
			<description>Frame delta time for animating graph (default = 0.0). When bound to <o>jit.mo.join</o> this value is set automatically. </description>
		</attribute>

		<attribute name='offset' get='1' set='1' type='float64' size='1' >
			<digest>Output offset (default = 0.0)</digest>
			<description>Output offset (default = 0.0). </description>
		</attribute>

		<attribute name='loop' get='1' set='1' type='long' size='1' >
			<digest>Enable and disable phase looping when animating (default = 1)</digest>
			<description>Enable and disable phase looping when animating (default = 1). Non-looped animation can be reset by setting phase to 0 </description>
		</attribute>

		<attribute name='phase' get='1' set='1' type='float64' size='1' >
			<digest>Output phase offset (default = 0.0)</digest>
			<description>Output phase offset (default = 0.0). </description>
		</attribute>

		<attribute name='period' get='1' set='1' type='long' size='1' >
			<digest>The period length for the perlin noise function (default = 8)</digest>
			<description>The period length for the perlin noise function (default = 8). </description>
		</attribute>

		<attribute name='scale' get='1' set='1' type='float64' size='1' >
			<digest>Output multiplier (default = 1.0)</digest>
			<description>Output multiplier (default = 1.0). </description>
		</attribute>

		<attribute name='end' get='1' set='1' type='float64' size='1' >
			<digest>Line function end (default = 1.0)</digest>
			<description>Line function end (default = 1.0). </description>
		</attribute>

		<attribute name='speed' get='1' set='1' type='float64' size='1' >
			<digest>Animation speed multiplier (default = 0.0)</digest>
			<description>Animation speed multiplier (default = 0.0). </description>
		</attribute>

		<attribute name='loopreport' get='1' set='1' type='long' size='1' >
			<digest>Enable animation loop reporting (default = 0)</digest>
			<description>Enable animation loop reporting (default = 0). When enabled the symbol loopnotify is sent out the dumpout when the animation loops. </description>
		</attribute>

		<attribute name='freq' get='1' set='1' type='float64' size='1' >
			<digest>Output frequency (default = 1.0)</digest>
			<description>Output frequency (default = 1.0). Number of times the function is repeated over the width of the matrix </description>
		</attribute>

	</attributelist>


	<!--RELATED-->

	<seealsolist>
		<seealso name='jit.mo.join' />
		<seealso name='jit.mo.field' />
		<seealso name='jit.mo.time' />
		<seealso name='jit.anim.drive' />
		<seealso name='jit.anim.path' />
	</seealsolist>


</c74object>
