rec
play(1) play(1)
NAME
play - play any sound file to audio device
rec - record audio to any sound file format
SYNOPSIS
play [fopts] infile [effect]
rec [fopts] outfile [effect]
DESCRIPTION
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 automati-
cally detect the type and other parameters of the soundfile. If it
can't do so, the parameters can be changed through options.
OPTIONS
A summary of common options are included below. For a complete
description of options and their values, see the sox(1) man page.
-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.
-r [rate], --rate=[rate]
Specify the sample rate of the audio data (samples per second).
-s [size], --size=[size]
Specify the width of each sample. One of b, w, l, f, d, or D.
-t [type], --type=[type]
Specify audio file format to use. Useful if it can not be auto-
matically 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.
SEE ALSO
sox(1)
soxexam(1)
AUTHOR
This manual page was written by Guenter Geiger <geiger@iem.mhsg.ac.at>,
for the Debian GNU/Linux system.
Updates by Anonymous.
December 11, 2001 play(1)