Skip to content

Instantly share code, notes, and snippets.

@Apocrathia
Created July 21, 2014 15:29
Show Gist options
  • Save Apocrathia/35668fb4c50818e4cda7 to your computer and use it in GitHub Desktop.
Save Apocrathia/35668fb4c50818e4cda7 to your computer and use it in GitHub Desktop.
Volume Fade AppleScript
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
@Apocrathia
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment