# rec.1 manual page

## NAME

           rec - record from audio device

## SYNOPSIS

           rec [-s] file

## DESCRIPTION

           rec  opens an audio device and writes sample data to file.
           If file is -, then write to stdout.

## OPTIONS

           -s     Record both left and right stereo channels.

## FILES

           /dev/dsp
                  The audio device from which input data is read.

## BUGS

           There is no way to choose which audio device to use, or to
           change the sampling parameters.

## AUTHOR

           Greg Hewgill <greg@hewgill.com>
           http://hewgill.com

## SEE ALSO

           play(1)