What is digital audio?


Free Download Mp4Gain
picture

What is digital audio?

Digital Audio

Digital sound is nothing more than a combination of numbers. With a certain algorithm, sound, such as air pressure, is converted into data streams and encoded for further processing and playback. Depending on the algorithm used, the music file has one format or another, one or another extension.

Analog Vs. Digital Sound

Remember that along with digital sound, there is analog sound, which is represented by a continuous electrical signal that reflects the change in the sound wave. The analog to digital sound conversion is a setting of the numerical value of the amplitude at a given time with a given density of values. Consequently, the more values ​​that are recorded, the more reliable and accurate the image of the digitized sound fragment is recreated. With such digitization, very voluminous data matrices emerge that, depending on the format used, differ in the sound quality / volume ratio of the final file.

Perhaps the main advantage of digital audio over analog is the ability to store and copy data indefinitely without losing the original quality (whereas when copying from one analog medium to another, a decrease in recording quality is quite noticeable).

The most widespread and popular digital audio format today is MP3 (MPEG Layer 3). It was developed, after a series of intermediate formats and investigations, started in 1987, by the Fraunhofer Institute in Germany.

The developers of the format were faced with the task of simplifying and reducing the cost of shipping long musical fragments. As you know, one minute of a stereo signal from a CD (16 bit, 44.1 kHz sample rate) takes up about ten megabytes of memory. At the same time, unlike text or graphic files, the audio signal cannot be compressed without loss of quality. Thus, modem transmission of an uncompressed composition from an audio CD lasting 3 minutes at a data transfer rate of, say, 24 kbps will take several hours. Scientists at the Fraunhofer Institute managed to achieve multiple file size compression: on average, one minute of a compressed audio signal in MP3 format takes about 1 megabyte. The principle of compression is based on the elimination of “unnecessary” sounds from the music file, to which the human ear is immune, or that duplicate each other.

The main factor that determines the relationship between file size and sound quality within a given format is the bit rate. Bit rate is an indicator of how much information a second of sound encodes. The higher it is, the less distortion and the closer the encoded composition is to the original. The most common on the Internet are compositions with 128 and 192 Kbps bitrates. The maximum bitrate supported by programs and devices that work with MP3 is 320 Kbps. In practice, only an expert or a professional who works with sound can notice the differences between an MP3 file with a 320 bit rate.

To optimize the size of MP3 music files while maintaining decent quality, a variable bit rate (abbreviation VBR – variable bit rate) is used. In this case, the encoding program divides the file into fragments of different spectral saturation and encodes them with a suitable bit rate. Most modern MP3 players support variable bit rate playback. A significant advantage of MP3 files is that they can contain the name of the artist, the name of the track and the album, the year of its release, etc. The set of this data is called ID3 tags. Most modern gamers can read and display them on the screen.

In 2001, Swedish Coding Technologies and Thomson Multimedia developed the MP3 Pro codec. It is MP3-based and as a result is fully MP3 backward compatible and only partially forward compatible. It uses SBR (Spectral Band Replication) technology, so the codec provides good quality at low bit rates. However, the encoding quality at medium to high bit rates is inferior to that of most other codecs. For this reason, this format is mainly used for broadcasts on the Internet and demonstrations of fragments of new musical compositions.

Another type of MP3 was the development of MP3 Surround, recently introduced by the creators of MP3: the Fraunhofer Institute. This format repeats all the characteristics of multichannel sound, while still being compatible with standard stereo MP3: information describing the spatial characteristics of the sound is recorded on an additional track. By playing files of this format on special equipment capable of reading this track, you can obtain surround sound that conforms to the Surround 5.1 standard.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

Digital audio: a simple but deep explanation about digital audio. Part 1

Sound is a phenomenon that implies a propagation of waves generally produced by a vibratory movement of a body. The propagation of sound implies a transport of energy without carrying out a transport of matter.

digital audio

As the sound is produced by a wave movement when applying the Fourier transform we can express it by a sum of sinusoidal curves that correspond to pure tones that can be characterized by the magnitudes of any wave such as:

-Period It is the time elapsed between two equivalent points of a wave.
– Wavelength It is the real distance a wave travels from its highest point to the next equivalent point.
-Frequency It is the magnitude that measures the number of repetitions in a space of time.
-Amplitude It is the distance between the furthest point of the wave with the equilibrium point.

These magnitudes give the sound a series of characteristics such as:

-Duration: Determines the length or short of the sound due to the time, measured in seconds, it occupies.
-Intensity: Determines the high or low sound due to what we know in relative terms as volume, which is measured in decibels (it is a logarithmic scale).
-Timbre: Determines the proper nuance of each instrument or sound source due to the different harmonics that compose it.
– Hue: Determines the acute or serious sound due to the frequency it has. The frequency is measured in hertz (Hz).

If we carefully consider it, we will see that the initial concept of Mp3Gain was intensity, which is measured in decibels and represents the loudness we perceive.

digital audio

Digital audio

Digital audio is the digital coding of an electrical signal that represents any sound wave. This electrical signal is picked up for example by a microphone, which takes the sound whose nature is analog and transforms it into electricity that still has the same type of analog nature, then through the necessary hardware and software it can be transformed into binary information, turning Something continuous in discreet. This process involves two tasks: sampling and digital quantification of the electrical signal.

Within the digital audio there are different types of formats to represent the audio:

-PCM: They contain all the information received from the analog to digital converter, without any omission of data. This makes the type of formats that have the best quality in the digital world. WAV is an example of this type of format in question.

-Compressed: It is similar to the previous one, but specific compression techniques are used in which “non-essential” information can be lost to reduce the size of the final file. They usually have good quality in relation to the weight of the file, but as noted above, information is lost, so those with sufficiently developed / trained ears might perceive that there is something strange in a song for example. On the one hand we have formats such as MP3 and OGG that compress with loss, compared to FLAC that compresses without loss. Obviously between one format and the other there is a notable difference in the size of the final file.

-Descriptive: They are used primarily to make music and contain mainly a description of what would be the “score” of the song. With this description, the algorithm, which reproduces the song, can take a sound source with samples of the instruments that the composition needs, to synthesize the final sound based on the indications of the “score”. Examples of this format are MIDI and tracker formats (MOD, XM, IT, etc.). The difference between MIDI and tracker formats is that the latter bring built-in sound sources into the file, so the final file weighs more than using MIDI. However, with MIDI we will need to obtain a sound source on our own or use the one that brings the default sound card (which is not usually too good).