Measure attack peak time and height in ADSRMeasurement.
Measure sustain time and height in ADSRMeasurement. Sustain period is considered the time after attack peak until envelope drops below silence_threshold.