Added onset threshold.