2014-06-07 19:21:59 +00:00
|
|
|
.TH wmix 1x "3.2" "Fredrik Steen"
|
2014-06-07 19:21:33 +00:00
|
|
|
.SH NAME
|
2014-06-07 19:21:32 +00:00
|
|
|
wmix \- Dockapp mixer for OSS or ALSA
|
2014-06-07 19:21:33 +00:00
|
|
|
.
|
|
|
|
.SH SYNOPSIS
|
2014-06-07 19:21:34 +00:00
|
|
|
.B wmix
|
|
|
|
.RI [ options... ]
|
2014-06-07 19:21:33 +00:00
|
|
|
.br
|
2014-06-07 19:21:34 +00:00
|
|
|
.B wmix
|
|
|
|
.I \-h
|
2014-06-07 19:21:33 +00:00
|
|
|
.
|
|
|
|
.SH DESCRIPTION
|
2014-06-07 19:21:36 +00:00
|
|
|
Docked application to control audio mixer for OSS or ALSA.
|
|
|
|
Allows toggling record source,
|
2014-06-07 19:21:32 +00:00
|
|
|
muting individual channels, adjusting volume and balance, all in a
|
|
|
|
compact dockapp size, with TV\-like on\-screen\-display for volume levels.
|
2014-06-07 19:21:33 +00:00
|
|
|
.LP
|
2014-06-07 19:21:54 +00:00
|
|
|
Supports mouse wheel to adjust current channel's volume,
|
|
|
|
supports also the volume control keys on \(lqmultimedia\(rq keyboards
|
2014-06-07 19:21:36 +00:00
|
|
|
and can be controlled remotely with unix signals
|
|
|
|
.IR SIGUSR1 / SIGUSR2
|
|
|
|
to raise/lower the volume.
|
2014-06-07 19:21:32 +00:00
|
|
|
Keeps a simple configuration file for user\-defined settings.
|
2014-06-07 19:21:33 +00:00
|
|
|
.
|
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
2014-06-07 19:21:34 +00:00
|
|
|
\fB\-d\fR <\fIdisplay\fP>
|
|
|
|
Connect to remote X display
|
2014-06-07 19:21:33 +00:00
|
|
|
.TP
|
2014-06-07 19:21:34 +00:00
|
|
|
\fB\-e\fR <\fIname\fP>
|
2014-06-07 19:21:38 +00:00
|
|
|
Exclude channel from control (see
|
|
|
|
.SM
|
|
|
|
.B "CHANNEL NAMES"
|
|
|
|
below)
|
2014-06-07 19:21:34 +00:00
|
|
|
.TP
|
|
|
|
\fB\-f\fR <\fIfile\fP>
|
|
|
|
Use config file instead of
|
|
|
|
.I ~/.wmixrc
|
|
|
|
.TP
|
|
|
|
\fB\-h\fR
|
|
|
|
Display list of command\-line options
|
|
|
|
.TP
|
2014-06-07 19:21:56 +00:00
|
|
|
\fB\-k\fR
|
|
|
|
Disable grabbing the audio volume control keys on keyboard (see
|
|
|
|
.SM
|
|
|
|
.B BUGS
|
|
|
|
below)
|
|
|
|
.TP
|
2014-06-07 19:21:34 +00:00
|
|
|
\fB\-m\fR <\fIdevice\fP>
|
|
|
|
Use specified mixer device instead of
|
|
|
|
.I /dev/mixer
|
|
|
|
.TP
|
|
|
|
\fB\-v\fR
|
|
|
|
Verbose start, report detected channels
|
2014-06-07 19:21:33 +00:00
|
|
|
.
|
2014-06-07 19:21:35 +00:00
|
|
|
.SH CONFIGURATION FILE
|
|
|
|
If readable, the file \fI~/.wmixrc\fP (or the file specified through \fB\-f\fR option)
|
|
|
|
is read on startup.
|
|
|
|
It may contains one configuration command per line:
|
|
|
|
.TP
|
2014-06-07 19:21:57 +00:00
|
|
|
device=<\fImixer_device\fP>
|
|
|
|
defines the device file to use instead of \fB/dev/mixer\fP
|
|
|
|
.TP
|
|
|
|
exclude=<\fIchannel_name\fP>
|
|
|
|
exclude the specified channel from control, you can use it as many times as needed (see
|
|
|
|
.SM
|
|
|
|
.B "CHANNEL NAMES"
|
|
|
|
below)
|
|
|
|
.TP
|
2014-06-07 19:21:35 +00:00
|
|
|
mousewheel=<\fI0\fP|\fI1\fP>
|
|
|
|
when set to \fI0\fP, disable the volume control through mouse wheel (default=\fI1\fP)
|
|
|
|
.TP
|
|
|
|
osd=<\fI0\fP|\fI1\fP>
|
|
|
|
when set to \fI0\fP, disable display of the volume in an OSD like fashion (default=\fI1\fP)
|
|
|
|
.TP
|
|
|
|
osdcolor=<\fIcolor\fP>
|
|
|
|
specify the color to use for OSD volume display.
|
|
|
|
It can be the name of a color (see \fI/usr/share/X11/rgb.txt\fP)
|
|
|
|
or an RGB specification (as \fBrgb:\fP<\fIred\fP>/<\fIgreen\fP>/<\fIblue\fP>
|
|
|
|
with hexadecimal numbers) as expected by X11 (default=\fIgreen\fP)
|
|
|
|
.TP
|
|
|
|
scrolltext=<\fI0\fP|\fI1\fP>
|
|
|
|
when set to \fI0\fP, disable text scrolling to display the name of current selected
|
|
|
|
channel, use static short name instead (default=\fI1\fP)
|
|
|
|
.TP
|
|
|
|
wheelbtn1=<\fIbutton\fP>
|
|
|
|
.TQ
|
|
|
|
wheelbtn2=<\fIbutton\fP>
|
|
|
|
defines the buttons events associated in X11 to the mouse wheel,
|
|
|
|
with \fIbtn1\fP for up and \fIbtn2\fP for down
|
|
|
|
(default: btn1=\fI4\fP and btn2=\fI5\fP)
|
|
|
|
.TP
|
|
|
|
wheelstep=<\fIpercentage\fP>
|
|
|
|
sets the volume change step when using the mouse wheel,
|
|
|
|
specified as a percentage of the total volume range (i.e.: 1\~<\~\fIvalue\fP\~<\~100,
|
|
|
|
default=\fI3\fP)
|
|
|
|
.br
|
|
|
|
For compatibility, values between 0.0 and 1.0 will be considered as a raw percentage
|
|
|
|
.LP
|
2014-06-07 19:21:50 +00:00
|
|
|
You may include comments in the file using the character # in which case
|
|
|
|
everything will be ignored from the character to the end of the line.
|
2014-06-07 19:21:35 +00:00
|
|
|
.
|
2014-06-07 19:21:38 +00:00
|
|
|
.SH CHANNEL NAMES
|
|
|
|
The names for the different channels are provided by ALSA/OSS as short names, for which
|
|
|
|
.B wmix
|
|
|
|
provides a long name match for readability.
|
|
|
|
The default behavior is to scroll the long name of the current channel
|
|
|
|
in the text line of the dockapp, but if you disable the scroll text
|
|
|
|
then the short name will be displayed instead.
|
|
|
|
.LP
|
|
|
|
If you want to exclude a channel from the list of channels controlled by
|
|
|
|
the dockapp you have to use the short name.
|
|
|
|
You can get the list of all the channels available in your sound card with
|
|
|
|
.B wmix -v
|
|
|
|
and the short name will be between parentheses, here is an example:
|
|
|
|
.LP
|
|
|
|
.EX
|
|
|
|
Supported channels:
|
|
|
|
1: Master volume (Vol )
|
|
|
|
2: PC Speaker (Spkr )
|
|
|
|
3: PCM Wave 2 volume (Pcm2 )
|
|
|
|
4: Input gain (IGain)
|
|
|
|
5: Phone output (PhoneOut)
|
|
|
|
.EE
|
|
|
|
.
|
2014-06-07 19:21:33 +00:00
|
|
|
.SH FILES
|
2014-06-07 19:21:35 +00:00
|
|
|
.TP
|
|
|
|
.I ~/.wmixrc
|
|
|
|
User configuration file (change with option
|
|
|
|
.BR \-f )
|
2014-06-07 19:21:36 +00:00
|
|
|
.TP
|
|
|
|
.I ~/.wmix.pid
|
|
|
|
Contains process id of wmix, in case you'd need it for
|
|
|
|
.IR SIGUSR1 / SIGUSR2
|
|
|
|
volume control
|
|
|
|
.TP
|
|
|
|
.I /dev/mixer
|
|
|
|
Device used for controlling volume (change with option
|
2014-06-07 19:21:57 +00:00
|
|
|
.BR \-m " or with command " device " in the config file)"
|
2014-06-07 19:21:36 +00:00
|
|
|
.TP
|
|
|
|
.I /usr/share/doc/wmix/README
|
|
|
|
More information on the user interface
|
2014-06-07 19:21:33 +00:00
|
|
|
.
|
2014-06-07 19:21:37 +00:00
|
|
|
.SH BUGS
|
|
|
|
The \fImute\fP functionality is implemented by setting the volume to 0
|
|
|
|
and remembering the previous volume to restore it when unmuting.
|
|
|
|
While this is perfectly ok, you may encounter strange looking behavior
|
|
|
|
if you have other application controlling the volume, and possibly
|
|
|
|
implementing mute in similar ways, because there is no way to know
|
|
|
|
that a channel has been muted.
|
|
|
|
.LP
|
2014-06-07 19:21:55 +00:00
|
|
|
The X server allows only one application at a time to place a grab on a key,
|
|
|
|
so if another application already claimed the volume control keys then \fBwmix\fP
|
|
|
|
will warn you about it and continue without the functionality.
|
2014-06-07 19:21:56 +00:00
|
|
|
If on the other hand you encounter problem with applications that do
|
|
|
|
not work because they could not grab these keys (a typical symptom is
|
|
|
|
an X Error of type \fIBadAccess\fP with major opcode 33 \fIX_GrabKey\fP),
|
|
|
|
you can ask \fBwmix\fP to not grab them using the command line option
|
|
|
|
\fB-k\fP.
|
2014-06-07 19:21:55 +00:00
|
|
|
.LP
|
2014-06-07 19:21:37 +00:00
|
|
|
If you modify the configuration file, do not expect \fBwmix\fP to reload
|
|
|
|
it automatically, this is considered a too costly feature for such a
|
|
|
|
small application.
|
|
|
|
.
|
2014-06-07 19:21:33 +00:00
|
|
|
.SH AUTHORS
|
2014-06-07 19:21:32 +00:00
|
|
|
This man page was written by Fredrik Steen <stone@debian.org> for the Debian
|
|
|
|
distribution.
|
2014-06-07 19:21:36 +00:00
|
|
|
It was expanded by Christophe CURIS for the Window Maker Dev Team.
|
2014-06-07 19:21:33 +00:00
|
|
|
.PP
|
2014-06-07 19:21:36 +00:00
|
|
|
wmix was written by Tim, timecop <timecop@japan.co.jp>,
|
|
|
|
with some code by Daniel Richard G. <skunk@mit.edu>
|
2014-06-07 19:21:54 +00:00
|
|
|
and some addition by Christophe CURIS.
|