Inherits properties from its parent, audio.AudioNode
.
Inherits properties from its parent, `audio.AudioNode`.
(attack this)
Property.
An audio.AudioParam
.
var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.attack.value = 0;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/attack
Property. An `audio.AudioParam`. `var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.attack.value = 0;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/attack`
Constructor.
The DynamicsCompressorNode() constructor creates a new web.DynamicsCompressorNode
object which provides a compression effect, which lowers the volume of the loudest parts of the signal
context
A reference to an audio.AudioContext
.
options Optional
Options are as follows:
attack: The amount of time (in seconds) to reduce the gain by 10dB. Its default value is 0.003. This parameter is k-rate. Its nominal range is [0, 1]. knee: A decibel value representing the range above the threshold where the curve smoothly transitions to the "ratio" portion. Its default value is 30. This parameter is k-rate. Its nominal range is [0, 40]. ratio: The amount of dB change in input for a 1 dB change in output. Its default value is 12. This parameter is k-rate. Its nominal range is [1, 20]. release: The amount of time (in seconds) to increase the gain by 10dB. Its default value is 0.250. This parameter is k-rate. Its nominal range is [0, 1]. threshold: The decibel value above which the compression will start taking effect. Its default value is -24. This parameter is k-rate. Its nominal range is [-100, 0].
See also: https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/DynamicsCompressorNode
Constructor. The DynamicsCompressorNode() constructor creates a new `web.DynamicsCompressorNode` object which provides a compression effect, which lowers the volume of the loudest parts of the signal context A reference to an `audio.AudioContext`. options Optional Options are as follows: attack: The amount of time (in seconds) to reduce the gain by 10dB. Its default value is 0.003. This parameter is k-rate. Its nominal range is [0, 1]. knee: A decibel value representing the range above the threshold where the curve smoothly transitions to the \"ratio\" portion. Its default value is 30. This parameter is k-rate. Its nominal range is [0, 40]. ratio: The amount of dB change in input for a 1 dB change in output. Its default value is 12. This parameter is k-rate. Its nominal range is [1, 20]. release: The amount of time (in seconds) to increase the gain by 10dB. Its default value is 0.250. This parameter is k-rate. Its nominal range is [0, 1]. threshold: The decibel value above which the compression will start taking effect. Its default value is -24. This parameter is k-rate. Its nominal range is [-100, 0]. See also: `https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/DynamicsCompressorNode`
(knee this)
Property.
An audio.AudioParam
.
var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.knee.value = 40;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/knee
Property. An `audio.AudioParam`. `var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.knee.value = 40;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/knee`
(ratio this)
Property.
An audio.AudioParam
.
var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.ratio.value = 12;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/ratio
Property. An `audio.AudioParam`. `var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.ratio.value = 12;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/ratio`
(reduction this)
Property.
The reduction read-only property of the web.DynamicsCompressorNode
is a float representing the amount of gain reduction currently
by the compressor to the signal.
var myReduction = compressorNodeInstance.reduction;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/reduction
Property. The reduction read-only property of the `web.DynamicsCompressorNode` is a float representing the amount of gain reduction currently by the compressor to the signal. `var myReduction = compressorNodeInstance.reduction;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/reduction`
(release this)
Property.
An audio.AudioParam
.
var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.release.value = 0.25;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/release
Property. An `audio.AudioParam`. `var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.release.value = 0.25;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/release`
(set-attack! this val)
Property.
An audio.AudioParam
.
var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.attack.value = 0;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/attack
Property. An `audio.AudioParam`. `var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.attack.value = 0;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/attack`
(set-knee! this val)
Property.
An audio.AudioParam
.
var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.knee.value = 40;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/knee
Property. An `audio.AudioParam`. `var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.knee.value = 40;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/knee`
(set-ratio! this val)
Property.
An audio.AudioParam
.
var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.ratio.value = 12;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/ratio
Property. An `audio.AudioParam`. `var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.ratio.value = 12;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/ratio`
(set-reduction! this val)
Property.
The reduction read-only property of the web.DynamicsCompressorNode
is a float representing the amount of gain reduction currently
by the compressor to the signal.
var myReduction = compressorNodeInstance.reduction;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/reduction
Property. The reduction read-only property of the `web.DynamicsCompressorNode` is a float representing the amount of gain reduction currently by the compressor to the signal. `var myReduction = compressorNodeInstance.reduction;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/reduction`
(set-release! this val)
Property.
An audio.AudioParam
.
var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.release.value = 0.25;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/release
Property. An `audio.AudioParam`. `var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.release.value = 0.25;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/release`
(set-threshold! this val)
Property.
An audio.AudioParam
.
var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.threshold.value = -50;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/threshold
Property. An `audio.AudioParam`. `var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.threshold.value = -50;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/threshold`
(threshold this)
Property.
An audio.AudioParam
.
var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.threshold.value = -50;
See also: https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/threshold
Property. An `audio.AudioParam`. `var audioCtx = new AudioContext(); var compressor = audioCtx.createDynamicsCompressor(); compressor.threshold.value = -50;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/DynamicsCompressorNode/threshold`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close