play_sox: Play sound (sox)

View source: R/play-sox.R

play_soxR Documentation

Play sound (sox)

Description

Plays a sound using the command-line tool sox.

Usage

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

play_wav


pmcharrison/hrep documentation built on Feb. 18, 2024, 2:33 a.m.