play
NAME SYNOPSIS DESCRIPTION OPTIONS SEE ALSO AUTHOR
play - play any sound file to audio device
rec - record audio to any sound file format
This manual page briefly documents the play and rec commands.
play and rec are programs that allow you to play and record different types of sound files from the command line. They are front ends to the more general __sox(1)?__ package. Normally, the play command will automatically detect the type and other parameters of the soundfile. If it can't do so, the parameters can be changed through options. The play command can be used for playing pack several files, in this case the options regarding the format apply to every file played.
A summary of common options are included below. For a complete description of options and their values, see the __sox(1)?__ man page.
--silent
Don't print to file currently played to stdout
-c [channels?, --channels=[channels?
Define the number of channels in the file.
-d [device?, --device=[device?
Specify a different device to play the sound file to.
-f [format?, --format=[format?
Specify bit format of the sample. One of s, u, U, A, a, or g.
Specify the sample rate of the audio data (samples per second).
Specify the width of each sample. One of b, w, l, f, d, or D.
Specify audio file format to use. Useful if it can not be automatically determined.
-v [volume?, --volume=[volume?
Change the audio volume
-x , --xinu
Reverse the byte order of the sample (only works with 16 and 32-bit data).
-h, --help
Show summary of options.
--version
Show version of play/rec.
Description of effects are described in the
__sox(1)?__ man page.
This manual page was written by Guenter Geiger
Updates by Anonymous.
3 pages link to rec(1):