Skip to content

getPanning()

Return the sample's stereo position.

Parameters

Once an object audiosample has been created, you can use the following functions:

audiosample.getPanning()
audiosample.getPanning(voice)

Parameter Type Default Description
voice int 0 Which voice to read, from 0 to one less than the number of voices.

Returns

return panning

Value Type Description
panning int Stereo position from 0 (left) to 127 (right); None if an error occurs.