implemented basic ADSR functions, TODO: implement ADSR_PROCESS