GO-V.ORG
As seen in

PannerNode: coneInnerAngle property

Web Audio API

Web Audio API

The `coneInnerAngle` property of the PannerNode interface is a double value describing the angle, in degrees, of a cone inside of which there will be no volume reduction.

The `coneInnerAngle` property's default value is `360`, suitable for a non-directional source.

## Value

A double.

## Examples

See [`PannerNode.orientationX`](/docs/Web/API/PannerNode/orientationX#example) for example code that demonstrates the effect on volume of changing the PannerNode orientation parameters in combination with `coneInnerAngle` and coneOuterAngle.

## Specifications

## Browser compatibility

## See also

- [Using the Web Audio API](/docs/Web/API/Web_Audio_API/Using_Web_Audio_API)
- [Web Audio spatialization basics](/docs/Web/API/Web_Audio_API/Web_audio_spatialization_basics)

source: MDN Web Docs mirror · page

Cite this

"PannerNode: coneInnerAngle property". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/coneInnerAngle

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·