Skip to content

setPan()

Set the note's stereo position.

note.setPan(pan)

Parameters

note.setPan(pan)
Parameter Type Default Description
pan int or float required The new stereo position, from 0.0 (left) through 0.5 (center) to 1.0 (right).