PCM (Pulse Code Modulation) was first patented in 1938 but could not be implemented until improvements in digital technology during the 1960s. PCM converts analog voice channels to digital signals by sampling the analog signal at least twice the maximum frequency, quantizing the samples, and encoding the results into binary format. This allows analog telephone networks to be replaced by digital networks for improved quality and capacity.