Manpages

Manpage of play

play

Section: User Commands (1)
Updated: December 11, 2001
Index
Return to Main Contents
 

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 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.  

OPTIONS

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.
-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 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.

 

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.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 19:21:24 GMT, April 16, 2024