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)
18 values = "sleep", "snooze", "fade"
22 para_fade knows three different fading modes:
24 sleep mode: Change to the initial volume and select
25 the initial afs mood/playlist. Then fade out until
26 the fade-out volume is reached. Switch to the
27 sleep mood/playlist until wake time minus fade-in
28 time. Finally switch to the wake mood/playlist and
29 fade to the fade-in volume.
31 fade: Fade the volume to the given value in the
34 snooze: Fade out, sleep a bit and fade in.
39 "choose the mixer API"
40 string typestr = "api"
43 ALSA is preferred over OSS if both APIs are supported
44 and this option is not given. To see the supported
45 mixer APIs, use this option with an invalid string
46 as the mixer API, e.g. --mixer-api help.
49 option "mixer-device" m
50 #~~~~~~~~~~~~~~~~~~~~~~
52 string typestr = "device"
55 The default device (used if this option is not given)
56 depends on the selected mixer API. For ALSA, the
57 default is 'hw:0' which corresponds to the first sound
58 device. For OSS, '/dev/mixer' is used as the default.
61 option "mixer-channel" C
62 #~~~~~~~~~~~~~~~~~~~~~~~
63 "select the analog mixer channel"
64 string typestr = "channel"
67 For the ALSA mixer API, the possible values are
68 determined at runtime depending on the hardware and
69 can be printed by specifying an invalid mixer channel,
70 for example --mixer-channel help. The default channel
73 For OSS the possible values are invariably 'volume',
74 'bass', 'treble', 'synth', 'pcm', 'speaker', 'line',
75 'mic', 'cd', 'imix', 'altpcm', 'reclev', 'igain',
76 'ogain'. However, not all listed channels might be
77 supported on any particular hardware. The default
81 section "Options for sleep mode"
82 ################################
87 int typestr = "volume"
91 Used as the start volume, before fading out to the
97 "afs mood/playlist during fade out"
98 string typestr = "mood_spec"
102 Select this mood right after setting the
103 volume. Example: --fo-mood m/sleep
108 "fall asleep fade out time"
109 int typestr = "seconds"
113 No fading if set to 0.
118 "volume to fade out to"
119 int typestr = "volume"
123 option "sleep-mood" -
124 #~~~~~~~~~~~~~~~~~~~~
125 "sleep time afs mood/playlist"
126 string typestr = "mood_spec"
130 Select the given afs mood/playlist after the fade
131 out is complete. If unset, the \"stop\" command is
137 "(0-23) (default: now + 9 hours)"
144 int typestr = "minutes"
150 "afs mood/playlist during fade in"
151 string typestr = "mood_spec"
155 Change to this afs mood/playlist on wake time.
160 "wake up fade in time"
161 int typestr="seconds"
165 No fading in if set to 0.
170 "volume to fade to at wake time"
171 int typestr = "volume"
175 section "Options for snooze mode"
176 #################################
181 int typestr = "seconds"
187 "volume to fade to before snooze"
188 int typestr = "volume"
192 option "snooze-time" -
193 #~~~~~~~~~~~~~~~~~~~~~
195 int typestr = "seconds"
202 int typestr = "seconds"
208 "volume to fade to after snooze"
209 int typestr = "volume"
213 section "Options for fade mode"
214 ###############################
219 int typestr = "volume"
226 int typestr = "seconds"