NoiseGate Node
The NoiseGate node suppresses audio signals below a certain threshold, reducing background noise and unwanted low-level sounds.
| Number of inputs | 1 |
| Number of outputs | 1 |
Configuration
This object does not provide any configuration options.
Properties
Inherits properties from its parent, SingleBusAudioProcessorNode.
openThresholdDB
Type: Float | Default: -40.0 | Range: -96.0 – 24.0
The signal level in dB above which the gate opens.
closeThresholdDB
Type: Float | Default: -49.0 | Range: -96.0 – 24.0
The signal level in dB below which the gate closes. Must be lower than openThresholdDB to provide hysteresis and prevent chatter at the threshold boundary.
attackTimeSeconds
Type: Float | Default: 0.005 | Range: 0.0 – 0.5
The duration in seconds for the gate to ramp from fully closed to fully open after the signal exceeds openThresholdDB.
holdTimeSeconds
Type: Float | Default: 0.2 | Range: 0.0 – 1.0
The duration in seconds the gate stays open after the signal drops below closeThresholdDB, before the release ramp begins.
releaseTimeSeconds
Type: Float | Default: 0.15 | Range: 0.0 – 1.0
The duration in seconds for the gate to ramp from fully open to fully closed after the hold time has elapsed.
enabled
Type: Boolean | Default: true
When false, the gate is bypassed and audio passes through unmodified.
isOpen (read-only)
Type: Boolean
true while the gate is opening or fully open, false while it is closing or closed.
Actions
Inherits actions from its parent, SingleBusAudioProcessorNode.
This object does not provide any additional actions.
Events
Inherits events from its parent, SingleBusAudioProcessorNode.
This object does not provide any events.