<?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="frameaccum~" module="msp" category="MSP FFT">
	<digest>
		Compute &quot;running phase&quot; of successive phase deviation frames
	</digest>
	<description>
		<o>frameaccum~</o> computes a running phase by keeping a sum of the values in each position of its incoming signal vectors. When used inside a <o>pfft~</o> object, it can keep a running phase of the FFT because the FFT size is equal to the signal vector size.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			MSP
		</metadata>
		<metadata name="tag">
			MSP FFT
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="signal">
			<digest>
				(signal) Input FFT Phase Deviation
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="signal">
			<digest>
				(signal) No Right Inlet
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="signal">
			<digest>
				(signal) FFT Running Phase Output
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="phasewrap-flag (0 or nonzero)" optional="1" type="int">
			<digest>
				Phase-wrap accumulated values
			</digest>
			<description>
				A non-zero integer argument will cause the accumulated values to be wrapped between -π and π. This optional feature is to reduce roundoff error when using <o>frameaccum~</o> to accumulate phase values. When the argument is set to one. <o>frameaccum~</o> object performs a phase warping (like the <o>phasewrap~</o> object). It is more efficient to use the non-zero argument than to use a combination of <o>frameaccum~</o> and <o>phasewrap~</o> objects.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="signal">
			<arglist />
			<digest>
				Input signal to be accumulated
			</digest>
			<description>
				The input to be accumulated.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="frameaccum~.png" caption="frameaccum~ computes the running phase between frames of spectral data" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="framedelta~" />
		<seealso name="14_analysischapter04" module="msp" type="tutorial" />
	</seealsolist>
	<misc name="Output">
		<entry name="signal">
			<description>
				For each signal vector, the first sample of its output will be the sum of all of the first samples in each signal vector it has received, the second sample of its output will be the sum of all the second samples in each signal vector, and so on.
			</description>
		</entry>
	</misc>
</c74object>
