<?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="zerox~" module="msp" category="MSP Analysis">
	<digest>
		Detect zero crossings
	</digest>
	<description>
		<o>zerox~</o> functions as a zero-crossing counter or transient detector.
	</description>
	<!--METADATA-->
	<metadatalist>
		<metadata name="author">
			Cycling '74
		</metadata>
		<metadata name="tag">
			MSP
		</metadata>
		<metadata name="tag">
			MSP Analysis
		</metadata>
	</metadatalist>
	<!--INLETS-->
	<inletlist>
		<inlet id="0" type="signal">
			<digest>
				(signal) Input
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
		<inlet id="1" type="signal">
			<digest>
			</digest>
			<description>
				TEXT_HERE
			</description>
		</inlet>
	</inletlist>
	<!--OUTLETS-->
	<outletlist>
		<outlet id="0" type="signal">
			<digest>
				(signal) Number of Zero-Crossings per Signal Vector
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
		<outlet id="1" type="signal">
			<digest>
				Clicks at Zero-Crossings
			</digest>
			<description>
				TEXT_HERE
			</description>
		</outlet>
	</outletlist>
	<!--ARGUMENTS-->
	<objarglist>
		<objarg name="click-volume" optional="1" type="float">
			<digest>
				Click output volume
			</digest>
			<description>
				Sets the output volume for the click sent out the right outlet. Volume values are in the range 0.0-1.0. The default value is 1.0.
			</description>
		</objarg>
	</objarglist>
	<!--MESSAGES-->
	<methodlist>
		<method name="set">
			<arglist>
				<arg name="output-volume (0.0 through 1.0)" optional="0" type="float" />
			</arglist>
			<digest>
				Set click output volume for the click
			</digest>
			<description>
				In left inlet: The word <m>set</m>, followed by a floating-point number in the range 0.0-1.0, sets the volume of the click (impulse) sent out the right outlet. The default value is 1.0.
			</description>
		</method>
		<method name="signal">
			<arglist />
			<digest>
				Signal to analyze
			</digest>
			<description>
				In left inlet: A signal to be analyzed.
			</description>
		</method>
	</methodlist>
	<!--ATTRIBUTES-->
	<!--EXAMPLE-->
	<examplelist>
		<example img="zerox~.png" caption="Use zerox~ to count zero-crossings on an input signal" />
	</examplelist>
	<!--SEEALSO-->
	<seealsolist>
		<seealso name="change~" />
		<seealso name="edge~" />
		<seealso name="spike~" />
	</seealsolist>
	<misc name="Output">
		<entry name="signal">
			<description>
				Out left outlet: A signal whose value corresponds to the number of zero-crossings per signal vector which were detected during the period of the last signal vector.
				<br />
				<br />
				Out right outlet: A click (impulse) whose volume is set by argument or by the <m>set</m> message is sent out the right outlet whenever a zero-crossing is detected.
			</description>
		</entry>
	</misc>
</c74object>
