Josh Haner

Measuring the speed of sound:

I calculated the speed of sound by first taking two measurements off of my sound file. I measured the first and second spikes of the impulse and echo and got the following times because i deleted everything prior to the first impulse making my start of the sound at t=0.
spike 1 = 0
spike 2 = .003311
This time will correspond to 2 times the distance.
So, then looking at the equation (speed of sound in m/s) x (time in seconds) = (distance traveled in meters), we can find out the distance. so i measured the pipe and found it to be 53cm long. Since the sound traveled 2 times the distance (1.06 meters), I can set up the equation:
Then I divided the meters by the seconds to calculate the speed of sound and ended up with:

320.145 meters/second


My recorded sound:

Location of the .wav file

My synthetic sound:
line of code that generated it after running the click: ((map-chan(echo .003311 .336))) I got the .336 by measuring the amplitude of the first echo and comparing it to the amplitude of the impulse.
Location of the synthetic .wav file