<?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="onebang" category="Control">
<!--METADATA-->
<metadatalist>
<metadata name="author">Cycling '74</metadata>
<metadata name="tag">RNBO</metadata>
<metadata name="tag">RNBO Control</metadata>
</metadatalist>
<digest>Gate bangs using a bang</digest>
<description><p>
Allows a bang in the left inlet to pass through ONLY if a bang has been received in the right inlet. After that, a bang in the left inlet will not get through again until a bang has been received again in the right inlet.
</p></description>
<!--ARGUMENTS-->
<objarglist>
<objarg name="initial" optional="1" type="number">
<digest>Set initialization state</digest>

</objarg>
</objarglist>
<!--OPTIONS-->
<!--NONE-->
<!--ATTRIBUTES-->
<rnboattributelist>
<attribute name="initial" size="1" type="number">
<digest>Set initialization state</digest>
<attributelist>
<attribute name="default" type="number" value="0"></attribute>
</attributelist>

</attribute>
<attribute name="input" size="1" type="bang">
<digest>Bang to be passed through</digest>
<description><p>
A bang in the left inlet will be passed to the left outlet only if it is the first bang after the right inlet receives a bang. Else it will be passed to the right outlet.
</p></description>
</attribute>
<attribute name="reset" size="1" type="bang">
<digest>Bang or non-zero number to permit bang to be passed to left outlet</digest>
<description><p>
A bang in the right inlet will allow the next bang in the left inlet to be passed to the left outlet.
</p></description>
</attribute>
</rnboattributelist>
<!--INLETS-->
<rnboinletlist>
<inlet id="inlet_input" name="input" type="bang">
<digest>Bang to be passed through</digest>
<description><p>
A bang in the left inlet will be passed to the left outlet only if it is the first bang after the right inlet receives a bang. Else it will be passed to the right outlet.
</p></description>
</inlet>
<inlet id="inlet_reset" name="reset" type="bang">
<digest>Bang or non-zero number to permit bang to be passed to left outlet</digest>
<description><p>
A bang in the right inlet will allow the next bang in the left inlet to be passed to the left outlet.
</p></description>
</inlet>
</rnboinletlist>
<!--OUTLETS-->
<rnbooutletlist>
<outlet id="outlet_out1" name="out1" type="bang">
<digest>Allowed bang</digest>
<description><p>
Outputs a bang whenever the left inlet is banged after the right inlet.
</p></description>
</outlet>
<outlet id="outlet_out2" name="out2" type="bang">
<digest>All other bangs</digest>
<description><p>
Outputs all bangs from the left inlet that are not preceded by a bang in the right inlet.
</p></description>
</outlet>
</rnbooutletlist>
<!--SEE ALSO-->
<seealsolist>
<seealso name="onebang" type="refpage" module="Max"></seealso>
<seealso name="rnbo_change" type="rnborefpage" module="RNBO" display="change"></seealso>
<seealso name="rnbo_gate" type="rnborefpage" module="RNBO" display="gate"></seealso>
</seealsolist>
</c74object>