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...
AudioEffectLimiter¶
继承: AudioEffect < Resource < RefCounted < Object
为音频总线添加一个软剪辑限制器音频效果。
描述¶
限制器类似于压缩器,但灵活性较差,并且设计为不允许声音超过给定的 dB 阈值。始终建议在主总线中添加一个以减少削波的影响。
软削波开始将峰值降低到略低于阈值水平,并随着输入水平的增加而逐渐增强其效果,从而永不超过阈值。
教程¶
属性¶
|
||
|
||
|
||
|
属性说明¶
float ceiling_db = -0.1
波形的最大允许值,单位是分贝。数值范围从 -20 到 -0.1。
float soft_clip_db = 2.0
将增益应用于被限制的波,以分贝为单位。取值范围是 0 到 6。
float soft_clip_ratio = 10.0
目前没有这个属性的描述。请帮我们贡献一个!
float threshold_db = 0.0
限制器开始生效的阈值,以分贝为单位。值的范围可以从 -30 到 0。