e01.org

AudioListener: upY property

Web Audio API

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()`](/docs/Web/API/BaseAudioContext/createPanner#examples) for example code.

## Specifications

## Browser compatibility

## See also

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

source: MDN Web Docs mirror · page

Cite this

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

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

Save to pass ·