Reference p5.Panner3D

p5.Panner3D

A 3D sound spatializer.

Examples

Fields

panner

Web Audio Spatial Panner Node

Properties include
Panning Model : "equal power" or "HRTF"
DistanceModel : "linear", "inverse", or "exponential"

Methods

process
Connects an input source to the 3D panner.
set
Set the x, y, and z position of the 3D panner.
positionX
Set the X position of the sound source.
positionY
Set the Y position of the sound source.
positionZ
Set the Z position of the sound source.
orient

Set the X,Y,Z position of the Panner

orientX

Getter and setter methods for orient coordinates

orientY

Getter and setter methods for orient coordinates

orientZ

Getter and setter methods for orient coordinates

setFalloff
The rolloff rate of the panner.
maxDist
Set the maximum distance of the panner.
rollof

How quickly the volume is reduced as the source moves away from the listener

rolloff
Set the rolloff rate of the panner.
Notice any errors or typos? Please let us know. Please feel free to edit src/Panner3D.js and open a pull request!

Related References