1# wmsmixer - A mixer designed for WindowMaker with scrollwheel support
2# Copyright (C) 2001  Damian Kramer <psiren@hibernaculum.demon.co.uk>
3# Copyright (C) 1998  Sam Hawker <shawkie@geocities.com>
4# This software comes with ABSOLUTELY NO WARRANTY
5# This software is free software, and you are welcome to redistribute it
6# under certain conditions
7# See the README file for a more complete notice.
8
9# User config file
10# Should be saved as ~/.wmsmixer
11# Comments and blank lines mostly allowed
12
13# The format of this file is a series of commands:
14
15# addchannel %i
16#    Adds a channel to the sequence. %i specifies a channel.
17#    These are the values from my <linux/soundcard.h>:
18#
19#    SOUND_MIXER_VOLUME		0
20#    SOUND_MIXER_BASS		1
21#    SOUND_MIXER_TREBLE		2
22#    SOUND_MIXER_SYNTH		3
23#    SOUND_MIXER_PCM		4
24#    SOUND_MIXER_SPEAKER	5
25#    SOUND_MIXER_LINE		6
26#    SOUND_MIXER_MIC		7
27#    SOUND_MIXER_CD		8
28#    SOUND_MIXER_IMIX		9	/*  Recording monitor  */
29#    SOUND_MIXER_ALTPCM		10
30#    SOUND_MIXER_RECLEV		11	/* Recording level */
31#    SOUND_MIXER_IGAIN		12	/* Input gain */
32#    SOUND_MIXER_OGAIN		13	/* Output gain */
33#    SOUND_MIXER_LINE1		14	/* Input source 1  (aux1) */
34#    SOUND_MIXER_LINE2		15	/* Input source 2  (aux2) */
35#    SOUND_MIXER_LINE3		16	/* Input source 3  (line) */
36#    SOUND_MIXER_DIGITAL1	17	/* Digital (input) 1 */
37#    SOUND_MIXER_DIGITAL2	18	/* Digital (input) 2 */
38#    SOUND_MIXER_DIGITAL3	19	/* Digital (input) 3 */
39#    SOUND_MIXER_PHONEIN	20	/* Phone input */
40#    SOUND_MIXER_PHONEOUT	21	/* Phone output */
41#    SOUND_MIXER_VIDEO		22	/* Video/TV (audio) in */
42#    SOUND_MIXER_RADIO		23	/* Radio in */
43#    SOUND_MIXER_MONITOR	24	/* Monitor (usually mic) volume */
44#
45#    Ths channel added becomes the current channel for subsequent
46#    setmono, setleft, setright and setname commands.
47
48# setchannel %i
49#    Similar to addchannel, except the channel is not actually added
50#    to the sequence, merely made the current channel for subsequent
51#    setmono, setleft, setright and setname commands.
52
53# setmono %i
54#    Sets both left and right volumes for the current channel.
55#    The channel may be mono or stereo.
56#    The value specified must be an integer in the range 0 to 100.
57
58# setleft %i
59#    Sets left volume for the current channel.
60#    Do not use on a mono channel.
61#    The value specified must be an integer in the range 0 to 100.
62
63# setright %i
64#    Sets right volume for the current channel.
65#    Do not use on a mono channel.
66#    The value specified must be an integer in the range 0 to 100.
67
68# setname <text>
69#    Set the name for this channel. This will be displayed briefly
70#    when you switch to this channel, or when you click on the
71#    icon. The program will only use the first 4 characters of this
72#    text.
73
74# At least one channel must be added!
75
76# VOLUME
77addchannel 0
78setmono 90
79setname main
80
81# PCM
82addchannel 4
83setmono 64
84
85# SPEAKER
86addchannel 5
87setmono 0
88
89# LINE
90addchannel 6
91setmono 0
92
93# MIC
94addchannel 7
95setmono 0
96
97# CD
98addchannel 8
99setmono 90
100
101# RECLEVEL
102addchannel 11
103setmono 0
104
105# OGAIN
106addchannel 13
107setmono 0
108
109# LINE1
110addchannel 14
111setmono 0
112
113# LINE2
114addchannel 15
115setmono 100
116
117# DIGITAL1
118addchannel 17
119setmono 0
120
121# PHONEIN
122addchannel 20
123setmono 0
124
125