release
Summary
The amount of time (in seconds) to increase the gain by 10dB. Its default value is 0.250, with a nominal range of 0 to 1. This parameter is k-rate.
Property of apis/webaudio/DynamicsCompressorNodeapis/webaudio/DynamicsCompressorNode
Syntax
Note: This property is read-only.
var result = DynamicsCompressorNode.release;
Return Value
Returns an object of type NumberNumber
Examples
var audioCtx = new AudioContext();
var compressor = audioCtx.createDynamicsCompressor();
compressor.release.value = 0.25;
Related specifications
- W3C Web Audio API
- W3C Editor’s Draft