1. Web
  2. Web APIs
  3. PannerNode
  4. panningModel

PannerNode: panningModel property

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨July 2015⁩.

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.

Examples

See BaseAudioContext.createPanner() for example code.

Specifications

Specification
Web Audio API
# dom-pannernode-panningmodel

Browser compatibility

See also

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /