How does the temperature affect the speed of sound?

The speed of sound increases with increasing temperature. This is because the particles in the medium move faster and can transmit the sound waves more quickly.