It is relative to the air density. Air density is affected by altitude and humidity content. Sound travels faster through dense air and humidity adds to the density. All things being equal, the speed differential is only a few mph under all normal atmospheric conditions up to about 20,000 feet.