Sped up = shrink down wavelength to fit all the digital information = higher frequency = higher pitch
Slowing down is the opposite.
Sound is just a wave afterall. It has a frequency. In a recorded voice you obviously have so many different sound waves with variable amplitudes and frequencies, and you affect them all by changing the playback speed.
Latest Answers