A system and method that adapts how an audio output is generated based on a response of a subject's sleep parameters to the audio output. In particular, one or more rules used to generate the audio output are modified in response to how values of sleep parameters (i.e. parameters responsive to a sleep state of the subject) change in response to the audio output. The audio output can be iteratively modified to assess the impact of different audio outputs.