added exponential velocity envelope
equal durations for constant and exponential velocity