Added ADSR envelope generator.