MIXER(1) BSD Reference Manual MIXER(1)NAMEmixer - Set audio mixer options
SYNOPSISmixer [-m number] [device [val]] [...]
DESCRIPTION
The mixer program is used to control settings on audio card mixers. The
following options are available:
-m number Select an audio card, the default is card 0.
-v Print a summary of all settings before exiting (even if
changing settings).
The device val pairs are used to change audio settings for the various
channels on the mixer. The device argument is a device name that de-
scribes a channel on the mixer, the devices available vary by audio card
and can be discovered by running mixer without any device/val arguments.
The device name may be abbreviated to the shortest unique string.
For most devices the val argument is an audio level expressed as a number
from 0 to 100. For devices that support stereo two numbers may be listed
separated by a colon, this gives the values for the left and right chan-
nels. The resolution varies by audio card so small changes in values may
not produce any effect on some cards.
If a channel does not support stereo and a stereo value is supplied only
the left channel value is used.
There is one special case device called rdev that does not take a numeric
value argument, instead a comma separated list of devices to record from
should be given.
If the val argument is not given for a device the current settings for
that channel are displayed. Multiple devices can be entered without argu-
ments.
EXAMPLES
Display all settings:
% mixer
Device Description Value
vol Master volume 50:50
bass Bass 50:50
treble Treble 50:50
pcm Primary DAC 50:50
speaker PC speaker 21
mic Microphone 32:32
mix Recording monitor 0
igain Input gain 0:0
line1 Line input 1 32:32
line2 Line input 2 32:32
line3 Line input 3 21:21
center 3D center 0:0
rdev Recording source mic
Valid recording devices: synth, line, microphone, cd
Set volume, bass, and record from line and CD:
% mixer vol 90:75 bass 100 rdev line,cd
Display current volume, bass, treble, and recording device:
% mixer vo ba tr rd
volume 90:75 bass 100:100 treble 75:75 rdev line,cd
BUGS
It is only possible to list the rdev device without a value argument (to
print its current value) last on the command line.
SEE ALSOvplay(1), sox(1)HISTORY
This mixer command was written for BSD/OS 2.1.
BSDI BSD/OS October 19, 1995 2