<?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.-->
<c74object module="rnbo" kind="rnboobject" name="gatetotrig~" category="">
<!--METADATA-->
<metadatalist>
<metadata name="author">Cycling '74</metadata>
</metadatalist>
<digest>A gate to trigger operator.</digest>
<description><p>
A signal rate gate to trigger operator.
Produces a A single sample  after transition from zero or less to greater than zero (pos) or  greater than zero to less or equal transition (neg).
</p></description>
<!--ARGUMENTS-->
<objarglist>
<objarg name="val" optional="1" type="auto">
<digest>The input value or signal to convert</digest>
<description><p>
A bipolar input value or signal transitioning across zero can be used to trigger a single sample impulse. The @edge option sets the direction. Optionally, the initial value can be set as the argument.
</p></description>
</objarg>
</objarglist>
<!--OPTIONS-->
<rnbooptionlist>
<option name="edge" size="1" type="enum">
<digest>The edge to trigger on. Note: a negative edge trigger will be 1 sample late.</digest>
<attributelist>
<attribute name="enumvals">
<enumlist get="1" set="1" type="atom">
<enum name="pos"></enum>
<enum name="neg"></enum>
</enumlist>
</attribute>
<attribute name="default" type="enum" value="pos"></attribute>
</attributelist>
<description><p>
The @edge attribute sets the trigger transition direction.
</p>
<ul>
<li>0 = positive (default)</li>
<li>1 = negative</li>
</ul>
<p>
Note: 
<i>a negative edge trigger will be 1 sample late</i>
</p></description>
</option>
</rnbooptionlist>
<!--ATTRIBUTES-->
<rnboattributelist>
<attribute name="reset" size="1" type="bang">
<digest>Banging this attribute will reset the object to its default state.</digest>
<attributelist>
<attribute name="default" type="bang" value="0"></attribute>
</attributelist>

</attribute>
<attribute name="val" size="1" type="auto">
<digest>The input value or signal to convert</digest>
<description><p>
A bipolar input value or signal transitioning across zero can be used to trigger a single sample impulse. The @edge option sets the direction. Optionally, the initial value can be set as the argument.
</p></description>
</attribute>
</rnboattributelist>
<!--INLETS-->
<rnboinletlist>
<inlet id="inlet_val" name="val" type="auto">
<digest>The input value or signal to convert</digest>
<description><p>
A bipolar input value or signal transitioning across zero can be used to trigger a single sample impulse. The @edge option sets the direction. Optionally, the initial value can be set as the argument.
</p></description>
</inlet>
</rnboinletlist>
<!--OUTLETS-->
<rnbooutletlist>
<outlet id="outlet_out1" name="out1" type="signal">
<digest>A single sample impulse</digest>
<description><p>
Outputs a 1.0 as a signal only when a transition is detected, otherwise outputs a zero.
By default, only triggers on a positive transition.
</p></description>
</outlet>
</rnbooutletlist>
<!--SEE ALSO-->
<seealsolist>
<seealso name="rnbo_delta~" type="rnborefpage" module="RNBO" display="delta~"></seealso>
<seealso name="rnbo_edge~" type="rnborefpage" module="RNBO" display="edge~"></seealso>
<seealso name=">=~" type="refpage" module="MSP"></seealso>
</seealsolist>
</c74object>