-
Notifications
You must be signed in to change notification settings - Fork 3
/
play_sox.Rd
31 lines (30 loc) · 869 Bytes
/
play_sox.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/play-sox.R
\name{play_sox}
\alias{play_sox}
\title{Play sound (sox)}
\usage{
play_sox(x, ...)
}
\arguments{
\item{x}{Object to play (see \code{\link{save_wav_sox}} for valid options).}
\item{...}{Further parameters to pass to \code{\link{save_wav_sox}}.}
}
\description{
Plays a sound using the command-line tool sox.
}
\details{
The sound is synthesised using \code{\link{save_wav_sox}}
and saved to a temporary file, which is then played from the R session.
This method is generally slower than \code{\link{play_wav}}
but it provides more features.
}
\note{
The command-line sound-processing program sox
(\url{http://sox.sourceforge.net/})
must be installed and available on the command line,
making available the commands \code{sox} and \code{play}.
}
\seealso{
\code{\link{play_wav}}
}