2017-09-13 04:42:36 +08:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-06 16:08:05 +08:00
<class name= "AudioEffectDelay" inherits= "AudioEffect" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2017-09-13 04:42:36 +08:00
<brief_description >
2019-06-22 07:04:47 +08:00
Adds a delay audio effect to an audio bus. Plays input signal back after a period of time.
2017-09-17 00:47:19 +08:00
Two tap delay and feedback options.
2017-09-13 04:42:36 +08:00
</brief_description>
<description >
2017-09-17 00:47:19 +08:00
Plays input signal back after a period of time. The delayed signal may be played back multiple times to create the sound of a repeating, decaying echo. Delay effects range from a subtle echo effect to a pronounced blending of previous sounds with new sounds.
2017-09-13 04:42:36 +08:00
</description>
<tutorials >
2022-06-20 07:11:11 +08:00
<link title= "Audio buses" > $DOCS_URL/tutorials/audio/audio_buses.html</link>
2017-09-13 04:42:36 +08:00
</tutorials>
<members >
2019-06-29 18:38:01 +08:00
<member name= "dry" type= "float" setter= "set_dry" getter= "get_dry" default= "1.0" >
2019-06-29 21:24:23 +08:00
Output percent of original sound. At 0, only delayed sounds are output. Value can range from 0 to 1.
2017-09-13 04:42:36 +08:00
</member>
2022-08-22 17:26:47 +08:00
<member name= "feedback_active" type= "bool" setter= "set_feedback_active" getter= "is_feedback_active" default= "false" >
2019-06-29 21:24:23 +08:00
If [code]true[/code], feedback is enabled.
2017-09-13 04:42:36 +08:00
</member>
2022-08-22 17:26:47 +08:00
<member name= "feedback_delay_ms" type= "float" setter= "set_feedback_delay_ms" getter= "get_feedback_delay_ms" default= "340.0" >
2019-06-29 21:24:23 +08:00
Feedback delay time in milliseconds.
2017-09-13 04:42:36 +08:00
</member>
2022-08-22 17:26:47 +08:00
<member name= "feedback_level_db" type= "float" setter= "set_feedback_level_db" getter= "get_feedback_level_db" default= "-6.0" >
2023-08-01 16:52:37 +08:00
Sound level for feedback.
2017-09-13 04:42:36 +08:00
</member>
2022-08-22 17:26:47 +08:00
<member name= "feedback_lowpass" type= "float" setter= "set_feedback_lowpass" getter= "get_feedback_lowpass" default= "16000.0" >
2019-06-29 21:24:23 +08:00
Low-pass filter for feedback, in Hz. Frequencies below this value are filtered out of the source signal.
2017-09-13 04:42:36 +08:00
</member>
2022-08-22 17:26:47 +08:00
<member name= "tap1_active" type= "bool" setter= "set_tap1_active" getter= "is_tap1_active" default= "true" >
2023-08-01 16:52:37 +08:00
If [code]true[/code], the first tap will be enabled.
2017-09-13 04:42:36 +08:00
</member>
2022-08-22 17:26:47 +08:00
<member name= "tap1_delay_ms" type= "float" setter= "set_tap1_delay_ms" getter= "get_tap1_delay_ms" default= "250.0" >
2023-08-01 16:52:37 +08:00
First tap delay time in milliseconds.
2017-09-13 04:42:36 +08:00
</member>
2022-08-22 17:26:47 +08:00
<member name= "tap1_level_db" type= "float" setter= "set_tap1_level_db" getter= "get_tap1_level_db" default= "-6.0" >
2023-08-01 16:52:37 +08:00
Sound level for the first tap.
2017-09-13 04:42:36 +08:00
</member>
2022-08-22 17:26:47 +08:00
<member name= "tap1_pan" type= "float" setter= "set_tap1_pan" getter= "get_tap1_pan" default= "0.2" >
2023-08-01 16:52:37 +08:00
Pan position for the first tap. Value can range from -1 (fully left) to 1 (fully right).
2017-09-13 04:42:36 +08:00
</member>
2022-08-22 17:26:47 +08:00
<member name= "tap2_active" type= "bool" setter= "set_tap2_active" getter= "is_tap2_active" default= "true" >
2023-08-01 16:52:37 +08:00
If [code]true[/code], the second tap will be enabled.
2017-09-13 04:42:36 +08:00
</member>
2022-08-22 17:26:47 +08:00
<member name= "tap2_delay_ms" type= "float" setter= "set_tap2_delay_ms" getter= "get_tap2_delay_ms" default= "500.0" >
2023-08-01 16:52:37 +08:00
Second tap delay time in milliseconds.
2017-09-13 04:42:36 +08:00
</member>
2022-08-22 17:26:47 +08:00
<member name= "tap2_level_db" type= "float" setter= "set_tap2_level_db" getter= "get_tap2_level_db" default= "-12.0" >
2023-08-01 16:52:37 +08:00
Sound level for the second tap.
2017-09-13 04:42:36 +08:00
</member>
2022-08-22 17:26:47 +08:00
<member name= "tap2_pan" type= "float" setter= "set_tap2_pan" getter= "get_tap2_pan" default= "-0.4" >
2023-08-01 16:52:37 +08:00
Pan position for the second tap. Value can range from -1 (fully left) to 1 (fully right).
2017-09-13 04:42:36 +08:00
</member>
</members>
</class>