PlayWave
Playback one or more WAVE or XWAVE items. Note that a dialog is displayed during playback.
Usage:
PlayWave waveItem|xWaveObject ; text
Parameters:
waveItem
The wave item to play. See the shell item WAVE for details.
xWaveObject
The xWaveObject to play. See XWAVE for details.
text
The text to display in the play dialog.
Usage:
PlayWave simpleTable
Parameters:
simpleTable
A simple shell table. Each entry with the following format is then played:
waveItem|xWaveObject ; text
Examples:
Playback a wave signal from disk.
#xwave := xwave 'd:\data\audio\test.wav'
if '$#xwave[?]' != 'instance' em -1 ; Failed to create the xwave item.
PlayWave $#xwave
Note that in the case of an XWAVE object, the XWAVE member function play can be used instead.
#xwave := xwave 'd:\data\audio\test.wav'
if '$#xwave[?]' != 'instance' em -1 ; Failed to create the xwave item.
$#xwave play