Web Audio API
The panningModel property of the PannerNode interface is an enumerated value determining which spatialization algorithm to use to position the audio in 3D space.
The possible values are:
equalpower: Represents the equal-power panning algorithm, generally regarded as simple and efficient.equalpoweris the default value.HRTF: Renders a stereo output of higher quality thanequalpower— it uses a convolution with measured impulse responses from human subjects.
Value
An enum — see PanningModelType.
Examples
See BaseAudioContext.createPanner() for example code.
Specifications
Browser compatibility
See also
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
