smixer

Langue: en

Version: v1.0.3 - 2003-06-09 (mandriva - 01/05/08)

Section: 1 (Commandes utilisateur)

NAME

smixer - a simple interface to /dev/mixer

SYNOPSIS

 smixer [-a] -p           (print settings)
 smixer [-a] --set [file] (set settings from file or stdin)
 

DESCRIPTION

smixer is a command-line and scriptable program to control and display the mixer volume levels on a sound card in linux. smixer is ideal for setting mixer settings on startup or to switch between multiple configurations quickly.

OPTIONS

smixer may be invoked with the following command-line options:
-a
When printing current settings include all devices.
-p
Print out the current mixer settings, then exit.
--set file
Process commands from file, then exit.
--set
Process commands from stdin (interactive or from a pipe), then exit.

Command Synopsis

These commands can be issued through an input file or from stdin when smixer is started in the --set mode
show
Print out the current mixer settings. This is equivilant to running smixer with the -p argument.
vol name value
Set the volume for a specific input or output device. name is the name of the device as shown in the show command. value is the percent volume to set or ``-'' to decrease 5% or ``+'' to increase 5%
recsrc name
Set the recording source to a specific input device. name is the name of an input device as shown in the show command. Only sources that are capable of input can be set.
help
Print out a short description of the commands
quit
End command processing and exit the program.

Example Commands

vol Vol 70
Sets the master volume to 70%
vol CD 0
Sets the CD input volume to 0%
vol pcm +
Increases the pcm volume 5%
recsrc Mic
Sets the recording source to the Mic input device

Example Output


 $ smixer -p
 ID: Name       Act  Rec  Channels     Volume
 --  --------   ---- ---- -------- ----------
  0: Vol        Yes  Yes  Stereo   25700 100%
  1: Bass       Yes       Stereo   12850  50%
  2: Trebl      Yes       Stereo   12850  50%
  4: Pcm        Yes  Yes  Stereo   22616  88%
  5: Spkr       Yes       Mono         0   0%
  6: Line       Yes  Yes  Stereo       0   0%
  7: Mic        Yes  Yes* Mono         0   0%
  8: CD         Yes  Yes  Stereo       0   0%
 11: Rec        Yes       Stereo       0   0%
 13: OGain      Yes  Yes  Stereo    1285   5%
 14: Line1      Yes  Yes  Stereo       0   0%
 15: Line2      Yes       Stereo   25700 100%
 16: Line3      Yes       Stereo   25700 100%
 17: Digital1   Yes       Stereo       0   0%
 18: Digital2   Yes       Stereo   25700 100%
 20: PhoneIn    Yes  Yes  Mono         0   0%
 24: Monitor         Yes  Mono         0   0%

BUGS

E-mail bug reports to smixer@centerclick.org. smixer has been tested on several linux systems and might work in other OSS supported OS's aswell. Newer versions can be obtained from http://centerclick.org/programs/smixer/