Noise Gate
Dynamic range gate
Libraries:
Audio Toolbox /
Dynamic Range Control
Description
The Noise Gate block performs dynamic range gating independently across each input channel. Dynamic range gating suppresses signals below a given threshold. The block uses specified attack, release, and hold times to achieve a smooth applied gain curve.
Examples
Ports
Input
Output
Parameters
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Algorithms
The Noise Gate block processes a signal frame by frame and element by element.
The N-point signal, x[n], is converted to magnitude:
xa[n] passes through the gain computer. The gain computer uses the static characteristic properties of the dynamic range gate to apply a brickwall gain for signal below the threshold:
Tlin is the threshold property converted to a linear domain:
The computed gain, gc[n], is smoothed using specified attack, release, and hold time parameters:
CA is the hold counter for attack. The limit, TH, is determined by the Hold time (s) parameter.
The attack time coefficient, αA, is calculated as
The release time coefficient, αR, is calculated as
TA is the attack time period, specified by the Attack time (s) parameter. T R is the release time period, specified by the Release time (s) parameter. Fs is the input sampling rate, specified by the Inherit sample rate from input or Input sample rate (Hz) parameter.
The output of the dynamic range gate is given as
References
[1] Giannoulis, Dimitrios, Michael Massberg, and Joshua D. Reiss. "Digital Dynamic Range Compressor Design –– A Tutorial And Analysis." Journal of Audio Engineering Society. Vol. 60, Issue 6, 2012, pp. 399–408.
Extended Capabilities
Version History
Introduced in R2016a