MDN self-hosted library · e01.org

AudioListener: upY property

Web Audio API

no runnable cells web-api-instance-property upstream source

Web Audio API

The upY read-only property of the AudioListener interface is an AudioParam representing the y 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 1, and it can range between positive and negative infinity.

Examples

See BaseAudioContext.createPanner() for example code.

Specifications

Browser compatibility

See also