# How does the change in speed of sound affect our perception of pitch?

Let’s say the speed of sound is 343m/s and thus the wavelength of the note with frequency 440Hz is about 0.78 meters. If I played the same note through a medium where the speed of sound was doubled to 686m/s, how would this affect my pitch perception? Would the played note retain its frequency of 440Hz and result in a doubling of the wavelength thus retaining the same ‘pitch’ or would the perceived sound be twice as high?

What if the speed of sound was constantly increasing? How would that affect our perception of the pitch?