Sound is converted into a digital format through a process called sampling. This involves measuring the amplitude of a sound wave at regular intervals. The amplitude is then converted into a numerical value, and these numerical values are stored as a sequence of discrete samples. This sequence of samples represents the sound digitally.
Sample Rate refers to the number of samples taken per second, measured in Hertz (Hz). A higher sample rate means more samples are taken, resulting in a more accurate representation of the original sound wave. For example, 44.1 kHz means 44,100 samples are taken every second. Increasing the sample rate improves the fidelity of the sound, reducing aliasing and allowing for a wider range of frequencies to be accurately captured.
Sample Resolution, also known as bit depth, determines the number of bits used to represent each sample. This affects the range of amplitude values that can be represented. A higher sample resolution means more possible amplitude values, leading to a finer and more accurate representation of the sound's amplitude. For example, 16-bit audio has 216 = 65,536 possible amplitude values. Increasing the sample resolution reduces quantization noise and improves the dynamic range of the sound.
Increasing both the sample rate and sample resolution generally improves the quality of the digital sound. Higher quality sound has less distortion, a wider frequency range, and a more accurate representation of the original sound wave. However, increasing these values also increases the amount of storage space required and the processing power needed to handle the data.