Calculating Wavelength of sound using an Arduino
Setup input amplifier so that the audio waveform is clipped into a square wave.  Then feed this into a pin and use one of the frequency measurement libraries, such as this: http://interface.khm.de/index.php/lab/experiments/frequency-measurement-library/