added adsr curve calculator and basic drawing