Reference pan()

pan()

Pan between Left (-1) and Right (1)

Syntax

pan(panning, timeFromNow)

Parameters

panning
Number:

Number between -1 and 1

timeFromNow
Number:

schedule this event to happen seconds from now

Notice any errors or typos? Please let us know. Please feel free to edit lib/addons/p5.sound.js and open a pull request!

Related References