Skip to content
This repository has been archived by the owner on Jun 9, 2019. It is now read-only.

PannerNode

mohayonao edited this page Jan 27, 2015 · 4 revisions

Object > EventTarget > AudioNode > PannerNode

Properties

Inherits properties from its parent, AudioNode.

  • panningModel: enum { "equalpower", "HRTF" }
  • distanceModel: enum { "linear", "inverse", "exponential" }
  • refDistance: number
  • maxDistance: number
  • rolloffFactor: number
  • coneInnerAngle: number
  • coneOuterAngle: number
  • coneOuterGain: number

Methods

Inherits methods from its parent, AudioNode.

  • setPosition(x: number, y: number, z: number): void
  • setOrientation(x: number, y: number, z: number): void
  • setVelocity(x: number, y: number, z: number): void

Test API

Inherits test API from its parent, AudioNode.

JSON

{
  "name": "PannerNode",
  "panningModel": "HRTF",
  "distanceModel": "inverse",
  "refDistance": 1,
  "maxDistance": 10000,
  "rolloffFactor": 1,
  "coneInnerAngle": 360,
  "coneOuterAngle": 360,
  "coneOuterGain": 0,
  "inputs": []
}

References

Clone this wiki locally