implemented basic Attack curve of Adsr type