Update sound velocity by phase difference

velocity = frequency x wavelength

phase difference = path difference x 2 pi/wavelength