1record(1) General Commands Manual record(1)
2
3
4
6 record - records *.wav files
7
9 record [ options ]
10
12 record records *.wav files in CD quality (i.e. 44100 Hz, 16bit,
13 stereo). It has a input level meter, which might be useful for sound
14 trouble shooting (check if the mixer settings ok for recording from the
15 TV card etc.)
16
18 -h display help text
19
20 -o file
21 basename for the output file(s), a number and the .wav extension
22 are added by record. Default is "record".
23
24 -i dev mixer control. This should be the one where you can adjust the
25 record level for your audio source. Default is "line". "mic"
26 and "igain" are good candidates too. Best way to figure is to
27 start your favorite mixer tool and check out which one works ...
28
29 -m dev set mixer device. Default is "/dev/mixer".
30
31 -d dev set audio device. Default is "/dev/dsp".
32
33 -r rate
34 set sample rate. Default is 44100.
35
36 -p sec peak seconds (number of seconds which should be scanned for the
37 volume maximum). This affects both peak level display and level
38 triggered recording (see below). Default is 1.5 seconds.
39
40 record can also be used non-interactive:
41
42 -c enable console (non-interactive) mode.
43
44 -v be verbose (console mode only).
45
46 -t mm:ss
47 Limit the record time (console mode only). By default record
48 records until stopped by a signal (by typing ^C for example).
49
50 -s size
51 Limit the file size (console mode only). record will continue
52 with a new file once the limit is reached.
53
54 -n num Limit the file count (console mode only). record will stop
55 recording after num files.
56
57 -l Enable level triggered recording (console mode only) with the
58 default trigger level (1000).
59
60 -L level
61 Enable level triggered recording with the specified trigger
62 level.
63
64 If level triggered recording is active, record will start and stop
65 recording depending on the signal strength. Recording will be started
66 if the signal strength is above the trigger level (1000/32768 => around
67 3%). Recording will be stopped if the signal is below the trigger
68 level for some time (1.5 seconds by default, the -p switch changes
69 this).
70
72 Gerd Knorr <kraxel@bytesex.org>
73
74
75
76 (c) Gerd Knorr record(1)