<?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="change" category="Control">
<!--METADATA-->
<metadatalist>
<metadata name="author">Cycling '74</metadata>
<metadata name="tag">RNBO</metadata>
<metadata name="tag">RNBO Control</metadata>
</metadatalist>
<digest>Filter out repetitions</digest>
<description><p>
Output a list (or number) only if it is different from the last list received.
</p></description>
<!--ARGUMENTS-->
<objarglist>
<objarg name="input" optional="1" type="number">
<digest>Value to check for repetition</digest>
<description><p>
The value to check for repetition.
</p></description>
</objarg>
</objarglist>
<!--OPTIONS-->
<rnbooptionlist>
<option name="mode" size="1" type="enum">
<digest>Detection mode</digest>
<attributelist>
<attribute name="enumvals">
<enumlist get="1" set="1" type="atom">
<enum name="default"></enum>
<enum name="inc"></enum>
<enum name="dec"></enum>
</enumlist>
</attribute>
<attribute name="default" type="enum" value="default"></attribute>
</attributelist>
<description><p>
Sets the detection mode. By default (0) the left outlet outputs a value if it is different than the previous value. When set to inc, outputs a value of 1 only when the incoming value is greater than the previous value. When set to dec, outputs a value of -1 if incoming value is less than previous value.
</p></description>
</option>
</rnbooptionlist>
<!--ATTRIBUTES-->
<rnboattributelist>
<attribute name="input" size="1" type="number">
<digest>Value to check for repetition</digest>
<description><p>
The value to check for repetition.
</p></description>
</attribute>
<attribute name="reset" size="1" type="bang">
<digest>reset</digest>

</attribute>
</rnboattributelist>
<!--INLETS-->
<rnboinletlist>
<inlet id="inlet_input" name="input" type="number">
<digest>Value to check for repetition</digest>
<description><p>
The value to check for repetition.
</p></description>
</inlet>
</rnboinletlist>
<!--OUTLETS-->
<rnbooutletlist>
<outlet id="outlet_out" name="out" type="number">
<digest>Input if it has changed</digest>
<description><p>
Outputs the incoming value if the incoming value is different from the last received value.
</p></description>
</outlet>
<outlet id="outlet_nonzero" name="nonzero" type="number">
<digest>Zero to non-zero</digest>
<description><p>
Outputs a value of 1 any time the incoming value transitions from zero to non-zero.
</p></description>
</outlet>
<outlet id="outlet_zero" name="zero" type="number">
<digest>Non-zero to zero</digest>
<description><p>
Outputs a value of 1 any time the incoming value transitions from non-zero to zero.
</p></description>
</outlet>
</rnbooutletlist>
<!--SEE ALSO-->
<seealsolist>
<seealso name="change" type="refpage" module="Max"></seealso>
<seealso name="rnbo_change~" type="rnborefpage" module="RNBO" display="change~"></seealso>
<seealso name="rnbo_edge~" type="rnborefpage" module="RNBO" display="edge~"></seealso>
<seealso name="rnbo_thresh" type="rnborefpage" module="RNBO" display="thresh"></seealso>
<seealso name="rnbo_list.change" type="rnborefpage" module="RNBO" display="list.change"></seealso>
</seealsolist>
</c74object>