
Sound digitization – Part 2

Now to the practical problems. First of all, it must be taken into account that the memory of the computer is not infinite, so each time it is digitized it is necessary to find some kind of compromise between the quality (which depends directly on the parameters used during the digitization) and the volume occupied by the digitized signal.

Second, according to Kotelnikov’s theorem, the sampling frequency sets the upper limit of the frequencies of the digitized signal, that is, the maximum frequency of the spectral components is equal to half the sampling frequency of the signal. Simply put, to get complete information about sound in the frequency band up to 22050 Hz, sampling with a frequency of at least 44.1 kHz is required.
There are other issues and nuances associated with digitizing sound. Without going into the details, we note that in the “digital sound”, due to the discretion of the information about the amplitude of the original signal, various noises and distortions appear (the phrase “there are such and such frequencies and noises in digital sound” means that when this sound is converted back from digital to analog, the aforementioned frequencies and noises will be present in your sound). So, for example, jitter (jitter) – noise that appears as a result of the fact that the sampling of the signal during sampling does not occur in absolutely equal time intervals, but with some deviations. That is, if, for example, you are sampling at a frequency of 44.1 kHz, the samples are not taken exactly every 1/44100 of a second, but sometimes a little earlier and then a little later. And since the input signal is constantly changing, such an error leads to the “capture” of an inaccurate signal level. As a result, some jitter and distortion may be felt during playback of the digitized signal. The appearance of jitter is the result of a non-absolute stability of the analog to digital converters. To combat this phenomenon, highly stable clock generators are used. Another annoyance is the crushing noise … As we said, by quantifying the amplitude of the signal, it is rounded to the nearest level. This inaccuracy results in a “dirty” sound.
A little reference: the standard parameters for recording audio CDs are as follows: sampling frequency – 44.1 kHz, quantization level – 16 bits. Said parameters correspond to 65536 (2 16) levels of amplitude quantization when their values are taken 44100 times per second.
In practice, the digitization process (sampling and quantization of the signal) remains invisible to the user: all the basic work is carried out by various programs that give the appropriate commands to the driver (operating system control routine) of the sound card. . Any program (be it built-in Windows Recorder or a powerful sound editor) capable of recording an analog signal on a computer somehow digitizes the signal with certain parameters that may be important in further work with the recorded sound, and for this reason It is important to understand how the digitization process is carried out and what factors influence its results.







