The benefits of digital audio


Free Download Mp4Gain
picture

The benefits of digital audio

Digital Audio

The basics of “numbers”

DIGITAL AUDIO

Each of the multimedia devices on sale today, be it a CD player, a voice recorder or a flash memory player, uses many different types of presentation of data streams, which are then converted into sound. And even more sound formats used for professional purposes have been invented. An inexperienced buyer is forced to gather information on designations on boxes and devices from a variety of sources, often receiving incorrect information or even more confusion.

Almost all devices in the “Portable Audio” section of the ZOOM.CNews.ru catalog support multiple sound formats at the same time, and many devices that do not belong in this category are also tagged with support for playing sound files. To help our reader, we decided to create a short glossary of abbreviations and talk about the most common formats. We plan to leave it open for updates and modifications, adding new formats and describing in more detail the advantages and disadvantages of the already common or forgotten ones.

A little theory

To begin with, remember that digital sound is nothing more than a collection of numbers. The determining factor is the system by which sound as air pressure is converted into data streams and encoded for further processing and reproduction. Consequently, digital sound is usually included in computer files with various extensions, which more often (but not always) can determine their format. And the same concept of format can have, paradoxically, two meanings. First, the format may exist as a general characteristic, including both the type and the physical characteristics of the medium (disc or cassette), method of recording, principles of encoding, and protection against errors. Second, the format can only be understood as the method of encoding and compressing sound, as standard means are used for transfer, for example a computer.

Analog sound, unlike digital, is reproduced on analog devices and has several significant differences. While not a data stream, analog sound is represented as a continuous electrical signal that represents the change in sound wave. To translate it into digital format, the sound is “digitized”, that is, it is divided into certain segments, in which the numerical value of the amplitude is fixed at that moment. We will not delve into the principles of digital sound creation, but it is absolutely necessary to note that the more often a sound segment is divided and its characteristics described, the clearer and more complete the sound image itself is created.

This process generates an enormous flow of data that describes the sound, and it is clear that each digital audio format is nothing more than a compromise between the need to present the sound as loud as possible and the limitations of the memory of the computer or device. Of reproduction.

A little more theory. In most cases, the human ear perceives sound with a frequency no higher than 22,000 Hz and, to describe it fully in digital form, a sampling frequency of at least 44.1 kHz is required. Since it is absolutely impossible to determine the value of the signal at any given time, during digitization quantization occurs, that is, the replacement of the actual values ​​of the signal by approximate values. The more levels of audio quantization, the more accurately the signal level is described. As a result, each standard CD carries an audio signal with a sampling frequency of the same 44.1 kHz and a 16-bit quantization level,


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

Is the digital signal distorted during transmission and storage?

Is the digital signal distorted during transmission and storage?

DIGITAL AUDIO

Since any digital signal is represented as a real voltage or current electrical curve, its shape is distorted in one way or another during any transmission, and a signal “frozen” for storage (signalogram) is subject to degradation due to physical reasons. common.

Digital Audio

All of these influences on the shape of the carrier signal are interferences that, up to a certain value, do not change the information content of the signal, since individual distortions and letter loss in words generally do not interfere with the correct understanding of words. words, and information redundancy, such as an increase in the length of the words, increases the probability of successful recognition. … In other words, the carrier signal itself can be distorted, but the information it carries, the encoded audio signal, remains unchanged in the vast majority of cases.

So that the quality of the carrier signal does not deteriorate, any transmission of useful audio information (copying, writing to a carrier and reading it) must necessarily include the operation of restoring the form of the carrier signal, and ideally, and the digital form primary of the information signal, and only after that the newly generated carrier signal can be transmitted to the next consumer. In the case of direct copy without restoration (for example, simply rewriting a video cassette with a digital signal obtained with a PCM decoder in common VCRs), the quality of the digital signal deteriorates, although it still contains all the information it carries. However, after repeated sequential copies or long-term storage, the quality deteriorates so much that unrecoverable errors begin to appear that irreversibly distort the information carried by the signal. Therefore, the copying and transmission of digital signals should be done only on digital devices and, when stored on media, should be “updated” in a timely manner without waiting for irreversible degradation (for magnetic media, this period is estimated to be several years ). A correctly transmitted or updated digital signallogram does not lose quality and can be copied and exist forever in absolutely unaltered form. without waiting for irreversible degradation (for magnetic carriers this period is estimated to be several years). A correctly transmitted or updated digital signallogram does not lose quality and can be copied and exist forever in absolutely unaltered form. without waiting for irreversible degradation (for magnetic carriers this period is estimated to be several years). A correctly transmitted or updated digital signallogram does not lose quality and can be copied and exist forever in absolutely unaltered form.

However, it should not be forgotten that the correctness of any code is finite, and the actual carriers are far from ideal, therefore the occurrence of unrecoverable errors is such a rare thing, especially with careless handling of the carrier. When reading new and correctly stored DAT cassettes or CDs on high-quality and reliable devices, these errors practically do not occur, however, with aging, contamination and damage of media and reading systems, they become more. A single uncorrected error is almost always invisible to the ear due to interpolation, however, it leads to distortion of the original sound signal, and the accumulation of such errors over time begins to be felt in the ear.

A separate problem is the difficulty of recording uncorrected errors, as well as verifying the identity of the original and the copy. Very often, designers of digital audio devices operating in real time do not care about the issue of accurate verification of the reliability of the transmission, considering that the measures taken to correct the errors are sufficient. In the general case, the impossibility of retransmitting an erroneous sample or block leads to interpolation occurring secretly and after copying it is impossible to say with certainty whether the original signal was copied exactly. Error indicators, which are found on some devices, usually light up only at the moment of their appearance, and in the case of single errors, their operation can easily go unnoticed. Even in personal computer-based systems, it is often impossible to control the accuracy of reception through a digital interface or direct reading from a CD; the only way out is to repeat the operation and compare the results.

What are the pros and cons of digital audio?

What are the pros and cons of digital audio?

Digital Audio

The digital representation of sound is valuable, first of all, for the possibility of endless storage and reproduction without loss of quality; however, the conversion from analog to digital and vice versa inevitably leads to its partial loss.

digital audio

The most unpleasant distortions introduced in the digitizing stage are the granular noise that occurs when the signal is quantized by level due to rounding of the amplitude to the nearest discrete value. Unlike simple broadband noise introduced by quantization errors, granular noise is the harmonic distortion of the signal, most noticeable in the upper part of the spectrum.

The power of the granular noise is inversely proportional to the number of quantization steps; However, due to the logarithmic characteristic of hearing with linear quantization (constant step value), quiet sounds have fewer quantization steps than loud sounds, and as a result, the main density of non-linear distortions falls in the region of sounds. silent. This leads to a limitation of the dynamic range, which ideally (without taking into account harmonic distortion) would be equal to the signal-to-noise ratio, but the need to limit this distortion reduces the dynamic range for 16-bit encoding to 50-60 dB. The situation could have been saved by logarithmic quantification, but its implementation in real time is very difficult and expensive.

The distortion introduced by granular noise can be reduced by adding normal white noise (random or pseudo-random signal) to the signal, with an amplitude of half the least significant bit; such an operation is called dithering. This leads to a slight increase in the noise level, but weakens the correlation of quantization errors with the components of the high-frequency signal and improves subjective perception. Anti-aliasing is also applied before rounding the samples by decreasing their bit depth. Essentially, dithering and noise shaping are special cases of the same technology, with the difference that, in the first case, white noise with a flat spectrum is used and, in the second, noise with a spectrum with a “shape “special.

When restoring audio from digital to analog, there is the problem of smoothing the stepped waveform and suppressing the harmonics introduced by the sample rate. Due to the imperfection of the frequency response of the filters, insufficient suppression of this interference or excessive attenuation of useful high-frequency components may occur. Poorly suppressed sample rate harmonics distort the shape of the analog signal (especially in the high frequency region), resulting in a “rough” and “dirty” sound.