DynamicsCompressorNode

js.html.EventTargetAudioNodejs.html.audio.DynamicsCompressorNode (extern class)

Inherits properties from its parent, AudioNode.

Documentation DynamicsCompressorNode by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Instance Members

threshold: AudioParam

Is a k-rate AudioParam representing the decibel value above which the compression will start taking effect.


Is a k-rate AudioParam containing a decibel value representing the range above the threshold where the curve smoothly transitions to the compressed portion.


Is a k-rate AudioParam representing the amount of change, in dB, needed in the input for a 1 dB change in the output.


reduction: Float

Is a float representing the amount of gain reduction currently applied by the compressor to the signal.


attack: AudioParam

Is a k-rate AudioParam representing the amount of time, in seconds, required to reduce the gain by 10 dB.


release: AudioParam

Is a k-rate AudioParam representing the amount of time, in seconds, required to increase the gain by 10 dB.


Name Type Default
context BaseAudioContext
options Null<DynamicsCompressorOptions> (optional)