There could be an allowance for time spent not playing music. Keep the timer going for a few minutes after the music has stopped. Require a minimum ratio of music playing time to overall time. So, after a lengthy silence, only playing music will advance the timer.
But, yeah, it may or may not be helpful.