Liberty BASIC Help Online |
PLAYWAVE
PLAYWAVE "filename" [, mode ]
Description:
This plays a *.wav sound from a file on disk as specified in filename. If mode is specified, it must be one of the modes described below:
sync (or synch)- wait for the wave file to finish playing (the default)
async (or asynch) - don't wait for the wave file to finish playing
loop- play the wave file over and over (cancel with: playwave "")
Usage
playwave "ding.wav", async
playwave "tada.wav"
playwave "hello.wav", loop
playwave "" 'to stop previous wav from playing
Copyright (C) 2003 Shoptalk Systems
Liberty BASIC - http://www.libertybasic.com/