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
Deprecated: Use AudioEffectHardLimiter instead.
Inherits: AudioEffect < Resource < RefCounted < Object
Adds a soft-clip limiter audio effect to an audio bus.
Description
A "limiter" is an audio effect designed to stop audio signals from exceeding a specified volume threshold level, and usually works by decreasing the volume or soft-clipping the audio. Adding one in the Master bus is always recommended to prevent clipping when the volume goes above 0 dB.
Soft clipping starts to decrease the peaks a little below the volume threshold level and progressively increases its effect as the input volume increases such that the threshold level is never exceeded.
If hard clipping is desired, consider AudioEffectDistortion.MODE_CLIP.
Tutorials
Properties
|
||
|
||
|
||
|
Property Descriptions
The waveform's maximum allowed value, in dB. Value can range from -20 to -0.1.
Modifies the volume of the limited waves, in dB. Value can range from 0 to 6.
float soft_clip_ratio = 10.0 🔗
This property has no effect on the audio. Use AudioEffectHardLimiter instead, as this Limiter effect is deprecated.
The volume threshold level from which the limiter begins to be active, in dB. Value can range from -30 to 0.