Calculating the response to an arbitrary time signal using the impulse response