man sound-recorder (Commandes) - a direct-to-disk recorder wich uses a soundcard to record.

NAME

sound-recorder - a direct-to-disk recorder wich uses a soundcard to record.

SYNOPSIS



sound-recorder [options] filename

DESCRIPTION

sound-recorder is a program to record samples from line input to a file with the use of the soundcard.

OPTIONS

-c nr
The number of channels to record. This can be 1 for a mono recording and 2 for stereo.

-s freq. in Hz
The samplerate of the recording. The higher the samplerate the higher the soundquality (and filesize). For CD quality 44.1 kHz can be used. Some cards even support a 48 kHz samplerate. Common samplerates are: 8 kHz, 11.025 kHz, 12 kHz, 16 kHz, 22.050, 32 kHz, 44.1 kHz and 48 kHz.

-b 8 or 16
Force to play the sample in 8 or 16 bits per sample.

-k
Overwrite the file if destination file already exists.

-P
Use priority threading to set highest priority to the recording thread.

-A device
The device to use for dsp (default is /dev/dsp)

-e stmt
This command start a /bin/sh after every completed recording. The environment variable file contains the filename of the recorded file. This way you can record a batch and process the recorded files with other programs. NOTE: the statement must be one statement. This means that you must quote the string if it contains spaces or other special characters. (-e 'rm $file; sync' will remove the recorded file when completed and sync the disk).

-S mm:ss
When you want to record only a defined number of samples you can use this option. The recording is ended after mm minutes and ss seconds.

-f format
The output format is the type of file the data will be stored in. Possible formats are wav, pcm, cdr, ima3, ima4, ima5. The wav format is the default format and is not capable of storing additional information..br
-q
To record a track without showing the time counter during the recording.

-A device
The device to use for dsp (default is /dev/dsp)

-h
To display help on the available options.

SEE ALSO

AUTHOR

Bart Warmerdam

bartw@xs4all.nl