Skip to content

AudioEffectDelay

Inherits: AudioEffect < Resource < RefCounted < Object

Adds a delay audio effect to an audio bus.

Emulates an echo by playing the input audio back after a period of time.

A “delay” effect plays the input audio signal back after a period of time. Each repetition is called a “delay tap” or simply “tap”. Delay taps may be played back multiple times to create the sound of a repeating, decaying echo. Delay effects range from a subtle echo to a pronounced blending of previous sounds with new sounds.

See also AudioEffectReverb for a blurry, continuous echo.

Type Name Default
float dry 1.0
bool feedback_active false
float feedback_delay_ms 340.0
float feedback_level_db -6.0
float feedback_lowpass 16000.0
bool tap1_active true
float tap1_delay_ms 250.0
float tap1_level_db -6.0
float tap1_pan 0.2
bool tap2_active true
float tap2_delay_ms 500.0
float tap2_level_db -12.0
float tap2_pan -0.4

dry

float dry = 1.0

The volume ratio of the original audio. Value can range from 0 to 1.

feedback_active

bool feedback_active = false

If true, feedback is enabled, repeating taps after they are played.

feedback_delay_ms

float feedback_delay_ms = 340.0

Feedback delay time in milliseconds. Value can range from 0 to 1500.

feedback_level_db

float feedback_level_db = -6.0

Gain for feedback, in dB. Value can range from -60 to 0.

feedback_lowpass

float feedback_lowpass = 16000.0

Low-pass filter for feedback, in Hz. Frequencies above this value are filtered out. Value can range from 1 to 16000.

tap1_active

bool tap1_active = true

If true, the first tap will be enabled.

tap1_delay_ms

float tap1_delay_ms = 250.0

First tap delay time in milliseconds, compared to the original audio. Value can range from 0 to 1500.

tap1_level_db

float tap1_level_db = -6.0

Gain for the first tap, in dB. Value can range from -60 to 0.

tap1_pan

float tap1_pan = 0.2

Pan position for the first tap. Negative values pan the sound to the left, positive pan to the right. Value can range from -1 to 1.

tap2_active

bool tap2_active = true

If true, the second tap will be enabled.

tap2_delay_ms

float tap2_delay_ms = 500.0

Second tap delay time in milliseconds, compared to the original audio. Value can range from 0 to 1500.

tap2_level_db

float tap2_level_db = -12.0

Gain for the second tap, in dB. Value can range from -60 to 0.

tap2_pan

float tap2_pan = -0.4

Pan position for the second tap. Negative values pan the sound to the left, positive pan to the right. Value can range from -1 to 1.