You go to bed but feel like listening to some music, helping you fall asleep.
This app lets you set wake and sleep alarms on your Mac.
This Mac app lets you set a sleep timer for your computer.