Class reference
AudioEffectNoiseGate
Inherits AudioEffect
Adds a noise gate filter to the audio bus.
Description
Attenuates or silences sound above threshold_db.
Properties
float attack_ms = 10.0
How long, in milliseconds, the gate takes to approach fully open, once the incoming sound gets loud enough to pass the threshold_db. Short values let the start of a sound through almost instantly. Longer values soften or clip the beginning of each sound.
float attenuation_db = -60.0
How much to attenuate (lower the volume) any audio lower than threshold_db. -80 silences completely.
bool invert = false
Flips the behavior. Attenuates audio higher than threshold_db.
float release_ms = 200.0
How long, in milliseconds, the gate takes to fully close once the incoming sound drops back below the threshold_db. Short values shut the gate quickly. Longer values let the tail of a sound fade out naturally instead of cutting off abruptly.
float threshold_db = -40.0
The volume level, in decibels, that separates wanted sound from unwanted noise. Audio louder than this level opens the gate and passes through, while quieter audio is reduced by the attenuation_db. Values closer to 0 require louder sound to open the gate, and more negative values let quieter sounds through.