From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Property (As Integer )
aSound.Pan = newIntegerValue
IntegerValue = aSound.Pan

Supported for all project types and targets.

Specifies the relative volume (balance) between the left and right speakers.


The range is from -100 to +100, with 0 indicating equal volume in the left and right channels. -100 plays sound in the left channel only; 100 plays sound in the right channel only. The default is 0.