SET SOUND PAN This command will set the pan of standard sounds by locating it between the left and right speakers.
Syntax
    SET SOUND PAN Sound Number,Pan Value
Parameters
    Sound Number
Integer The sound number
    Pan Value
Integer Thea positive value will move it to the right. Sound panning does not work with 3D sounds. The pan value must be an integer value between -10,000 and 10,000
Returns
This command does not return a value.
Description
A negative value will move the sound to the left speaker, a positive value will move it to the right. Sound panning does not work with 3D sounds. The pan value must be an integer value between -10,000 and 10,000.
Example Code
    cls

    load sound "man.wav",1

    play sound 1

    wait 1000*8

    set sound pan 1,10000

    wait 1000*8

    set sound pan 1,0

    wait 1000*8

    set sound pan 1,-10000

    wait 1000*8

    stop sound 1

    do

    loop

    end
See also
SOUND Commands Menu Index