Created
July 21, 2014 15:29
-
-
Save Apocrathia/35668fb4c50818e4cda7 to your computer and use it in GitHub Desktop.
Volume Fade AppleScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set desiredVolume to 25 -- set to regular listening level | |
set interval to 15 -- start to finish time | |
set waitTime to 60 -- 1 minute wait time | |
repeat with X from 1 to desiredVolume | |
set volume output volume X | |
delay waitTime | |
end repeat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I use this in conjunction with an Automator action on my calendar. The Automator action loads the NPR 24 hour stream every morning, and this gradually raises the volume. Pretty simple alarm clock.