Either a sound object, or a numeric vector to be played.
path
The location of VLC.exe on your computer. 'default' provides the default for a standard windows installation of VLC player. If this is set to 'pick', a dialog box opens allowing the user to specify the path.
fs
The sampling frequency in Hz. If a 'sound' or 'ts' object is passed this does not need to be specified.
erase
If TRUE, the temporary WAV file created is deleted after playing.
Author
Santiago Barreda <sbarreda@ucdavis.edu>
Details
The sound is written out as a .wav file and VLC is called from the command line to play the file. The file is optionally erased after the fact. If the path is selected by the user, this is returned for use in future calls. Obviously, this function relies on VLC being installed. With the appropriate path, it seems like this function should work on Linux and OSX, though it has only been tested on a Windows computer.