AudioListener: forwardX property
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
The forwardX read-only property of the AudioListener interface is an AudioParam representing the x value of the direction vector defining the forward direction the listener is pointing in.
Note:
The parameter is a-rate when used with a PannerNode whose panningModel 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
See BaseAudioContext.createPanner() for example code.
Specifications
| Specification |
|---|
| Web Audio API> # dom-audiolistener-forwardx> |
Browser compatibility
Loading…