<?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="phaseshift~" module="msp" category="MSP Filters">
	<digest>
		Distort the phase of a signal
	</digest>
	<description>
		The <o>phaseshift~</o> object is a 2nd-order allpass filter.
	</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>
				(signal/float) Frequency
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="2" type="signal/float">
			<digest>
				(signal/float) Q
			</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="frequency" optional="1" type="number">
			<digest>
				Center frequency of the phase transition band
			</digest>
		</objarg>
		<objarg name="q" optional="1" type="number">
			<digest>
				Q (bandwidth) of the phase transition band
			</digest>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="float">
			<arglist>
				<arg name="frequency/Q" optional="0" type="float" />
			</arglist>
			<digest>
				Function depends on inlet
			</digest>
			<description>
				Middle inlet: frequency at which signals will be shifted by 180 degrees
				<br />
				<br />
				Right inlet: &quot;Q&quot; factor (steepness with which the phase shifts from 0 to 360 degrees)
			</description>
		</method>
		<method name="clear">
			<arglist />
			<digest>
				Reset filter state to zero internal feedback
			</digest>
			<description>
				TEXT_HERE
			</description>
		</method>
		<method name="signal">
			<arglist />
			<digest>
				Function depends on inlet
			</digest>
			<description>
				Left inlet: the signal to be shifted in phase
				<br />
				<br />
				Middle inlet: frequency at which signals will be shifted by 180 degrees
				<br />
				<br />
				Right inlet: &quot;Q&quot; factor (steepness with which the phase shifts from 0 to 360 degrees)
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="phaseshift~.png" caption="Simulate an analog phase shifter using phaseshift~ and an LFO" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="allpass~" />
		<seealso name="comb~" />
	</seealsolist>
	<discussion>
		The <o>phaseshift~</o> object provides a nonlinear delay time as a function of input frequency, emulating the phase shift elements found in analog phase shifter effects. Cascade several <o>phaseshift~</o> objects to create a more dramatic effect. Since phase shifting by itself is inaudible in most circumstances, usually you'll want to mix the output of <o>phaseshift~</o> with its input signal, so that frequency cancellations occur as the delayed signal is added to the original signal.
	</discussion>
	<misc name="Output">
		<entry name="signal">
			<description>
				The input signal, its the frequency components or harmonics shifted in phase from zero to 360 degrees, dependent upon their frequency and the values of the object's frequency and Q parameters.
			</description>
		</entry>
	</misc>
</c74object>
