StereoPannerNode: pan property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since April 2021.

We'd love to hear more about your role and the company you work for
Please help us by answering a few questions.

The pan property of the StereoPannerNode interface is an a-rate AudioParam representing the amount of panning to apply. The value can range between -1 (full left pan) and 1 (full right pan).

Value

An a-rate AudioParam containing the panning to apply.

Note: Though the AudioParam returned is read-only, the value it represents is not.

Examples

Specifications

Specification
Web Audio API
# dom-stereopannernode-pan

Browser compatibility

See also