para_fade: Add description of the three modes of operation.
[paraslash.git] / fade.ggo
index 240689e1f57f9d96f0fa1e94e3487f3927f37254..388642e5c60a8f6936cd383445ea34bac67967af 100644 (file)
--- a/fade.ggo
+++ b/fade.ggo
@@ -3,10 +3,22 @@ section "general options"
 
 option "mode" o
 #~~~~~~~~~~~~~~
-
 "{sleep|fade|snooze}"
-       string default="sleep"
-       optional
+string default="sleep"
+optional
+details="
+       para_fade knows these three different modes.
+
+       sleep mode: Change to the initial volume and an initial afs
+       mode, then fade the volume down until the fade out volume is
+       reached. Switch to the afs sleep mode until the wake time is
+       reached. Then switch to the afs wake mode and and fade in to
+       the wake volume.
+
+       fade: Fade the volume to the given value in the given time.
+
+       snooze: Fade out, sleep a bit and fade in.
+"
 
 option "config_file" c
 #~~~~~~~~~~~~~~~~~~~~~
@@ -26,29 +38,34 @@ section "sleep options (only relevant in sleep mode)"
 
 option "sleep_ivol" -
 #~~~~~~~~~~~~~~~~~~~~
- "set initial volume before doing anything else"
-       int typestr="volume"
-       default="60"
-       optional
+"set initial volume"
+int typestr="volume"
+default="60"
+optional
+details="
+       Used as the start volume, before fading out to the fade out volume.
+"
 
 option "fa_mode" -
-#~~~~~~~~~~~~~~~~~~~
- "fall asleep afs mode. Select this mode
-right after setting the volume. Example:
-       --fa_mode m:sleep
+#~~~~~~~~~~~~~~~~~
+"fall asleep afs mode."
+string typestr="afs_mode"
+default="m/fade"
+optional
+details="
+       Select this mode right after setting the volume. Example:
+       --fa_mode m/sleep
 "
 
-       string typestr="afs_mode"
-       default="m:fa"
-       optional
-
 option "fa_fade" -
 #~~~~~~~~~~~~~~~~~
- "fall asleep fading time, no fading if set
-to 0"
-       int typestr="seconds"
-       default="1800"
-       optional
+ "fall asleep fading time"
+int typestr="seconds"
+default="1800"
+optional
+details="
+       No fading if set to 0.
+"
 
 option "fa_vol" -
 #~~~~~~~~~~~~~~~~
@@ -59,31 +76,37 @@ option "fa_vol" -
 
 option "sleep_mode" -
 #~~~~~~~~~~~~~~~~~~~~~~
- "change to this afs mode after fading, stop
-playing if unset."
-       string typestr="afs_mode"
-       default="m:sleep"
-       optional
+"sleep time afs mode"
+details = "
+       Select the given afs mode after the fade out is complete. If
+       unset, the \"stop\" command is sent to para_server.
+"
+string typestr="afs_mode"
+default="m/sleep"
+optional
 
 option "wake_hour" H
 #~~~~~~~~~~~~~~~~~~~
- "(0-23) (default: now + 8 hours)"
+ "(0-23) (default: now + 9 hours)"
        int typestr="hour"
        optional
 
 option "wake_min" M
 #~~~~~~~~~~~~~~~~~~
 "(0-59)"
-       int typestr="seconds"
+       int typestr="minutes"
        default="0"
        optional
 
 option "wake_mode" -
-#~~~~~~~~~~~~~~~~~~~~~
- "change to this afs mode on waketime"
-       string typestr="afs_mode"
-       default="m:wake"
-       optional
+#~~~~~~~~~~~~~~~~~~~
+"wake time afs mode"
+string typestr="afs_mode"
+default="m/wake"
+optional
+details="
+       Change to this afs mode on waketime.
+"
 
 option "wake_fade" -
 #~~~~~~~~~~~~~~~~~~~