NA_RECORD(1) | General Commands Manual | NA_RECORD(1) |
na_record
— record
waveform from audio device
na_record |
[-h ] [-f
sampling rate] [-audiodevice
device] [-time
seconds] [-o
file] [-otype
type] [-ostype
sample type] [-F
sample rate] [-obo
MSB | LSB |
native] [-oswap ]
[-p audio device
protocol] |
na_record
records digital audio data from
the system's audio input device and writes it to the specified file. It
supports a variety of output file formats and native audio devices.
The following option flags are recognized:
-h
-f
sampling rate-audiodevice
device-time
seconds-o
file-otype
type-h
flag will show the most accurate list. The
default type is nist.-F
sampling rate-obo
byte order-oswap
-ostype
sample type-p
audio device protocolNA_PLAY_PROTOCOL
-p
flag)NA_PLAY_HOST
To record five seconds of audio from /dev/dsp1 (on Linux) to foo.wav in RIFF format at 32kHz:
$ na_record -time 5 -audiodevice
/dev/dsp1 -o foo.wav -otype RIFF -f 32000
$ na_record -time 1 -o bar.wav -otype
raw -ostype mulaw -f 8000
The -time
argument only accepts integer
values (though the usage message implies otherwise)
April 4, 2001 | Edinburgh Speech Tools |