AudioListener: upX property
Web Audio API
Web Audio API
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()`](/docs/Web/API/BaseAudioContext/createPanner#examples).
## Specifications
## Browser compatibility
## See also
- [Using the Web Audio API](/docs/Web/API/Web_Audio_API/Using_Web_Audio_API)
Cite this
"AudioListener: upX property". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/API/AudioListener/upX JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy