wmix(1x) | wmix(1x) |
wmix - Dockapp mixer for OSS or ALSA
wmix [options...]
wmix -h
Docked application to control audio mixer for OSS or ALSA. Allows toggling record source, muting individual channels, adjusting volume and balance, all in a compact dockapp size, with TV-like on-screen-display for volume levels.
Supports mouse wheel to adjust current channel's volume, supports also the volume control keys on “multimedia” keyboards and can be controlled remotely with unix signals SIGUSR1/SIGUSR2 to raise/lower the volume. Keeps a simple configuration file for user-defined settings.
If readable, the file ~/.wmixrc (or the file specified through -f option) is read on startup. It may contains one configuration command per line:
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.
The names for the different channels are provided by ALSA/OSS as short names, for which 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.
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 wmix -v and the short name will be between parentheses, here is an example:
Supported channels:
1: Master volume (Vol )
2: PC Speaker (Spkr )
3: PCM Wave 2 volume (Pcm2 )
4: Input gain (IGain)
5: Phone output (PhoneOut)
The mute 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.
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 wmix will warn you about it and continue without the functionality. 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 BadAccess with major opcode 33 X_GrabKey), you can ask wmix to not grab them using the command line option -k.
If you modify the configuration file, do not expect wmix to reload it automatically, this is considered a too costly feature for such a small application.
This man page was written by Fredrik Steen <stone@debian.org> for the Debian distribution. It was expanded by Christophe CURIS for the Window Maker Dev Team.
wmix was written by Tim, timecop <timecop@japan.co.jp>, with some code by Daniel Richard G. <skunk@mit.edu> and some addition by Christophe CURIS.
3.2 | Fredrik Steen |