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
继承: AudioEffect < Resource < RefCounted < Object
为音频总线添加延迟音频效果。在一段时间后回放输入信号。
两个节拍延迟和反馈选项。
描述
在一段时间后回放输入信号。延迟的信号可以多次回放,以产生重复、衰减的回声。延迟效果的范围是从微弱回声效果到明显的以前声音和新声音的混合。
教程
属性
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
属性说明
原始声音的输出百分比。为 0 时,只输出延迟的声音。取值范围为 0 到 1。
bool feedback_active = false
🔗
如果为 true
,则启用反馈。
float feedback_delay_ms = 340.0
🔗
反馈延迟时间,单位为毫秒。
float feedback_level_db = -6.0
🔗
反馈的声级。
float feedback_lowpass = 16000.0
🔗
反馈的低通滤波器,单位为 Hz。低于此值的频率会被源信号过滤掉。
如果为 true
,将启用第一拍。
第一拍延迟时间,单位为毫秒。
第一拍的声级。
第一拍的声像位置。取值范围为 -1(完全向左)到 1(完全向右)。
如果为 true
,将启用第二拍。
第二拍的延迟时间,单位为毫秒。
第二拍的声级。
第二拍的声像位置。取值范围为 -1(完全向左)到 1(完全向右)。