coneOuterGain
Summary
A parameter for directional audio sources, this is the amount of volume reduction outside of the coneOuterAngle. The default value is 0.
Property of apis/webaudio/PannerNodeapis/webaudio/PannerNode
Syntax
var result = PannerNode.coneOuterGain;
PannerNode.coneOuterGain = value;
Return Value
Returns an object of type NumberNumber
Examples
var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.coneOuterGain = 0;
Related specifications
- W3C Web Audio API
- W3C Editor’s Draft