Firefox Tomorrow

web api instance property

AudioListener: upX property

View on MDN ↗

The upX read-only property of the AudioListener interface is an AudioParam representing the x value of the direction vector defining the up direction the listener is pointing in.

[!NOTE] The parameter is a-rate when used with a PannerNode whose PannerNode is set to equalpower, or k-rate otherwise.

Value

An AudioParam. Its default value is 0, and it can range between positive and negative infinity.

Examples

For more detailed example code see BaseAudioContext.createPanner().

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also