audiorecord(1mms) — Commands
NAME
audiorecord − Records an audio file.
SYNOPSIS
audiorecord [-filename filename] [-idevice #] [-channels #] [-bitspersample #] [-rate #] [-time #] [-encoding format] [-numbuffers #] [-sizebuffers #] [-msbuffers #] [-verbose] [-help]
DESCRIPTION
audiorecord records an audio file using the Multimedia Services product. The file is written in WAVE format. Files recorded by audiorecord may be played back using the audioplay program or by DECsound.
Pressing Ctrl/C will pause the recording, which can be resumed by pressing RETURN. The program is terminated by pressing a second Ctrl/C.
To determine the device number and formats supported for an audio input device, use the audiodevices program.
OPTIONS
audiorecord accepts the following command line options:
[-filename filename]
Filename to use to save audio input. Defaults to tempfile.wav.
[-idevice #]
Input device number. The default is search all.
[-channels #]
Number of channels. The channel may be 1 (Mono) or 2 (Stereo). The default is 1 (Mono).
[-bitspersample #]
Number of bits per sample. Default is 16.
[-rate #]
Sample rate in Hz. Default is 11025.
[-time #]
Recording time, in seconds. The recording can be terminated sooner by pressing Ctrl/C.
[-encoding format]
Audio encoding format. Valid entries are pcm for PCM, mulaw for mulaw, or adpcm for ADPCM format. The default is pcm.
[-numbuffers #]
Number of buffers. The default is 4.
[-sizebuffers #]
Size, in bytes, of each buffer. If values are entered for [-sizebuffers #] and [-msbuffers #], the [-msbuffers #] value is used and the [-sizebuffers #] value is ignored. By default the byte size of each buffer is dependent on the value for [-msbuffers #].
[-msbuffers #]
Size, in milliseconds, of each buffer. Unless [-sizebuffers #] overrides this value, the default valie is 250 milliseconds.
[-verbose]
Prints various status messages.
[-help] Displays help information.
FILES
/usr/bin/mme/audiorecord
SEE ALSO
audiocontrol(1mms), audiodevices(1mms), audioplay(1mms), audioselectports(1mms), decsound(1mms), mms(1mms), mmeserver(1mms)