The positionY read-only property of the AudioListener interface is an AudioParam representing the y position of the listener in 3D cartesian space.

Note: The parameter is a-rate when used with a PannerNode whose PannerNode is set to equalpower, or k-rate otherwise.


var audioCtx = new AudioContext();
var myListener = audioCtx.listener;
myListener.positionY.value = 1;


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


See BaseAudioContext.createPanner() for example code.


Specification Status Comment
Web Audio API
The definition of 'positionY' in that specification.
Working Draft

Browser compatibility

BCD tables only load in the browser

See also