Fixed error in getADSREnvelope() method