DynamicsCompressorNode
Inherits properties from its parent, AudioNode.
Documentation DynamicsCompressorNode by Mozilla Contributors, licensed under CC-BY-SA 2.5.
Instance Members
threshold: AudioParamIs a k-rate AudioParam representing the decibel value above which the compression will start taking effect.
knee: AudioParamIs a k-rate AudioParam containing a decibel value representing the range above the threshold where the curve smoothly transitions to the compressed portion.
ratio: AudioParamIs a k-rate AudioParam representing the amount of change, in dB, needed in the input for a 1 dB change in the output.
reduction: FloatIs a float representing the amount of gain reduction currently applied by the compressor to the signal.
attack: AudioParamIs a k-rate AudioParam representing the amount of time, in seconds, required to reduce the gain by 10 dB.
release: AudioParamIs a k-rate AudioParam representing the amount of time, in seconds, required to increase the gain by 10 dB.
new(context: BaseAudioContext, ?options: Null<DynamicsCompressorOptions>): Void| Name | Type | Default |
|---|---|---|
context |
BaseAudioContext | |
options |
Null<DynamicsCompressorOptions> | (optional) |