<?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="delay~" category="Filter">
<!--METADATA-->
<metadatalist>
<metadata name="author">Cycling '74</metadata>
<metadata name="tag">RNBO</metadata>
<metadata name="tag">RNBO Delays</metadata>
</metadatalist>
<digest>Signal delay</digest>
<description><p>
Delay a signal by a specified number of samples.
</p></description>
<!--ARGUMENTS-->
<objarglist>
<objarg name="maxsize" optional="1" type="symbol">
<digest>size of delay buffer (samples)</digest>
<description><p>
Set maximum delay size in samples. This determines the amount of memory allocated to the delay line so it is advisable to use the smallest value needed. Note that this can be set using the samplerate or vectorsize operators to account for various audio settings. For example, 
<m>delay~ @maxsize samplerate*2</m>
 will create a 2 second delay line regardless of the samplerate of the audio card.
</p></description>
</objarg>
<objarg name="delay" optional="1" type="auto">
<digest>Delay time (samples or any time unit)</digest>
<description><p>
The amount of time in samples to delay the incoming signal before output. This value can be up to the maximum size defined by 
<m>maxsize</m>
 or 
<m>maxdelayms</m>
. If defined as an object-box attribute, time units can also be used.
</p></description>
</objarg>
<objarg name="ramp" optional="1" type="number">
<digest>crossfade time between different delay times (ms)</digest>
<description><p>
The time in milliseconds to crossfade between signals when the delay time value is changed (default = 50).
</p></description>
</objarg>
</objarglist>
<!--OPTIONS-->
<rnbooptionlist>
<option name="interp" size="1" type="enum">
<digest>interpolation mode</digest>
<attributelist>
<attribute name="enumvals">
<enumlist get="1" set="1" type="atom">
<enum name="linear"></enum>
<enum name="cubic"></enum>
<enum name="spline"></enum>
<enum name="cosine"></enum>
<enum name="step"></enum>
<enum name="none"></enum>
</enumlist>
</attribute>
<attribute name="default" type="enum" value="linear"></attribute>
</attributelist>
<description><p>
Sets the interpolation mode used for crossfading when the 
<m>ramp</m>
 attribute is >0.
</p></description>
</option>
<option name="maxdelayms" size="1" type="number">
<digest>size of delay buffer (ms)</digest>
<attributelist>
<attribute name="default" type="number" value="0"></attribute>
</attributelist>
<description><p>
Set maximum delay size in milliseconds. Note that this is independent of sample rate, which can result in a larger memory buffer than expected.
</p></description>
</option>
<option name="maxsize" size="1" type="symbol">
<digest>size of delay buffer (samples)</digest>
<attributelist>
<attribute name="default" type="symbol" value="samplerate"></attribute>
</attributelist>
<description><p>
Set maximum delay size in samples. This determines the amount of memory allocated to the delay line so it is advisable to use the smallest value needed. Note that this can be set using the samplerate or vectorsize operators to account for various audio settings. For example, 
<m>delay~ @maxsize samplerate*2</m>
 will create a 2 second delay line regardless of the samplerate of the audio card.
</p></description>
</option>
<option name="ramp" size="1" type="number">
<digest>crossfade time between different delay times (ms)</digest>
<attributelist>
<attribute name="default" type="number" value="50"></attribute>
</attributelist>
<description><p>
The time in milliseconds to crossfade between signals when the delay time value is changed (default = 50).
</p></description>
</option>
</rnbooptionlist>
<!--ATTRIBUTES-->
<rnboattributelist>
<attribute name="delay" size="1" type="auto">
<digest>Delay time (samples or any time unit)</digest>
<description><p>
The amount of time in samples to delay the incoming signal before output. This value can be up to the maximum size defined by 
<m>maxsize</m>
 or 
<m>maxdelayms</m>
. If defined as an object-box attribute, time units can also be used.
</p></description>
</attribute>
<attribute name="input" size="1" type="signal">
<digest>Signal to be delayed</digest>
<description><p>
The signal to be delayed.
</p></description>
</attribute>
</rnboattributelist>
<!--INLETS-->
<rnboinletlist>
<inlet id="inlet_input" name="input" type="signal">
<digest>Signal to be delayed</digest>
<description><p>
The signal to be delayed.
</p></description>
</inlet>
<inlet id="inlet_delay" name="delay" type="auto">
<digest>Delay time (samples or any time unit)</digest>
<description><p>
The amount of time in samples to delay the incoming signal before output. This value can be up to the maximum size defined by 
<m>maxsize</m>
 or 
<m>maxdelayms</m>
. If defined as an object-box attribute, time units can also be used.
</p></description>
</inlet>
</rnboinletlist>
<!--OUTLETS-->
<rnbooutletlist>
<outlet id="outlet_output" name="output" type="signal">
<digest>Delayed Output</digest>
<description><p>
The delayed signal.
</p></description>
</outlet>
</rnbooutletlist>
<!--SEE ALSO-->
<seealsolist>
<seealso name="delay~" type="refpage" module="MSP"></seealso>
<seealso name="rnbo_beatstosamps~" type="rnborefpage" module="RNBO" display="beatstosamps~"></seealso>
<seealso name="rnbo_delay" type="rnborefpage" module="RNBO" display="delay"></seealso>
<seealso name="rnbo_feedback~" type="rnborefpage" module="RNBO" display="feedback~"></seealso>
<seealso name="rnbo_hztosamps~" type="rnborefpage" module="RNBO" display="hztosamps~"></seealso>
<seealso name="rnbo_metro" type="rnborefpage" module="RNBO" display="metro"></seealso>
<seealso name="rnbo_mstosamps~" type="rnborefpage" module="RNBO" display="mstosamps~"></seealso>
<seealso name="rnbo_samplerate~" type="rnborefpage" module="RNBO" display="samplerate~"></seealso>
<seealso name="rnbo_tickstosamps~" type="rnborefpage" module="RNBO" display="tickstosamps~"></seealso>
<seealso name="rnbo_transport" type="rnborefpage" module="RNBO" display="transport"></seealso>
</seealsolist>
</c74object>