Skip to content

setPanning()

Set the sample's stereo position.

audiosample.setPanning(panning)

Parameters

audiosample.setPanning(panning, voice=0)
Parameter Type Default Description
panning int required Stereo position from 0 (left) to 127 (right).
voice int 0 Which voice to set, from 0 to one less than the number of voices.