Temperature
Temperature has a large effect on the speed of sound. Not as much as the “Medium” does, but far more than anything else. Temperature affects the speed of sound because temperature can affect the “elastic” qualities of different mediums. At the very basics lower temperatures will decrease the speed of sound while higher temperatures will increase the speed of sound, all other factors being equal.