Acoustic absorption spectral peak location for gas detection