<?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="dsptime~" module="msp" category="MSP System">
	<digest>
		Report milliseconds of audio processed
	</digest>
	<description>
		<o>dsptime~</o> reports the time in milliseconds since the audio was last turned on when triggered by a <m>bang</m>.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			MSP
		</metadata>
		<metadata name="tag">
			MSP System
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="INLET_TYPE">
			<digest>
				bang Reports Time
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="INLET_TYPE">
			<digest>
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="OUTLET_TYPE">
			<digest>
				Milliseconds of Samples Processed
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg id="0" name="OBJARG_NAME" type="OBJARG_TYPE" optional="0">
			<digest>
				TEXT_HERE
			</digest>
			<description>
				TEXT_HERE
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="bang">
			<arglist />
			<digest>
				Report the time in milliseconds since the audio was last turned on
			</digest>
			<description>
				When <o>dsptime~</o> receives a <m>bang</m>, it reports the number of milliseconds corresponding to the number of audio samples that have currently been processed.
			</description>
		</method>
		<method name="signal">
			<arglist />
			<digest>
				Report the time in milliseconds since the audio was last turned on
			</digest>
			<description>
				If a signal is connected to the <o>dsptime~</o> object's inlet, <o>dsptime~</o> reports the number of milliseconds corresponding to the number of audio samples that have currently been processed within the connected signal.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="dsptime~.png" caption="Shut audio processing off automatically after 40 seconds have been processed" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="adstatus" />
	</seealsolist>
	<misc name="Output">
		<entry name="float">
			<description>
				The number of milliseconds corresponding to the number of audio samples that have currently been processed. The value is based on the processed audio sample count, not the real time of the millisecond timer. This means you can use the <o>dsptime~</o> object as a sort of clock in conjunction with the NonRealTime audio driver.
			</description>
		</entry>
	</misc>
</c74object>
