SoundPan()

Syntax

SoundPan(#Sound, Pan [, Channel])
Description
Set the new pan, in realtime, for the #Sound. The pan value is saved for the #Sound, so it's not needed to call it everytime. The panning is a way to play a sound on a stereo equipment. The valid values are from -100 (full left) to 100 (full right). If the pan is 0, then the sound is played on right and left speaker, equaly.

'Channel' is optional and specify on which channel the sound pan should be changed. A 'Channel' is available when using PlaySound() with #PB_Sound_MultiChannel.

Supported OS

Windows, MacOS X

<- SoundFrequency() - Sound Index - SoundVolume() ->