A 3D sound spatializer.
Examples
Methods
process
Connects an input source to the 3D panner.
set
Set the x, y, and z position of the 3D panner.
setFalloff
The rolloff rate of the panner.
maxDist
Set the maximum distance of the panner.
rolloff
Set the rolloff rate of the 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.
Notice any errors or typos? Please let us know. Please feel free to edit src/effects/Panner3D.js and open a pull request!
Related References
getAudioContext
Get the window's audio context.
setAudioContext
Sets the AudioContext to a specified context to enable cross library compatibility.
userStartAudio
starts audio processing in the window when called from a user interaction (such as mousePressed()).
userStopAudio
stops audio processing in the browser window.