The parameter’s floating-point value. If a value is set outside the allowable range no exception is thrown, because these limits are nominal and may be exceeded. If a value is set during a time when there are any automation events scheduled then it will be ignored and no exception will be thrown.
var result = AudioParam.value; AudioParam.value = value;
Returns an object of type NumberNumber
var gainNode = audioCtx.createGain(); gainNode.gain.value = 0; //'gain' is the AudioParam
- W3C Web Audio API
- W3C Editor’s Draft