coneInnerAngle
Summary
A parameter for directional audio sources, this is an angle inside of which there will be no volume reduction. The default value is 360.
Property of apis/webaudio/PannerNodeapis/webaudio/PannerNode
Syntax
var result = PannerNode.coneInnerAngle;
PannerNode.coneInnerAngle = value;
Return Value
Returns an object of type NumberNumber
Examples
var audioCtx = new AudioContext();
var panner = audioCtx.createPanner();
panner.coneInnerAngle = 360;
Related specifications
- W3C Web Audio API
- W3C Editor’s Draft