1 args "--conf-parser --no-handle-version"
4 define(CURRENT_PROGRAM,para_fade)
5 define(DEFAULT_CONFIG_FILE,~/.paraslash/fade.conf)
7 section "General options"
8 #########################
11 include(config_file.m4)
17 values = "sleep", "snooze", "fade"
21 para_fade knows three different fading modes:
23 sleep mode: Change to the initial volume and select
24 the initial afs mood/playlist. Then fade out until
25 the fade-out volume is reached. Switch to the
26 sleep mood/playlist until wake time minus fade-in
27 time. Finally switch to the wake mood/playlist and
28 fade to the fade-in volume.
30 fade: Fade the volume to the given value in the
33 snooze: Fade out, sleep a bit and fade in.
38 "choose the mixer API"
39 string typestr = "api"
42 ALSA is preferred over OSS if both APIs are supported
43 and this option is not given. To see the supported
44 mixer APIs, use this option with an invalid string
45 as the mixer API, e.g. --mixer-api help.
48 option "mixer-device" m
49 #~~~~~~~~~~~~~~~~~~~~~~
51 string typestr = "device"
54 The default device (used if this option is not given)
55 depends on the selected mixer API. For ALSA, the
56 default is 'hw:0' which corresponds to the first sound
57 device. For OSS, '/dev/mixer' is used as the default.
60 option "mixer-channel" C
61 #~~~~~~~~~~~~~~~~~~~~~~~
62 "select the analog mixer channel"
63 string typestr = "channel"
66 For the ALSA mixer API, the possible values are
67 determined at runtime depending on the hardware and
68 can be printed by specifying an invalid mixer channel,
69 for example --mixer-channel help. The default channel
72 For OSS the possible values are invariably 'volume',
73 'bass', 'treble', 'synth', 'pcm', 'speaker', 'line',
74 'mic', 'cd', 'imix', 'altpcm', 'reclev', 'igain',
75 'ogain'. However, not all listed channels might be
76 supported on any particular hardware. The default
80 section "Options for sleep mode"
81 ################################
86 int typestr = "volume"
90 Used as the start volume, before fading out to the
96 "afs mood/playlist during fade out"
97 string typestr = "mood_spec"
101 Select this mood right after setting the
102 volume. Example: --fo-mood m/sleep
107 "fall asleep fade out time"
108 int typestr = "seconds"
112 No fading if set to 0.
117 "volume to fade out to"
118 int typestr = "volume"
122 option "sleep-mood" -
123 #~~~~~~~~~~~~~~~~~~~~
124 "sleep time afs mood/playlist"
125 string typestr = "mood_spec"
129 Select the given afs mood/playlist after the fade
130 out is complete. If unset, the \"stop\" command is
136 "(0-23) (default: now + 9 hours)"
143 int typestr = "minutes"
149 "afs mood/playlist during fade in"
150 string typestr = "mood_spec"
154 Change to this afs mood/playlist on wake time.
159 "wake up fade in time"
160 int typestr="seconds"
164 No fading in if set to 0.
169 "volume to fade to at wake time"
170 int typestr = "volume"
174 section "Options for snooze mode"
175 #################################
180 int typestr = "seconds"
186 "volume to fade to before snooze"
187 int typestr = "volume"
191 option "snooze-time" -
192 #~~~~~~~~~~~~~~~~~~~~~
194 int typestr = "seconds"
201 int typestr = "seconds"
207 "volume to fade to after snooze"
208 int typestr = "volume"
212 section "Options for fade mode"
213 ###############################
218 int typestr = "volume"
225 int typestr = "seconds"