Goodnight timer gently reduces the sound volume of your computer in a given amount of time and speed and then shuts down your computer. It is a freeware scheduling application that's easy to setup and powerful.
Here are some screenshots to illustrate the features and user interface of this application: