A panning effect.
Examples
Syntax
p5.Panner([panAmount])
Parameters
panAmount
Number: defaults to 0, accepts values between -1 and 1 representing the pan position of the sound source between the left and right speaker channels.
Methods
pan
Pan a sound source left or right.
Notice any errors or typos? Please let us know. Please feel free to edit src/effects/Panner.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.