


smix(1)                Linux System Manual                smix(1)


NAME
       smix - A Simple LINUX Mixer Program

SYNOPSIS
       smix [-v] [-h] [-o file] [-i file] [command(s)]

DESCRIPTION
       smix , a simple mixer program that controls the Mixer set-
       tings of /dev/mixer from the command line parameter(s).

       The commands are detailed below, capitals showing the min-
       imum abbreviation allowed. Upper or lower case can be used
       on the command line. All  Volume  settings  are  in  range
       0-100 (0 min, 100 max), but these are scaled to the mixers
       actual range, hence set volume may be slightly  different.


       SHow   outputs  the  settings  of  the  mixer. This is the
              default if no command line parameters are given

       dev N or L,R
              sets mixer device 'dev' to volume N, or to seperate
              left  and right stereo volume L,R If device doesn't
              support stereo settings then max of L,R is used.

       INput dev
              set the DSP input to be 'dev'  or  'NOne'  to  turn
              inputs off

       Verbose
              makes  the  program output the settings after doing
              the commands

OPTIONS
       -h     show usage summary,  which  also  lists  the  mixer
              devices and the possible input devices.

       -v     be  verbose - outputs the results of commands. Same
              as Verbose above

       -i file
              read commands from file

       -o file
              divert standard output to file.

       Use '-' as a filename to indicate standard input.

EXAMPLES
       smix   Displays the current mixer devices and  their  cur-
              rent settings.

       smix input line1 line1 60 mic 0 show
              sets  input  to  line1,  line1 volume to 60 and mic



Release 1                  28 Feb 1997                          1





smix(1)                Linux System Manual                smix(1)


              volume to 0 (off) and  shows  the  total  resultant
              mixer settings.

       smix line1 60,0 show
              sets  left line1 input to volume 60 and right line1
              input to 0 (off) and shows the resultant output.

       smix -i /etc/mixer.default
              set  the  mixer  settings  from  smix  commands  in
              /etc/mixer.default.

FILES
SEE ALSO
       All  the other mixer programs that float around the inter-
       net.

BUGS
COPYING
       Copyright 1995, 1996, 1997 the author (see below)

       The software described by this manual is  covered  by  the
       GNU  General  Public License, Version 2, June 1991, issued
       by :

              Free Software Foundation, Inc.,
              675 Mass Ave,
              Cambridge, MA 02139, USA

       Permission is granted  to  make  and  distribute  verbatim
       copies  of  this  manual provided the copyright notice and
       this permission notice are preserved on all copies.

       Permission is granted to copy and distribute modified ver-
       sions  of  this  manual  under the conditions for verbatim
       copying, provided that the entire resulting  derived  work
       is  distributed  under  the  terms  of a permission notice
       identical to this one.

       Permission is granted to copy and distribute  translations
       of this manual into another language, under the above con-
       ditions for modified versions, except that this permission
       notice  may  be  included in translation instead of in the
       original English.

AUTHOR
       Jim Jackson
       School of Computer Studies
       The University of Leeds
       Leeds, LS2 9JT, UK

       Email: jj@scs.leeds.ac.uk






Release 1                  28 Feb 1997                          2


