1 args "--conf-parser --no-handle-version"
3 section "General options"
4 #########################
10 values = "sleep", "snooze", "fade"
14 para_fade knows three different fading modes:
16 sleep mode: Change to the initial volume and select
17 the initial afs mood/playlist. Then fade out until
18 the fade-out volume is reached. Switch to the
19 sleep mood/playlist until wake time minus fade-in
20 time. Finally switch to the wake mood/playlist and
21 fade to the fade-in volume.
23 fade: Fade the volume to the given value in the
26 snooze: Fade out, sleep a bit and fade in.
29 option "config-file" c
30 #~~~~~~~~~~~~~~~~~~~~~
31 "(default='~/.paraslash/fade.conf')"
32 string typestr = "filename"
37 "choose the mixer API"
38 string typestr = "api"
41 ALSA is preferred over OSS if both APIs are supported
42 and this option is not given. To see the supported
43 mixer APIs, use this option with an invalid string
44 as the mixer API, e.g. --mixer-api help.
47 option "mixer-device" m
48 #~~~~~~~~~~~~~~~~~~~~~~
50 string typestr = "device"
53 The default device (used if this option is not given)
54 depends on the selected mixer API. For ALSA, the
55 default is 'hw:0' which corresponds to the first sound
56 device. For OSS, '/dev/mixer' is used as the default.
59 option "mixer-channel" C
60 #~~~~~~~~~~~~~~~~~~~~~~~
61 "select the analog mixer channel"
62 string typestr = "channel"
65 For the ALSA mixer API, the possible values are
66 determined at runtime depending on the hardware and
67 can be printed by specifying an invalid mixer channel,
68 for example --mixer-channel help. The default channel
71 For OSS the possible values are invariably 'volume',
72 'bass', 'treble', 'synth', 'pcm', 'speaker', 'line',
73 'mic', 'cd', 'imix', 'altpcm', 'reclev', 'igain',
74 'ogain'. However, not all listed channels might be
75 supported on any particular hardware. The default
79 section "Options for sleep mode"
80 ################################
85 int typestr = "volume"
89 Used as the start volume, before fading out to the
95 "afs mood/playlist during fade out"
96 string typestr = "mood_spec"
100 Select this mood right after setting the
101 volume. Example: --fo-mood m/sleep
106 "fall asleep fade out time"
107 int typestr = "seconds"
111 No fading if set to 0.
116 "volume to fade out to"
117 int typestr = "volume"
121 option "sleep-mood" -
122 #~~~~~~~~~~~~~~~~~~~~
123 "sleep time afs mood/playlist"
124 string typestr = "mood_spec"
128 Select the given afs mood/playlist after the fade
129 out is complete. If unset, the \"stop\" command is
135 "(0-23) (default: now + 9 hours)"
142 int typestr = "minutes"
148 "afs mood/playlist during fade in"
149 string typestr = "mood_spec"
153 Change to this afs mood/playlist on wake time.
158 "wake up fade in time"
159 int typestr="seconds"
163 No fading in if set to 0.
168 "volume to fade to at wake time"
169 int typestr = "volume"
173 section "Options for snooze mode"
174 #################################
179 int typestr = "seconds"
185 "volume to fade to before snooze"
186 int typestr = "volume"
190 option "snooze-time" -
191 #~~~~~~~~~~~~~~~~~~~~~
193 int typestr = "seconds"
200 int typestr = "seconds"
206 "volume to fade to after snooze"
207 int typestr = "volume"
211 section "Options for fade mode"
212 ###############################
217 int typestr = "volume"
224 int typestr = "seconds"