loadSound()
Loads sound file from disk and store it into given sound slot. Sound
file must be in wav sound format. sdlBasic allow 1024 sound slots. If
sound slot is omitted, sound will be stored in first free slot, in this
case command returns automatic assigned image slot.
Syntax:
loadSound(
filename
,
slot
)
Example:
s =
loadSound( "testSound.wav" )
playSound( s, 1 )
waitkey