W3cubDocs

/Haxe JavaScript

DynamicsCompressorNode

package js.html.audio

extends AudioNodeEventTarget

Available on js

Inherits properties from its parent, AudioNode.

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

See also:

Constructor

new(context:BaseAudioContext, ?options:Null<DynamicsCompressorOptions>)

Throws:

null

DOMError

Variables

read onlyattack:AudioParam

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

read onlyknee:AudioParam

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

read onlyratio:AudioParam

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

read onlyreduction:Float

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

read onlyrelease:AudioParam

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

read onlythreshold:AudioParam

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

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/audio/DynamicsCompressorNode.html