SetVolume()

var mySound = OpenSound("c:\\welcome.wav",1)
// open welcome.wav on channel 1

mySound.SetVolume(0,0)
// set the initial volume of the sound to zero

mySound.Play()
// play welcome.wav

mySound.SetVolume(100,0.5)
// fade welcome.wav in to 100% volume over half a second

Close