Utility for automatically pausing and resuming music at appropriate times.