Reference p5.Panner

p5.Panner

A panning effect. Moves the sound from left to right using a value between -1 and 1.

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 with a value or signal.

Related References