This feature is not Baseline because it does not work in some of the most widely-used browsers.
The upZ read-only property of the AudioListener interface is an AudioParam representing the z 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.
An AudioParam. Its default value is 0, and it can range between positive and negative infinity.
See BaseAudioContext.createPanner() for example code.
| Specification |
|---|
| Web Audio API> # dom-audiolistener-upz> |
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Opera | Safari | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | WebView Android | WebView on iOS | |
upZ |
52 | 79 | NoSupports a deprecated way of setting orientation - thesetOrientation() method. |
39 | 14.1 | 52 | NoSupports a deprecated way of setting orientation - thesetOrientation() method. |
41 | 14.5 | 6.0 | 52 | 14.5 |
© 2005–2025 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/upZ