, find the 2, check out the image with a green A and orange D and … In this case, we need only 5 numbers to control the amp sliding and duration. For 3.10, the attack level should always equals to the main amp value. The sustain time should equals to the [duration you hold the key]-attack time -decay time. So, the new algorithm should contain 1 attack 2 decay 3 holding duration 4 sustain(level) 5 release. Only 4th is level, others are all times. 2 parameters less than the implement now.