DynamicsCompressorNode interface provides a compression effect, which lowers the volume of the loudest parts of the signal in order to help prevent clipping and distortion that can occur when multiple sounds are played and multiplexed together at once. This is often used in musical production and game audio.
DynamicsCompressorNode is an
AudioNode that has exactly one input and one output.
|Number of inputs||
|Number of outputs||
|Channel count mode||
Creates a new instance of an
Inherits properties from its parent,
floatrepresenting the amount of gain reduction currently applied by the compressor to the signal.
No specific methods; inherits methods from its parent,
BaseAudioContext.createDynamicsCompressor() example code.
|Web Audio API |
BCD tables only load in the browser