Converting analog information into a digital representation by measuring the value of the analog signal at regular intervals, called samples, and encoding these numerical values in digital form. Sampling is often based on specified quantization levels. Sampling may also be used to adjust for differences between different digital systems.