File: wavr.1

package info (click to toggle)
wavtools 1.3.2-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 196 kB
  • ctags: 92
  • sloc: ansic: 416; makefile: 103; tcl: 72; sh: 20
file content (101 lines) | stat: -rw-r--r-- 1,775 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
.TH WAVR 1 "06 October 1997" "Wav-Tools 1.3"
.SH NAME
wavr \- record a wave audio file
.SH SYNOPSYS
.BR "wavr"
.RB [ " \-f"
.IR "filename " ]
.RB [ " \-r "
.IR "samplerate " ]
.RB [ " \-d "
.IR "sampledepth " ]
.br
.RB [ " \-c"
.IR "numchans " ]
.RB [ "\-s"
.BR "l " |
.BR "m " |
.BR "c " ]
.br

.SH DESCRIPTION
.B wavr 
will record a 
.I PCM 
encoded wav file from 
.I /dev/dsp.
The sample format, length and source of the recording can all be supplied at 
the command line.  If a mixer program is running, it can be used to set the
recording source and volume levels of that source.  Without arguments, 
.B wavr 
will output a short message describing its usage.

.SH OPTIONS
.TP
.B \-f filename
Uses 
.I filename 
as the name of the recorded wave file. The default is 
untitled.wav which will be used if 
.I \-f 
is not given.

.TP
.B \-r samplerate
Asks for 
.I samplerate 
to be used as the number of samples per second to
be recorded.  Common values are 
.B "44100"
, 
.B "22050"
, 
.B "11025"
, 
.B "8000"
.  The default value is 8000.

.TP
.B \-d sampledepth
Uses 
.I sampledepth 
as the number of bits to use for each sample.  Valid
values are 
.B "16"
, and 
.B "8"
\.

.TP
.B \-c numchans
Uses 
.I numchans 
channels in recording. Valid values are 
.B 2 
for a stereo recording, and 
.B 1 
for a mono recording.

.TP
.B \-l length
Stops recording after
.I length
seconds.  This is not required as you can simply press ^C to stop recording and
the program will exit gracefully.

.TP
.B \-s m|l|c
Sets the mixer to the appropriate recording source.  
.B l 
\= line, 
.B m 
\= mic, and 
.B c 
\= cd-rom.  If a mixer is already running, it can be used to specify recording
source and volume levels.

.SH SEE ALSO
wavp (1)

.SH AUTHOR
Colin Ligertwood (tannoy@wep.net)