<?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="latch~" category="Route">
<!--METADATA-->
<metadatalist>
<metadata name="author">Cycling '74</metadata>
<metadata name="tag">RNBO</metadata>
<metadata name="tag">RNBO Function</metadata>
<metadata name="tag">RNBO Route</metadata>
</metadatalist>
<digest>Conditionally pass or hold input</digest>
<description><p>
Latch an input signal based on the values
read from the right inlet. The latch is closed on initialization, resulting in an output
of 
<m>0</m>
. Once a non-zero value is provided to the right inlet, signals
from the left inlet are routed to the output until another zero value is sent to the right inlet.
</p></description>
<!--ARGUMENTS-->
<objarglist>
<objarg name="control" optional="1" type="auto">
<digest>Latch state</digest>
<description><p>
A zero value will close the latch while a 			non-zero value will open the latch.
</p></description>
</objarg>
</objarglist>
<!--OPTIONS-->
<!--NONE-->
<!--ATTRIBUTES-->
<rnboattributelist>
<attribute name="control" size="1" type="auto">
<digest>Latch state</digest>
<description><p>
A zero value will close the latch while a 			non-zero value will open the latch.
</p></description>
</attribute>
<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="x" size="1" type="auto">
<digest>Input to be latched</digest>

</attribute>
</rnboattributelist>
<!--INLETS-->
<rnboinletlist>
<inlet id="inlet_x" name="x" type="auto">
<digest>Input to be latched</digest>

</inlet>
<inlet id="inlet_control" name="control" type="auto">
<digest>Latch state</digest>
<description><p>
A zero value will close the latch while a 			non-zero value will open the latch.
</p></description>
</inlet>
</rnboinletlist>
<!--OUTLETS-->
<rnbooutletlist>
<outlet id="outlet_out1" name="out1" type="signal">
<digest>The latched output</digest>

</outlet>
</rnbooutletlist>
<!--SEE ALSO-->
<seealsolist>
<seealso name="rnbo_gate" type="rnborefpage" module="RNBO" display="gate"></seealso>
<seealso name="rnbo_gate~" type="rnborefpage" module="RNBO" display="gate~"></seealso>
<seealso name="rnbo_selector~" type="rnborefpage" module="RNBO" display="selector~"></seealso>
</seealsolist>
</c74object>