<?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="swanramp~" category="Filter">
<!--METADATA-->
<metadatalist>
<metadata name="author">Cycling '74</metadata>
<metadata name="tag">RNBO</metadata>
<metadata name="tag">RNBO Filters</metadata>
<metadata name="tag">RNBO Modifiers</metadata>
</metadatalist>
<digest>Switch-and-ramp click compensation</digest>
<description><p>
Performs click compensation using Miller Puckette's switch-and-ramp technique. When the right inlet receives a positive value, 
<o objname="rnbo_swanramp~">swanramp~</o>
 triggers a ramp that starts from the value of the last sample in the left inlet and goes down to zero over the number of samples specified. This ramp is mixed with the input signal to prevent clicks.
</p></description>
<!--ARGUMENTS-->
<objarglist>
<objarg name="trigger" optional="1" type="auto">
<digest>Positive values to trigger de-click ramp</digest>
<description><p>
A positive value in the left inlet will trigger the de-click ramp. A new ramp can be triggered even if a ramp is already in progress.
</p></description>
</objarg>
</objarglist>
<!--OPTIONS-->
<rnbooptionlist>
<option name="ramp" size="1" type="number">
<digest>Ramp time in samples</digest>
<attributelist>
<attribute name="default" type="number" value="100"></attribute>
</attributelist>
<description><p>
Sets the duration of the down ramp in samples.
</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="signal" size="1" type="auto">
<digest>Signal to de-click</digest>
<description><p>
The input signal that any de-click ramps will be mixed with.
</p></description>
</attribute>
<attribute name="trigger" size="1" type="auto">
<digest>Positive values to trigger de-click ramp</digest>
<description><p>
A positive value in the left inlet will trigger the de-click ramp. A new ramp can be triggered even if a ramp is already in progress.
</p></description>
</attribute>
</rnboattributelist>
<!--INLETS-->
<rnboinletlist>
<inlet id="inlet_signal" name="signal" type="auto">
<digest>Signal to de-click</digest>
<description><p>
The input signal that any de-click ramps will be mixed with.
</p></description>
</inlet>
<inlet id="inlet_trigger" name="trigger" type="auto">
<digest>Positive values to trigger de-click ramp</digest>
<description><p>
A positive value in the left inlet will trigger the de-click ramp. A new ramp can be triggered even if a ramp is already in progress.
</p></description>
</inlet>
</rnboinletlist>
<!--OUTLETS-->
<rnbooutletlist>
<outlet id="outlet_out1" name="out1" type="signal">
<digest>De-clicked signal</digest>
<description><p>
Outputs the incoming signal mixed with the de-click ramp.
</p></description>
</outlet>
</rnbooutletlist>
<!--SEE ALSO-->
<seealsolist>
<seealso name="rnbo_filtercoeff~" type="rnborefpage" module="RNBO" display="filtercoeff~"></seealso>
<seealso name="rnbo_allpass~" type="rnborefpage" module="RNBO" display="allpass~"></seealso>
<seealso name="rnbo_comb~" type="rnborefpage" module="RNBO" display="comb~"></seealso>
<seealso name="rnbo_cross~" type="rnborefpage" module="RNBO" display="cross~"></seealso>
<seealso name="rnbo_lores~" type="rnborefpage" module="RNBO" display="lores~"></seealso>
<seealso name="rnbo_reson~" type="rnborefpage" module="RNBO" display="reson~"></seealso>
<seealso name="rnbo_svf~" type="rnborefpage" module="RNBO" display="svf~"></seealso>
<seealso name="rnbo_onepole~" type="rnborefpage" module="RNBO" display="onepole~"></seealso>
</seealsolist>
</c74object>