Skip to content

setPan()

Set the stereo position of every note in the score.

score.setPan(pan)

Parameters

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