Both frequency and wavelength will change. We perceive an increase of frequency as the increased pitch that you described. As the frequency (pitch) increases, the wavelength becomes shorter according to the universal wave equation ( v=fλ ).
3.4m questions
4.4m answers