You should not listen to music for more than 24 hours. You can play the music once your baby is about to sleep. Your baby might also get habituated to the music and find it difficult to sleep without the white noise music.