Plays a sound using the command-line tool sox.

play_sox(x, ...)

Arguments

x

Object to play (see save_wav_sox for valid options).

...

Further parameters to pass to save_wav_sox.

Details

The sound is synthesised using save_wav_sox and saved to a temporary file, which is then played from the R session. This method is generally slower than play_wav but it provides more features.

Note

The command-line sound-processing program sox (http://sox.sourceforge.net/) must be installed and available on the command line, making available the commands sox and play.

See also