GO-V.ORG
As seen in

PannerNode: panningModel property

Web Audio API

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. `equalpower` is the default value.
- `HRTF`: Renders a stereo output of higher quality than `equalpower` — it uses a convolution with measured impulse responses from human subjects.

## Value

An enum — see [`PanningModelType`](https://webaudio.github.io/web-audio-api/#idl-def-PanningModelType).

## Examples

See [`BaseAudioContext.createPanner()`](/docs/Web/API/BaseAudioContext/createPanner#examples) for example code.

## Specifications

## Browser compatibility

## See also

- [Using the Web Audio API](/docs/Web/API/Web_Audio_API/Using_Web_Audio_API)

source: MDN Web Docs mirror · page

Cite this

"PannerNode: panningModel property". MDN Web Docs. CC BY-SA 2.5 (MDN). https://developer.mozilla.org/en-US/docs/Web/API/PannerNode/panningModel

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·