smix(1)
π smix(1) β the Linux System Manual glow-up π
okay bestie, buckle up, we're reading the smix(1) page together and it's genuinely so useful. smix is a Simple LINUX Mixer Program and it's about to become your new fave π
β¨ NAME β¨
smix β A Simple LINUX Mixer Program
πΈ SYNOPSIS πΈ
smix [-v] [-h] [-o file] [-i file] [-m file] [-s] [command(s)]
π¦ DESCRIPTION π¦
so smix is a simple mixer program that either reports or controls the Mixer settings of /dev/mixer β or, like, whatever specific mixer device file you point it at with the -m file option β straight from the command line parameter(s). no GUI, no drama, just vibes π
The commands are detailed below, and the capitals show the minimum 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 mixer's actual range, hence the set volume may be slightly different. iykyk π«Ά
To see what devices/channels the mixer is configured with and to get a command summary, use smix -h
SHoworALLβ outputs the settings of the mixer. This is the default, if no command line parameters are given. literally the main character default behaviour πdevβ outputs the current settings for the mixer device nameddevdev NorL,Rβ sets mixer devicedevto volumeN, or to separate left and right stereo volumeL,R. If the device doesn't support stereo settings then the max ofL,Ris used. The wordoffcan be used instead of0andfullcan be used instead of100. so iconic of it β¨ALL NorL,Rβ sets all mixer devices to the specified volume setting (see above).INput devβ set the DSP input to bedevorNOneto turn inputs offVerboseβ 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. the little map you need fr fr πΊοΈ-vβ be verbose β outputs the results of commands. Same asVerboseabove-i fileβ read commands fromfile-o fileβ divert standard output tofile.-m fileβ usefileinstead of the default/dev/mixer. The file has to be a valid mixer device type. no cap, it has to be valid or it's not happening π-sβ causessmixto output mixer settings etc in a form that can be read bysmixto cause the same settings to be set. This can be used to record the settings of all or part of the mixer into a file, change the settings, then getsmixto reset the original settings by giving the file as an input file, see examples below. it's giving time-travel for your mixer settings βͺπ
Use - as a filename to indicate standard input.
π EXAMPLES π
smixβ Displays the current mixer devices and their current settings.smix -m /dev/mixer1β Displays the devices and their current settings for/dev/mixer1smix input line1 line1 60 mic 0 showβ sets input toline1,line1volume to60andmicvolume to0(off) and shows the total resultant mixer settings.smix line1 60,0 showβ sets leftline1input to volume60and rightline1input to0(off) and shows the resultant output.smix -i /etc/mixer.defaultβ set the mixer settings fromsmixcommands in/etc/mixer.default.smix -i -β take mixer commands from stdin, with output to stdout. If stdin and stdout is the keyboard and display, then mixer commands can be typed and executed interactively and control is retained of the mixer whilesmixis running. interactive slay β¨smix -s -o mixer.confβ record the current settings of the default mixer in filemixer.confin a form that can be fed back in tosmix.smix -i mixer.conf -o /dev/nullβ take the file saved, as above, and reset the mixer settings, without doing any output.
π OPTIONAL CONFIGURATION FILES π
Three possible configuration files can be used: a LOCAL config file (usually in current directory), a HOME config file in the user's $HOME directory and a GLOBAL config file.
All the siggen suite of programs are compiled with the names of the config files built in. By default the configuration files are:
./.siggen.confβ is the LOCAL config file.$HOME/.siggen.confβ is the HOME config file./etc/siggen.confβ is the GLOBAL config file.smix -hβ will indicate which config files will be searched for.
The config files do not have to exist. If they exist and are readable by the program they are used, otherwise they are simply ignored. no pressure, they're just there if you want them π§
The config files are always searched for configuration values in the order LOCAL, HOME, GLOBAL. This allows a scheme where the sysadmin sets up default config values in the GLOBAL config file, but allows a user to set some or all different values in their own HOME config file, and to set yet more specific values when run from a particular directory. honestly? a whole hierarchy of vibes π
If no configuration files exist, the program provides builtin default values, and these values can be set by appropriate command line options and flags.
See siggen.conf(5) for details of the configuration files.
smix currently looks for configuration values MIXERFILE, VERBOSE.
MIXERFILEβ allows the name of the mixer device file to be changed from/dev/mixerVERBOSEβ sets whether or not to run in verbose mode.
β SEE ALSO β
siggen.conf(5)- All the other mixer programs that float around the internet. π
π BUGS π
(no bugs listed here in the original, bestie β the section is just... empty. living rent free. iconic behaviour, honestly π«Ά)
π₯ COPYING π₯
Copyright 1995-2008 Jim Jackson
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 versions 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 conditions for modified versions, except that this permission notice may be included in translation instead of in the original English.
π AUTHOR π
Jim Jackson
Email: jj@franjam.org.uk
and that's the whole page bestie!! πβ¨ this was Release 2, dated 20 Feb 1998 β yeah she's vintage, she's a classic, and she still serves π go forth and mix, you absolute icon ππΈ
π¦ where this page comes from
- debian bookworm: siggen 2.3.10-11
- ubuntu jammy: siggen 2.3.10-11
- ubuntu noble: siggen 2.3.10-11
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms