Back to Content

PannerNode: coneOuterAngle property

files/en-us/web/api/pannernode/coneouterangle/index.md

latest987 B
Original Source

{{ APIRef("Web Audio API") }}

The coneOuterAngle property of the {{ domxref("PannerNode") }} interface is a double value describing the angle, in degrees, of a cone outside of which the volume will be reduced by a constant value, defined by the {{domxref("PannerNode.coneOuterGain","coneOuterGain")}} property.

The coneOuterAngle property's default value is 0.

Value

A double.

Examples

See PannerNode.orientationX for example code that demonstrates the effect on volume of changing the {{domxref("PannerNode")}} orientation parameters in combination with {{domxref("PannerNode.coneInnerAngle", "coneInnerAngle")}} and coneOuterAngle.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also