What is the effect of humidity on the speed of sound?

Higher humidity increases the speed of sound because water vapor is less dense than dry air, reducing the overall density of the medium and allowing sound waves to move faster.