LOAD 3DSOUND This command will load a WAV sound file into the specified Sound Number as a special 3D sound.
Syntax
    LOAD 3DSOUND Filename,Sound Number
    LOAD 3DSOUND Filename,Sound Number,Silent Fail
    LOAD 3DSOUND Filename,Sound Number,Silent Fail,Global Sound Flag
Parameters
    Filename
String The file name string of the dound file
    Sound Number
Integer The number the sound will be loaded into
    Silent Fail
Integer Set this flag to one to stop all runtime error messages if load fails
    Global Sound Flag
Integer Set this flag to one to play sound even if application does not have focus
Returns
This command does not return a value.
Description
The specified WAV sound file must by Mono or the load will fail. 3D sounds can be placed in 3D space and heard through the virtual ears of a listener. The listener can also be placed anywhere in 3D space creating true surround sound capabilities. The Sound Number must be an integer value.
Example Code
    cls

    load 3dsound "man.wav",1

    play sound 1

    wait 1000*8

    stop sound 1

    do

    loop

    end
See also
SOUND Commands Menu Index