allow a rest in play_pattern and play_pattern_timed