version 1, including all changes.
.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
---- |
| |
|
2 |
__NAME__ |
| |
|
3 |
|
| |
|
4 |
|
| |
|
5 |
aumix - adjust audio mixer |
| |
|
6 |
__SYNOPSIS__ |
| |
|
7 |
|
| |
|
8 |
|
| |
|
9 |
aumix [[- |
| |
|
10 |
__DESCRIPTION__ |
| |
|
11 |
|
| |
|
12 |
|
| |
|
13 |
This program adjusts the settings of an audio mixing device. |
| |
|
14 |
It can be used from the command line, in scripts, or inter- |
| |
|
15 |
actively with the keyboard or mouse. |
| |
|
16 |
__OPTIONS__ |
| |
|
17 |
|
| |
|
18 |
|
| |
|
19 |
__CHANNEL OPTIONS__ |
| |
|
20 |
-v main volume |
| |
|
21 |
|
| |
|
22 |
|
| |
|
23 |
-bbass-cCD-iline in-lline-mmicrophone-oline out-pPC speaker-ssynthesizer-ttreble-wPCM-ximix-1line 1-2line 2-3line 3For each channel, q queries, + and - increment and decrementby one, or an amount if one is specified. If no + or - isgiven after the channel option, a number sets a specificlevel (monophonically).__OTHER OPTIONS__-C color_scheme_filespecify the name of a file containing a colorscheme. This implies -I. This option can beused to force the ncurses interface with a GTKversion. No need to specify a filename in thatcase.-d device_filespecify the name of the mixer device (default is/dev/mixer ). IMPORTANT: if you use this option, specify it before any other options; it won't take effect on preceding options/commands. |
| |
|
24 |
|
| |
|
25 |
|
| |
|
26 |
-f rc_file |
| |
|
27 |
specify file for saving and loading settings |
| |
|
28 |
|
| |
|
29 |
|
| |
|
30 |
-h |
| |
|
31 |
display information on usage |
| |
|
32 |
|
| |
|
33 |
|
| |
|
34 |
-I |
| |
|
35 |
run aumix interactively, using the default user interface |
| |
|
36 |
(GTK or ncurses, depending on the ver- sion). This is the |
| |
|
37 |
default if no options are given, but must be specified in |
| |
|
38 |
order to have aumix go into interactive mode after doing |
| |
|
39 |
things non-interactively. |
| |
|
40 |
To force use of the ncurses interface with the GTK version, |
| |
|
41 |
specify -C (no need to give a file- name). |
| |
|
42 |
|
| |
|
43 |
|
| |
|
44 |
-L |
| |
|
45 |
load settings from $HOME/.aumixrc, or |
| |
|
46 |
/etc/aumixrc if the former is |
| |
|
47 |
inaccessible |
| |
|
48 |
|
| |
|
49 |
|
| |
|
50 |
-q |
| |
|
51 |
query all devices and print their settings |
| |
|
52 |
|
| |
|
53 |
|
| |
|
54 |
-S |
| |
|
55 |
save settings to $HOME/.aumixrc |
| |
|
56 |
|
| |
|
57 |
|
| |
|
58 |
__EXAMPLES__ |
| |
|
59 |
|
| |
|
60 |
|
| |
|
61 |
The command |
| |
|
62 |
|
| |
|
63 |
|
| |
|
64 |
aumix -q -v75 -m 0 -c R -c+10 -m q |
| |
|
65 |
prints all settings, sets volume to 75%, sets microphone to 0, sets CD to record, increases the CD level by ten (both left and right), and prints the new settings for the micro- phone. |
| |
|
66 |
|
| |
|
67 |
|
| |
|
68 |
The .aumixrc file containing: |
| |
|
69 |
|
| |
|
70 |
|
| |
|
71 |
vol:60:60 |
| |
|
72 |
wait:5000 |
| |
|
73 |
vol:50:50 |
| |
|
74 |
sets the volume to 60%, waits five seconds, then reduces the volume to 50%. Note that |
| |
|
75 |
__INTERACTIVE USE__ |
| |
|
76 |
|
| |
|
77 |
|
| |
|
78 |
If no options are given on the command line, and aumix is |
| |
|
79 |
compiled with ncurses, it will run |
| |
|
80 |
interactively. |
| |
|
81 |
|
| |
|
82 |
|
| |
|
83 |
__LAYOUT__ |
| |
|
84 |
|
| |
|
85 |
|
| |
|
86 |
The left bank of controls is used for adjusting levels; the |
| |
|
87 |
right bank is for adjusting balance. Mixing channels not |
| |
|
88 |
supported by your hardware will not be shown. Mixing chan- |
| |
|
89 |
nels which are stereo-capable will have balance |
| |
|
90 |
controls. |
| |
|
91 |
|
| |
|
92 |
|
| |
|
93 |
__KEYS__ |
| |
|
94 |
|
| |
|
95 |
|
| |
|
96 |
The following keys control aumix in interactive |
| |
|
97 |
mode: |
| |
|
98 |
page up, page down, up and down cursor |
| |
|
99 |
|
| |
|
100 |
|
| |
|
101 |
select a new control.Tab, Enter, and right cursor keys increase the level by 3%; the - and left cursor keys decrease it by the same amount. The [[ key sets it to 0% and ] sets it to 100%. The digits 1 to 9 set it to 10% through 90%. The same keys work analogously on the balance controls. |
| |
|
102 |
|
| |
|
103 |
|
| |
|
104 |
Space |
| |
|
105 |
toggles between record and play for controls which are |
| |
|
106 |
capable of this. |
| |
|
107 |
|
| |
|
108 |
|
| |
|
109 |
| |
| |
|
110 |
centers the balance of the current device. |
| |
|
111 |
|
| |
|
112 |
|
| |
|
113 |
K or k |
| |
|
114 |
show a description of the functions of keys |
| |
|
115 |
|
| |
|
116 |
|
| |
|
117 |
L or l |
| |
|
118 |
load settings from $HOME/.aumixrc, falling back to |
| |
|
119 |
/etc/aumixrc |
| |
|
120 |
|
| |
|
121 |
|
| |
|
122 |
M or m |
| |
|
123 |
mute or unmute |
| |
|
124 |
|
| |
|
125 |
|
| |
|
126 |
O or o |
| |
|
127 |
``only'': mute all channels but the current one |
| |
|
128 |
|
| |
|
129 |
|
| |
|
130 |
S or s |
| |
|
131 |
save settings to the rc file |
| |
|
132 |
|
| |
|
133 |
|
| |
|
134 |
U or u |
| |
|
135 |
undo any muting |
| |
|
136 |
|
| |
|
137 |
|
| |
|
138 |
Q or q |
| |
|
139 |
end the program |
| |
|
140 |
|
| |
|
141 |
|
| |
|
142 |
^L |
| |
|
143 |
refresh screen |
| |
|
144 |
|
| |
|
145 |
|
| |
|
146 |
^Z, ^D and ^C also have their normal function (the screen is |
| |
|
147 |
refreshed when aumix is brought to the |
| |
|
148 |
foreground). |
| |
|
149 |
|
| |
|
150 |
|
| |
|
151 |
__MOUSE__ |
| |
|
152 |
In interactive mode, aumix can accept input from the mouse |
| |
|
153 |
if gpm(8) is running and aumix is compiled with |
| |
|
154 |
gpm(8) sup- port. If gpm is not running but gpm |
| |
|
155 |
support is included, the message mouse off will |
| |
|
156 |
appear at the top of the screen, and only keyboard input |
| |
|
157 |
will be accepted. With gpm(8) run- ning, most |
| |
|
158 |
functions can be performed through the mouse. The mouse is |
| |
|
159 |
active whenever one of its buttons is held down. While |
| |
|
160 |
active, it works in the following ways: |
| |
|
161 |
over a control track, it sets the control to match the |
| |
|
162 |
position of the mouse cursor. |
| |
|
163 |
over a record/play indicator, it toggles the record/play |
| |
|
164 |
state. |
| |
|
165 |
over the Quit, Load, Save, |
| |
|
166 |
Keys, Mute, Only, or |
| |
|
167 |
Undo labels at the top of the screen, it causes |
| |
|
168 |
those actions to take place. |
| |
|
169 |
|
| |
|
170 |
|
| |
|
171 |
__ENVIRONMENT__ |
| |
|
172 |
|
| |
|
173 |
|
| |
|
174 |
The HOME variable is used. When aumix is compiled |
| |
|
175 |
with GTK+ support, DISPLAY is checked, and if set |
| |
|
176 |
is used. LANG is used when aumix the ncurses screen |
| |
|
177 |
is displayed. |
| |
|
178 |
__FILES__ |
| |
|
179 |
|
| |
|
180 |
|
| |
|
181 |
Saved settings for the mixer are kept in the |
| |
|
182 |
/etc/aumixrc and $HOME/.aumixrc files, but |
| |
|
183 |
can be kept anywhere if speci- fied explicitly. Color |
| |
|
184 |
schemes are normally kept in the directory given by |
| |
|
185 |
DATADIR at compilation time, but are preferentially |
| |
|
186 |
loaded from the current directory and can be kept anywhere |
| |
|
187 |
so long as the path to them is specified. The format of |
| |
|
188 |
these files is: |
| |
|
189 |
|
| |
|
190 |
|
| |
|
191 |
item foreground background |
| |
|
192 |
|
| |
|
193 |
|
| |
|
194 |
where item is one of active, axis, |
| |
|
195 |
handle, menu, play, |
| |
|
196 |
record, or track and foreground and |
| |
|
197 |
background are one of black, red, |
| |
|
198 |
green, yellow, blue, |
| |
|
199 |
magenta, cyan, or white. The |
| |
|
200 |
words should be separated by whitespace and can be upper-, |
| |
|
201 |
lower-, or mixed-case. Lines not matching all these |
| |
|
202 |
conditions are ignored. Some samples of color schemes are |
| |
|
203 |
provided, named after the sort of terminal where they should |
| |
|
204 |
be most suitable. |
| |
|
205 |
|
| |
|
206 |
|
| |
|
207 |
If either foreground or background is given as -, |
| |
|
208 |
then the default color for that is used. If aumix is linked |
| |
|
209 |
against ncurses, then the terminal's default fore or |
| |
|
210 |
background will be used; else the default foreground is |
| |
|
211 |
white and the default background is black. |
| |
|
212 |
|
| |
|
213 |
|
| |
|
214 |
An xpm icon is provided. |
| |
|
215 |
__VERSION__ |
| |
|
216 |
|
| |
|
217 |
|
| |
|
218 |
This page corresponds to version 2.7. |
| |
|
219 |
__BUGS__ |
| |
|
220 |
|
| |
|
221 |
|
| |
|
222 |
Suspending with ^Z may make the terminal difficult to |
| |
|
223 |
use. |
| |
|
224 |
|
| |
|
225 |
|
| |
|
226 |
Please send bug reports and other correspondence to the mailing list. Past messages may be read at |
| |
|
227 |
|
| |
|
228 |
|
| |
|
229 |
http://www.linuxatlax.org/archives/private/aumix/ |
| |
|
230 |
and you may wish to join the list via |
| |
|
231 |
|
| |
|
232 |
|
| |
|
233 |
http://linuxatlax.org/lists/aumix/ |
| |
|
234 |
or by sending a message with just subscribe in the body to aumix-request@linuxatlax.org. To post without subscrib- ing, omit |
| |
|
235 |
|
| |
|
236 |
|
| |
|
237 |
Information such as the version of aumix, the architecture |
| |
|
238 |
and operating system, and the model of sound hardware is |
| |
|
239 |
sometimes needed to diagnose problems, so it is best if you |
| |
|
240 |
include such details in any bug reports. |
| |
|
241 |
__SEE ALSO__ |
| |
|
242 |
|
| |
|
243 |
|
| |
|
244 |
gpm(1), moused(8), sb(4), |
| |
|
245 |
xaumix(1) |
| |
|
246 |
|
| |
|
247 |
|
| |
|
248 |
BSD July 13, 2000 1 |
| |
|
249 |
---- |