Class reference
AudioEffectHardLimiter
Inherits AudioEffect
Adds a hard limiter audio effect to an Audio bus.
Description
A limiter is an effect designed to disallow sound from going over a given dB threshold. Hard limiters predict volume peaks, and will smoothly apply gain reduction when a peak crosses the ceiling threshold to prevent clipping and distortion. It preserves the waveform and prevents it from crossing the ceiling threshold. Adding one in the Master bus is recommended as a safety measure to prevent sudden volume peaks from occurring, and to prevent distortion caused by clipping.
Properties
float ceiling_db = -0.3
float ceiling_db = -0.3The waveform's maximum allowed value, in decibels. This value can range from -24.0 to 0.0. The default value of -0.3 prevents potential inter-sample peaks (ISP) from crossing over 0 dB, which can cause slight distortion on some older hardware.
float pre_gain_db = 0.0
float pre_gain_db = 0.0Gain to apply before limiting, in decibels.
float release = 0.1
float release = 0.1Time it takes in seconds for the gain reduction to fully release.