text: By far, the most important factor influencing the speed of sound in air is temperature. The speed is proportional to the square root of the absolute temperature, giving an increase of about  per degree Celsius. For this reason, the pitch of a musical wind instrument increases as its temperature increases.
  The speed of sound is raised by humidity. The difference between 0% and 100% humidity is about  at standard pressure and temperature, but the size of the humidity effect increases dramatically with temperature.
  The dependence on frequency and pressure are normally insignificant in practical applications. In dry air, the speed of sound increases by about  as the frequency rises from  to . For audible frequencies above  it is relatively constant. Standard values of the speed of sound are quoted in the limit of low frequencies, where the wavelength is large compared to the mean free path.
  As shown above, the approximate value 1000/3 = 333.33... m/s is exact a little below 5 °C and is a good approximation for all "usual" outside temperatures (in temperate climates, at least), hence the usual rule of thumb to determine how far lightning has struck: count the seconds from the start of the lightning flash to the start of the corresponding roll of thunder and divide by 3: the result is the distance in kilometers to the nearest point of the lightning bolt.