Schedule for sound detection?

Would be great for the baby as then we could only activate it while she sleeps or during the night.