play_sox | R Documentation |
Plays a sound using the command-line tool sox.
play_sox(x, ...)
x |
Object to play (see |
... |
Further parameters to pass to |
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.
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
.
play_wav
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.