Delay (time of flight)

Used to find the delay in milliseconds of an impulse response.

The algorithm to find the delay used here is very simple. The maximum value of the impulse response is found and the time where this maximum value occurs is the delay.

This should work well where the direct sound is strong, but will not give correct results if later reflection is stronger than the direct sound.