not supported key exception added
apply start time offset
todo use midi end time function
apply end time
more accurate method