gain
Summary
Used in different ways by the various types. Defaults to 0, with a nominal range of -40 to 40. This parameter is k-rate.
Property of apis/webaudio/BiquadFilterNodeapis/webaudio/BiquadFilterNode
Syntax
Note: This property is read-only.
var result = BiquadFilterNode.gain;
Examples
var audioCtx = new AudioContext();
var biquadFilter = audioCtx.createBiquadFilter();
biquadfilter.gain.value = 25;
Related specifications
- W3C Web Audio API
- W3C Editor’s Draft