Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
How does the temperature affect the speed of sound?

### Response:
The speed of sound is directly proportional to the temperature of the medium. As the temperature increases, the speed of sound increases.