Panner3D is based on the Web Audio Spatial Panner Node. This panner is a spatial processing node that allows audio to be positioned and oriented in 3D space.
The position is relative to an Audio Context Listener, which can be accessed by p5.soundOut.audiocontext.listener
Fields
Properties include
Panning Model : "equal power" or "HRTF"
DistanceModel : "linear", "inverse", or "exponential"
Methods
Connect an audio sorce
Set the X,Y,Z position of the Panner
Getter and setter methods for position coordinates
Getter and setter methods for position coordinates
Getter and setter methods for position coordinates
Set the X,Y,Z position of the Panner
Getter and setter methods for orient coordinates
Getter and setter methods for orient coordinates
Getter and setter methods for orient coordinates
Set the rolloff factor and max distance
Maxium distance between the source and the listener
How quickly the volume is reduced as the source moves away from the listener