Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
AudioEffectDelay¶
Inherits: AudioEffect < Resource < RefCounted < Object
Adds a delay audio effect to an audio bus. Plays input signal back after a period of time.
Two tap delay and feedback options.
描述¶
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.
教程¶
属性¶
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Property Descriptions¶
float dry = 1.0
Output percent of original sound. At 0, only delayed sounds are output. Value can range from 0 to 1.
bool feedback_active = false
If true
, feedback is enabled.
float feedback_delay_ms = 340.0
Feedback delay time in milliseconds.
float feedback_level_db = -6.0
Sound level for feedback.
float feedback_lowpass = 16000.0
Low-pass filter for feedback, in Hz. Frequencies below this value are filtered out of the source signal.
bool tap1_active = true
If true
, the first tap will be enabled.
float tap1_delay_ms = 250.0
First tap delay time in milliseconds.
float tap1_level_db = -6.0
Sound level for the first tap.
float tap1_pan = 0.2
Pan position for the first tap. Value can range from -1 (fully left) to 1 (fully right).
bool tap2_active = true
If true
, the second tap will be enabled.
float tap2_delay_ms = 500.0
Second tap delay time in milliseconds.
float tap2_level_db = -12.0
Sound level for the second tap.
float tap2_pan = -0.4
Pan position for the second tap. Value can range from -1 (fully left) to 1 (fully right).