Periodic waves

A periodic wave repeats in space every wavelength and in time every period, so its speed is $v = f\lambda$; changing the frequency in the same medium changes the wavelength, not the speed.

From AP Physics 2.