Skip to content

setPan()

Set the note's stereo position.

Parameters

Once an object note has been created, you can use the following function:

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).