The play
command makes a system call of the form "}command\code{ }wavfile\code{.wav"
, where 'command' is the string returned by WavPlayer()
.
The default commands are 'mplay32 /play'
(calling the Windows media player) for Win32-systems and 'aplay'
and 'mplayer'
for Linux systems. Other commands will be added in future versions of this package.
Unfortunately for Windows 7/8/10 no command line tool for playing wav-files is included into the os. However, a suitable tool like 'wv_player.exe'
can be installed. To download it, go to http://www.webxpace.com/software/.
But any other program that provides a system call of the above form to play wav files is also fine. Please report additional play commands to the maintainer so that they can be recognized automatically in future versions of this package.
When setWavPlayer
is called, it tries to play an empty wav file, using the new command(s). If it fails, no changes are made.