GNU/Linux |
CentOS 2.1AS(Slurm) |
|
![]() |
play(1) |
![]() |
play − play any sound file to audio device
rec − record audio to any sound file format
play [fopts] infile [effect]
rec [fopts] outfile [effect]
This manual page documents briefly the play and rec command.
play and rec are programs that allows you to play and record different types of sound files. It is a frontend to the more general sox package. Normally the play command will detect the type and other parameters of the soundfile. If it can’t do so, the parameters can be changed through options.
A summary of
common options are included below. For a complete
description of options and thier values, see the
sox(1) man page.
−c [channels],
−−channels=[channels]
Define the number of channels of the file.
−d [device], −−device=[device]
Specify a different device to play the sound file to.
−f [format], −−format=[format]
Specifies bit format of sample. One of s, u, U, A, a, or g.
−r [rate], −−rate=[rate]
Define the samplerate of the audio data.
−s [size], −−size=[size]
interpret size of sample. One of b, w, l, f, d, or D.
−t [type], −−type=[type]
Specifies audio file format to use. Useful if it can not be determined on its own.
−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 man page.
sox(1)
This manual page was written by Guenter Geiger <geiger@iem.mhsg.ac.at>, for the Debian GNU/Linux system.
![]() |
play(1) | ![]() |