Reference Manual - Table of Contents Sound Command Summary:
Beep
SoundLoad var, ResourceID
SoundUnload SndID
SoundPlay SndIDFunction Summary:
var = SoundPlaying( SndID )
var = IsSound( )
Beep
This command will play the default System Alert sound.
SoundLoad var, ResourceID
This command loads a sound resource in to memory. It is then ready for use with the SoundPlay command.
var - This should be a numeric variable that will contain a value representing the SndID that should be used to reference the sound resource being opened. This variable will equal a -1 if an error occurs.
ResourceID - This should be a numeric expression that contains a value that is used to reference a sound resource to load from a file.
SoundUnload SndID
This command unloads a sound resource from memory.
SndID - This should be a numeric expression that contains a value that is used to reference a sound resource
SoundPlay SndID
This command plays a sound resource previously loaded in to memory with the SoundLoad command.
SndID - This should be a numeric expression that contains a value that is used to reference a sound resource
var = SoundPlaying( SndID )
This function returns a one (1) if the sound resource specified is currently being played or a zero (0) if it is not being played.
SndID - This should be a numeric expression that contains a value that is used to reference a sound resource
var = IsSound ( )
This function returns a result to indicate whether sound manager is installed.