This code calculates the speed of sound and frequency-dependent attenuation coefficient in air, given acoustic (laser-ultrasound) data recorded at various distances from source to detector. PALplots functions are used for visualization: https://github.com/PALab/palplots.