Add variable sleep time based on oversampling-rate osr.