listener
Summary
An AudioListener, used for 3D spatialization.
Property of apis/webaudio/AudioContextapis/webaudio/AudioContext
Syntax
Note: This property is read-only.
var result = AudioContext.listener;
Return Value
Returns an object of type
AudioListener
Examples
var audioCtx = new AudioContext();
var myListener = audioCtx.listener;
Related specifications
- W3C Web Audio API
- W3C Editor’s Draft