Misconceptions about digital audio


Free Download Mp4Gain
picture

Misconceptions about digital audio

Digital Audio

The higher the bitrate, the better the track

This is not always the case. For starters, let me remind you what bitrate t (bitrate, instead of bitraid). In fact, this is the data rate in kilobits per second during playback. That is, if we take the size of the track in kilobits and divide it by its duration in seconds, we get its bit rate, the call. File-based bitrate (FBR), usually not too different from the bitrate of the audio stream (the reason for the differences is the presence of metadata on the track: tags, “embedded” images, etc.) .

Digital audio

Now let’s take an example: the uncompressed PCM audio bit rate recorded on a normal audio CD is calculated as follows: 2 (channels) × 16 (bits per sample) × 44100 (samples per second) = 1411200 (bps ) = 1411.2 kbps … Now let’s grab and compress the track with any lossless codec (“lossless” – “lossless”, that is, one that does not lead to data loss), for example, the FLAC codec. As a result, we will get a lower bit rate than the original, but the quality will remain unchanged; here is your first rebuttal.

Something else is worth adding here. The lossless compression output bitrate can be very different (but is generally lower than uncompressed audio); It depends on the complexity of the compressed signal, or rather on data redundancy. So simpler signals will compress better (ie we have smaller file size for the same duration => lower bitrate), and more complex signals will be worse. That’s why lossless classical music has a lower bitrate than, say, rock. But it must be emphasized that the bit rate here is in no way an indicator of the quality of the sound material.

Now let’s talk about lossy compression. First of all, you need to understand that there are many different encoders and formats, and even within the same format, the encoding quality for different encoders can differ (for example, QuickTime AAC encodes much better than outdated FAAC), not to mention the superiority of modern formats (OGG Vorbis, AAC, Opus) in MP3. Simply put, from two identical tracks encoded by different encoders with the same bit rate, some will sound better and some will sound worse.

Also, there is upconversion. That is, you can take a track in MP3 format with 96 kbps bit rate and convert it to 320 kbps MP3. Not only will the quality not improve (after all, data lost during the previous 96 kbit / s encoding cannot be returned), it will even get worse. It’s worth noting that at each lossy encoding stage (at any bit rate and any encoder), a certain amount of distortion is introduced into the audio.

And even more. There is one more nuance. If, say, the bitrate of an audio stream is 320 kbps, this does not mean that the 320 kbps was spent encoding that very second. This is typical for constant bit rate encoding and for those cases where a person, hoping to get the highest quality, forces a constant bit rate too high (for example, setting CBR to 512 kbps for Nero AAC ). As you know, the number of bits assigned to a particular frame is regulated by the psychoacoustic model. But in case the allocated amount is much lower than the set bitrate, even the bit deposit is not saved (for terms see the article “What is CBR, ABR, VBR?”) – as a result, we get useless “zero bits” that simply “wrap up” the frame size to the desired one (that is, increase the size of the stream to the specified size). By the way, this is easy to check: compress the resulting file with a filing cabinet (preferably 7z) and look at the compression ratio – the more, the more zero bits (as they lead to redundancy), the more space wasted.

Lossy codecs (MP3 and others) can cope with modern electronic music, but cannot efficiently encode classical (academic), live and instrumental music.
The “irony of fate” here is that, in fact, everything is the exact opposite. As you know, academic music in the vast majority of cases follows melodic and harmonic principles, as well as instrumental composition. From a mathematical point of view, this leads to a relatively simple harmonic composition of the music.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

Choose the correct audio format

Digital music: audio formats and their basic differences

Digital audio

The formats used to be clearly specified by the player. Those who had a VHS player bought VHS cassettes and those who had a Betamax payer, well, they were unlucky. It was similar a few decades later with Blu-ray and HD-DVD. If you could bet on the wrong horse with the respective playback devices, at least the purchase decision regarding the individual media was clearly defined. In the age of digital music, one has the advantage of a nearly universal player in the form of a computer and huge media libraries, but even more difficult because choosing the most sensible format in which to buy or convert your music is more versatile.

Digital Audio

What points determine the choice of the correct audio format?

First of all, of course, it should be noted that not all programs can play all formats. But especially DJ programs like Traktor or Virtual DJ deal with a variety of formats, which doesn’t make the decision for you at first and requires knowledge of other factors. The question of the correct format is particularly important for DJs, because individual formats differ significantly in terms of handling and quality! So now we want to explain to you where the differences lie between individual audio files so that later you can decide which format is the most suitable for you! We limit ourselves to the six common formats MP3, AAC, WAV, AIFF, FLAC and ALAC.

“To compress an MP3 file, what humans cannot hear is simply cut off.”

A distinction must first be made between simple files and cabinet files. Individual files contain little information beyond the song. Cabinet files are individual file packages that together form a meaningful whole. Here, for example, song texts or album covers, including the actual audio file, can be put together in one package. Additionally, there are different audio tracks that can be contained as individual files within the container, allowing for more accurate use of the audio material.

To individual audio formats: outdated variants

Everyone knows: MPEG1 Audio Layer III or just for short: MP3. The format developed by Moving Experts Group uses psychoacoustic findings to compress the original file. In other words: what the person doesn’t hear is simply cut off. Unfortunately, since this is only what humans with primitive audio technology cannot hear, the format not only requires little hard disk space, but also offers little acoustic enjoyment – loss of important audio information is characteristic of MP3.

In addition to the advantage of the small file size, the outdated format has the main disadvantage of clipped sound quality. What cannot be heard on small, private systems is quickly noticeable at clubs or festivals. The “thump” is missing because the dynamics of some frequencies are cut off, which means that the energy of the track does not reach the listener. If you still want to use MP3, you should definitely opt for encoding with 320 kBit / s, the maximum data rate supported by the MP3 format.

Another lossy format is AAC (Advanced Audio Coding) and it also comes from the ranks of the Moving Picture Experts Group. Similar to MP3, but with the help of a different technology, the audio signal is compressed simply by filtering out what the human ear presumably cannot perceive. AAC also saves a lot of storage space. However, thanks to the improved technology, it is possible to produce a significantly better sound experience than that reserved for MP3 even at lower data rates.

The most accurate error correction and the most efficient encoding algorithms create this superiority over an MP3 file with a comparable data rate. The efficiency of the algorithms is not only noticeable in the sound: with the same audio quality, AAC files are about a quarter smaller than their counterparts in MP3 format.

Digital audio formats

Digital Audio Formats

Now there are several formats, but a basic distinction is made between lossless and lossy formats and compressed or uncompressed formats. Lossy formats are always compressed, which means a reduction in required storage space, but at the expense of playback quality. Lossless compressed formats offer faithful playback with low memory requirements.

However, the savings are less than with lossy formats. Lossless and uncompressed formats offer true-to-original music reproduction, but require a comparatively large amount of storage space. In return, they sometimes support even higher resolutions than compressed formats.

digital audio formats

What are sample rates and bit depth?

When talking about the resolution of digital music, two numbers are often mentioned. For CD quality around 44.1 kHz and 16 bit. The first number is the sample rate of the file. Describes how often the computer or network player extracts a signal from the file and processes it. 44.1 kHz means that a certain amount of data is transmitted 44,100 times per second. This amount of data is described by the bit depth (also word depth), the second number.

At the quality described, 16 bits of data are transmitted 44,100 times per second. If you want to determine the actual amount of data per second, you need to multiply these two numbers and get 705,600 accordingly. Since this is a stereo file with 2 channels, this number should be taken twice.

With CD quality music, 1,411,200 bits per second or, for the sake of simplicity, 1,411.2 kilobits are transmitted. A good MP3 file only transmits 320 kbps, so it only contains about a third of the information on a CD. Compared to 192 kHz 24-bit files, even less.What is the difference between compressed and uncompressed formats?
Uncompressed formats like

WAV do not affect music in any way. Frequencies and information are stored exactly as they are read during encoding. Therefore, uncompressed formats require more storage space in the first place than compressed formats. However, compressed does not automatically mean lossy. Formats like Apple’s FLAC or ALAC save music losslessly as a WAV file. However, they pack existing data more neatly without removing any information, thus requiring less storage space. Normally, there should be no effects on music information.

Why aren’t MP3 files high fidelity?

The MP3 format was introduced in 1992. It was revolutionary for the time, because by encoding music in MPEG-Audio Layer III, the full name of the format, you could achieve file compression of at least 4: 1, usually even 10: 1, compared to the classic CD. . This is possible because encoding in MP3 format removes the parts of the original file that are considered the least useful.

You can never make an exact copy of a music file in MP3 format and you cannot add information that has been deleted. So there is no point in converting an MP3 back to a lossless format. The AAC format used by Apple also cuts information from the original file to save space during compression.

We speak here of lossy or in English also of “lossy”, in contrast to the formats without loss or “without loss”. Meanwhile, it doesn’t really make sense to use such formats anymore, as more storage space shouldn’t be a problem today, unlike in 1992. The sound quality of MP3s is also significantly lower than that of other formats, as only 320 kbps is transmitted here at best, usually only 192 kbps or 256 kbps.

What is metadata?

Metadata are files attached to a file that contain additional information. In the case of digital music, these typically include things like sample rate, bit depth, and file format. In the best case, information about the song title, artist, album, composer, track number, etc. is also attached to the file. Modern streaming clients display this information when they play games on their screen or in an app. Also, these hidden attachments are often responsible for how the music in memory is organized.

Why does digital music need to be normalized?

Why does digital music need to be normalized?

For younger consumers, the focus is often on the computer, which plays MP3s through the PC’s speakers. “They’re made to rumble a lot during games,” says “c’t” expert Zota. This can be useful when reproducing the explosions in a shooting game. However, when listening to music, such boxes disappoint.

Digital Music

Other consumers use their iPod with clip-on speakers, and mini systems like Bose’s “Wave Music System” are enjoying best-sellers. Of course, they cannot match the tonal volume of a full floor standing speaker.
monitor

Digital music

Those who decide to buy a high-quality music system generally turn to home theater systems. These are multi-channel systems with up to eight speakers and multiple power amplifiers. Their specialty is DVD playback, where they evoke powerful bass thanks to the subwoofers.

The viewer also physically experiences an earthquake in the movie because the shelves begin to shake. Solo: Compared to pure stereo systems, some home theater systems are disappointing. Some subwoofers are too inaccurate to play music. Above all, the quality is significantly more expensive compared to stereo systems. “The budget has to be divided into many more individual parts than with a stereo system,” says Besic, specialist in “Stereoplay”. For 1000 euros there is a decent stereo, but only a lousy home theater system. According to GfK, Germans spend an average of just over 400 euros on complete home theater systems, and 800 euros if these consist of the individual components of an amplifier, CD player and speaker cabinets.

Music producers flatten recordings

But it’s not just bad speakers that degrade sound quality. Music producers also contribute. They have been making their songs louder and louder since the mid-1990s. In pop, hip hop, rock, and electronic dance music, there are practically no quiet passages. At the same time, musical recordings have lost their dynamism. The mids are emphasized, but very high and fine sounds, as well as very deep bass, are often missing. The idea behind it: the songs should appear and assert themselves against loud advertising on the radio or background noise in the pub.

Additionally, sound engineers increasingly manipulate the sound of rock bands and pop singers with just a few clicks. Engineers use computer programs to smooth the edges and eliminate the smallest errors. For example, the pitch of the song is fine-tuned later; and hand-played drums sound accurate after computer processing, but like a machine and somehow always the same. Not much remains of the musicians’ own sound.

“In addition, the generally short time due to lower budgets also plays a role. In the past, you had much more production time, which of course was reflected in the end result in better quality and creativity, ”says Gerhard Wölfle, director of Dorian Gray Studios in Eichenau, near Munich. Wölfle has recorded CDs with the bands Guano Apes, Reamonn and The Donots. In the past, around six weeks of production time was the guideline for such albums. Today, studio professionals are satisfied when the music industry and artists spend half their time on them. Gerhard Wölfle says: “The excessive volume due to the massive use of compressors and limiters definitely gives many productions to the rest”.

An excellent example of an extremely loud album is the album “What People Say I Am, That’s What I’m Not” by English band Arctic Monkeys from 2006. The fully adjusted mix quickly rose to the top of audience favor. . The single “I bet you look good on the dance floor” (see the band’s MySpace profile) became a number one hit.

All this has generated a problem in matters such as the loudness of the music, which almost necessarily must be normalized to get them to sound at a similar volume.

Mp4Gain is the perfect choice to get a boost to the loudness of a song or to make all instruments sound clearly and audible.

Mp4Gain offers the latest technology and algorithms to make your music sound great today.

MP3, FLAC, WAV, ALAC: the differences between audio formats

Digital audio formats

Digital Audio

Today, most people listen to music completely digitally. The differences between digital audio formats like WAV, FLAC, MP3, and ALAC are not clear to everyone. We put the facts together.

Digital audio formats

While vinyl is booming and CD sales are slowly but surely falling, today’s music is often heard without any physical medium. Whether you use your smartphone or digital audio player, you can move forward with digital audio formats on the go. After all, no one today wants to carry a Discman and multiple CDs with them when they typically have a powerful pocket computer in the form of a smartphone that can play digital music files. But what are the differences between the individual file formats and what are their advantages and disadvantages?

WAV and AIFF: the uncompressed ones

The Wave container format (.wav) was developed by Microsoft. Saves uncompressed audio content, so files require a lot of storage space (2 minutes can take 20MB of space. WAV is especially important when recording and editing audio content. The downside of .wav files is that they don’t metadata is required (about, Title Artist) can be stored,
the equivalent developed by Apple AIFF (.aif) Due to the fact that Apple computers are very common in music production, this audio format is very common there.

MP3, AAC, WMA, Ogg-Vorbis – compressed to save space, but not lossless

The MP3 file format (.mp3, named for the MPEG-1 Audio Layer 3 compression codec) developed by the Fraunhofer Institute in the 1980s is probably the best-known digital audio format. It gave the MP3 player its name, and for a long time music was digitized almost exclusively as MP3, for example, on the extremely popular and now illegal file-sharing networks around the turn of the millennium. The advantage of MP3 is the small amount of storage space required: on average, it takes up one-tenth the size of the original file. However, one disadvantage that should not be neglected is that it is lossy – frequencies that are inaudible to humans are removed to drastically reduce the memory required. To what extent this affects the sound, you can compare Flac with MP3 Read.

AAC (Advanced Audio Coding) is a successor to the MP3 format, offering slightly better sound quality. Apple continues to mainly offer songs in this audio format on the iTunes store.

WMA stands for Windows Media Audio (.wma), as the name suggests, a development by Microsoft. .Wma is also a lossy compression file format.

A somewhat rarer audio format is Ogg-Vorbis (.ogg), where Vorbis is the music compression technology and .ogg is the container format. Like MP3, .ogg is also lossy, but requires less storage space and better quality.

FLAC / ALAC / WMA lossless – the lossless

Lossless formats were developed to preserve all sound information while keeping the amount of memory required small. With all file formats, the required memory is reduced to about half the original file. With audio conversion software, the file can be converted to other lossless formats, something unthinkable with lossy formats. This is why lossless file formats are popular for archiving music collections in a space-saving way.

FLAC – Free Lossless Audio Code (.flac) is a free audio format, so it is not owned by any major corporation. ALAC: Apple Lossless Audio Codec (.alac) is Apple’s lossless file format, while Microsoft also has its own development on the market with WMA Lossless.

Differences between digital audio formats (MP3, AAC, FLAC, WAV files, etc.)

Differences between digital audio formats (MP3, AAC, FLAC, WAV files, etc.)

What are the main digital audio formats and what are the differences between WAV, MP3, AAC, FLAC and others?

audio file formats

Differences in audio files To discover all types of digital audio formats, you must first understand briefly and synthetically what digital audio means and how it was created.

It all starts with Pulse Code Modulation (PCM), the basis for digital audio, which was founded in 1937 and is characterized by two properties: sampling rate for measuring the waveform amplitude and bit depth for measuring possible digital values.

If the sound is continuous in the real world, this is not the case in the digital world.

To understand the difference, you can think of digital videos that consist of still images that change quickly and give the impression of continuous motion.

It is the same for audio and the amplitude of the sound waves in a digital format is not fluid, but changes according to certain criteria at predefined intervals.

Since I am not an audio technician or physicist to do simple things and understand what digital audio is, I have found a very explanatory analogy that I am trying to explain here.

The analog audio source can be thought of as the water flowing from an open tap and the amplitude of the audio waveform as the water temperature.

Sampling can be viewed as the frequency with which the finger is immersed in the flowing water per second

The more the finger is immersed in it, the more continuous the temperature changes become.

audio formats

If you put your finger in the running water 44,100 times per second, it’s almost like holding your finger still all the time.

This is the idea behind the sampling rate.

In terms of bit depth, we should think that we’re using a thermometer instead of the finger.

If the water temperature is higher than that of the surrounding area, we will say that it is hot, otherwise it will be cold if it is below it.

Instead of only 2 options, we could mark 16 possible values ​​for measuring the water temperature.

The bit depth can be viewed as the number of values ​​with which the thermometer is to be used to measure the temperature. The more they are, the more accurate information is obtained.

Without losing ourselves technically, we are now seeing the most important digital audio file formats and their differences.

1) WAV and AIFF are lossless (i.e. uncompressed) PCM-based audio container formats with some minor changes in data storage.

.WAV or Wave is the standard format when you take a CD out of your computer (CD ripping).

A WAV and an AIFF can be converted into each other without changing the quality.

These audio formats are suitable for a stereo system (2 channels), they are sampled at 44.1 kHz (or 44100 times per second) with 16 bits (“CD quality”) and the files are approximately 10 MB per minute.

2) Lossless formats: FLAC (Free Lossless Audio Codec), ALAC (Apple Lossless Audio Codec) and APE

These formats compress audio using algorithms.

The difference between compressed files and FLAC files is that FLAC is specifically designed for audio and therefore has better compression rates without data loss.

As a rule, a .FLAC takes up half of the storage space of a WAV in megabytes and maintains the “CD quality”.

A FLAC can be converted to WAV without loss of quality and is the preferred format for those who want to listen to music with the best quality and great speakers.

3) Loss formats: MP3, AAC, WMA, Vorbis

.MP3 and .AAC files are the most common formats when you need to store music on a computer or phone and need to share or download music on the network and the Internet.

MP3 is a highly compressed “lossy” format that sacrifices a certain amount of audio quality for a significant gain in file size.

An MP3 has a size of approximately 1 MB per minute.

The difference to lossless formats is that if you convert the file to a less compressed format like WAV, the quality sacrificed during compression will not be restored.

The various lossy formats use different data storage algorithms, so they vary the size of the files with the same quality. For lossy formats such as MP3, the audio quality is measured using the bit rate value, which is generally specified in “192 kbit / s” or “192 kbit / s”.

The higher the bit rate, the more detailed the sound becomes.

Lossy and Lossy Digital Audio Formats: Audio Codec Guide

Lossy and Lossy Digital Audio Formats: Audio Codec Guide

In recent years, the way we listen to music has changed a lot, also thanks to the Internet, which has allowed a great diffusion of digital audio files. In a short time we went from vinyl to CD, to online music transmitted in high resolution.

losselless

An analog sound to be handled by a computer must become digital. To maintain the exact fidelity of the original audio, you must write a lot of information, thus producing heavy files that take up a lot of disk space. Hence the need to reduce the size of the audio file to save space on various storage media, such as hard drives, but also to take better advantage of the available bandwidth for transferring and listening to files.

Digital audio formats

Every day we use multimedia content such as YouTube, online radio or music streaming services, with a quality that is sometimes enough, other times excellent. This is because the files are the result of a data compression process through the use of codecs.

audio file formats

What is an audio codec?

A codec is an algorithm for encoding and decoding the audio (but also video) data stream.
It is used both to compress a file and to convert, for example, an analog to digital file. The difference in digital audio formats lies in the type of compression that determines their quality and, consequently, their size according to the type of codec used.

Types of digital audio formats.

Audio formats can be of three types:

-Loss (with data loss)
-No loss (no data loss)
-Uncompressed

Lossy digital audio formats

Lossy audio formats are compressed files with lost data and information. They allow you to significantly reduce the size of the original file, even up to 90%. The sound quality is lower than the CD-Audio standard because the compression algorithm “cuts” certain frequencies that the human ear has more difficulty perceiving and, therefore, are less relevant, generally the highest (more than 16 -17,000 Hz).

The Lossy audio format is widely used for listening to digital audio, such as streaming (Spotify, Deezer, Apple Music, etc.). Depending on the type of codec used, compression can vary significantly, as does the quality of the listening. The most popular and popular format is MP3 and WMA.

MP3

The most famous and well-known digital audio format. In its entirety, Motion Picture Expert Group-1/2 Audio Layer, 3, developed by MPEG, offers good compression and discrete audio quality, in particular with a bit rate of 192 kbit / s and 320 kbit / s. Although still widely used, better compression algorithms can be found.

OGG Vorbis

The open source format without lossy audio compression offers an excellent alternative to MP3. With the same perceived quality, it allows for greater compression. The high frequencies (above 16 kHz) are wider and wider, offering greater spatiality of sound. Also used in computer games, it is also often used for audio streaming. Spotify music, for example, uses the Ogg Vorbis digital audio format from 96 kbit / s to 320 kbit / s in addition to the AAC codec.

WMA

Windows Media Audio is Microsoft’s proprietary digital audio format. Encrypted WMA offers excellent compression and good audio quality at high bit rates, but at the same time little compatibility. Precisely for this feature it is now little used. WMA consists of four different codecs: WMA codec, lossless WMA (lossless), WMA Pro, or WMA Voice.

AAC

The Advanced Audio Coding Format (AAC) is part of the MPEG consortium and was born as MP3’s successor. It became famous thanks to Apple that uses it with iTunes, but also thanks to several radios (DABè) that use it to transmit audio. It is the excellent quality and good compression digital audio format used by YouTube, iPhone, Android smartphones and many other devices such as Nintendo and Playstation. The AAC supports 48 audio channels with sampling up to 96 kHz and uses constant bit rate (CBR – Constant Bit Rate) or variable (VBR – Variable Bit Rate) compression encoding. AAC is one of the best lossy codecs, the encoding speed is not among the best.

MPC

Musepack (or MPC) together with AAC vies for the podium as the best lossy digital audio format. The quality is very high, thanks to the VBR encoding that guarantees a good distribution of the bit rate. The peculiarity of this codec, in terms of AAC, is the clarity of the sound, which is very wide and spacious. Good encoding speed, it is ideal for those looking for quality while keeping a small audio file size.

ATTRAC

ATRAC (Adaptive Transform Acoustic Coding) is a lossy audio compression algorithm developed by Sony. Born for MiniDisc (MD) whose production ended in 2013, this codec has not been very successful and is no longer used today.

mP3Pro

Derived from MP3, its peculiarity lies in the fact that it maintains the same quality as an MP3 at 128 kbps but with lower bit rates, from 64 kbps to a maximum of 96 kbps. Compression of the higher frequencies, a painful note from lossy files, occurs through the Spectral Band Replication (SBR) algorithm. The result is space savings at lower bit rates, but also less dynamic and unclear sound.

Dolby Digital

Dolby Digital is a multi-channel audio encoding system, used primarily in DVD, film, and digital television. Contrary to what one might think, it is a lossy audio format, therefore compressed with loss of information. Known as Dolby Digitale 5.1, it works with a minimum bit rate of 96 kbit / s up to a maximum of 640 kbit / s. On DVD, it maintains an average of 192 kbit / s in stereo audio and up to 448 kbit / s in 5.1 signals

Lossless digital audio formats

Lossless audio formats are compressed but lossless files. They maintain the original audio quality, without degrading its characteristics in any way, while managing to compress certain information up to 40-50%. The most popular and widely used Lossless Codec format is the FLAC (Free Lossless Audio Codec) file. Apple has produced its own lossless format called ALAC (Apple’s Lossless Audio Codec) that iTunes uses.

Lossless files offer the quality of a CD (reported as standard), but to maintain fidelity, the dimensions will be larger and take up more disk space than Lossy, but still half the original file.

FLAC

FLAC (Free Lossless Audio Codec) is a codec released under a free software license with lossless data compression. Extended and compatible with most audio devices, the FLAC codec compresses data from a minimum of 30% to 50%, compared to the original file, while maintaining the perceived quality unchanged.
A Flac file can be 8, 16, or 24-bit deep and has a sample rate of up to 192 kHz (Flac Hi-Res).
Various music audio streaming services like Deezer Music, QoBuz, Tidal offer high quality music equal to or higher than the CD standard using this format.

Lossless wma

WMA Lossless is the lossless version of Microsoft’s WMA Lossy codec. It offers good and fast compression. Although it is proprietary, it can also be played by VLC Media Player, WinaAmp, RealPlayer and others.

A THE C

ALAC (Apple Lossless Audio Codec), also known as ALE (Apple Lossless Encoder) is an audio codec developed by Apple in 2004. In 2011, the source code was made available under an open source license. Primarily used by iTunes, other online music services have also used it in recent years. Excellent audio quality and fast decoding, but slightly less compression than FLAC files.

Advantages and disadvantages of the main digital audio formats

Advantages and disadvantages of the main digital audio formats

CDA:

Advantage
· It is the most standard digital format of all.
· Contains Digitized Stereo Music
· Play all audio spectrum
WAV (AIFF):

Advantage:
· It can contain other resolutions or even be monophonic.
· It can be considered a lot to record voices.

Disadvantages:
· It is considered insufficient for music.
· The most common are 16-bit and 44.1kHz.
· 8 bit 22kHz monophonic WAVs were only capable of reproducing this resolution.

MP3:

Advantage:
· It is adaptable for most devices.
· It is very accessible.

Disadvantages:
· You can force to pay for the use of codecs.
· Contains too many losses, making them clearly insufficient for the quality of MP3 players.
· Adds obvious losses in the stereo image, permanently missing the highest frequencies.
· It is one of the worst in audio quality.
· The higher the resolution, the more the MP3 will occupy.
· It also affects the definition and timbre of the instruments.
· It also removes certain sounds that move at the same frequencies as another louder sound.
· Add excessive modifications to the original music.

WMA:

Advantage:
· Improve MP3 quality.
· There does not seem to be an advantage to using a proprietary format having free alternatives.
· All Windows and many MP3 players support it natively.

Disadvantages:
· Over the years it may become obsolete or discontinued by Microsoft.
· Add artifacts and losses similar to MP3, although lighter.

OGG (Vorbis):

Advantage:
· It would be the equivalent of MP3 and WMA but free and free.
· The code of the codecs is open.
· It is available to the community, which can continue to improve it.
· It has excellent compression rates.
· Quality superior to that of WMA and much superior to MP3.
· Sounds better than a 192 Kbps MP3
· Adds a certain artificial brightness at high frequencies, the losses produced by psychoacoustic theory being much lower.

ATRAC3:

Advantage:
· ATRAC3 plus in an improved ATRAC format.
· Cuts at certain frequencies are auditively seen in secondary and treble instruments.

M4A / MP4 / ACC:

Advantage:
· Contains ACC audio.
· They are capable of playing video.
· The quality of the AAC is much higher than that of the MP3.
· Adds some distortion in the mid frequencies and digital artifacts in secondary instruments.

MPC (musepack):

Advantage:
· It is free and free.
· Excellent sound quality.
· It offers the best quality of all and the losses are practically negligible.

Disadvantages:
· It is one of the most modern and sophisticated formats with loss.
· The resulting files are larger.
· Codecs are not intended for low bitrates.

RA (Real Audio):

Advantage:
· Compress to limits to be able to transmit audio streaming through slow 56 Kbps modems

Disadvantages:
· Requires installation of Real Audio player.
· Slow, heavy and full of advertising.

APE (Monkey Audio):

Advantage:
· It is a lossless format.
· We compress but when unzipping we get the same files intact.
· Contains the full disk wave.

Disadvantages:
· It is a proprietary format.
· It has a discreet support on the platforms.
· Slow decompression.

FLAC:

Advantage:
· It is a free lossless audio format.
· The quality is equal to that of the APE.
· We use less processor.
· It is multichannel (accepts all streaming).
· Avoid annoying shorts.
· It is very compatible.

What are digital audio formats

What are digital audio formats

Digital audio formats are basically containers. And the differences between them are fundamentally in:

Whether or not they are compressed.

If they are compressed, in the quality of compression.

The type of labeling they can support.
Digital audio formats

MP3

It is the best known, popular and most widely used. They are known by their “.mp3” extension.

It was developed by Moving Picture Experts Group, so that it was part of the well-known MPEG-1 and MPEG-2 standards.

Its fundamental characteristic resides in the fact that the technology behind it performs a compression of the sound sequence, resulting in a really small file, which normally occupies half of the original file. To achieve this, the loss of certain sounds is necessary, which supposedly cannot be heard by the human ear.

Audio formats

WAV

Developed by the Microsoft and IBM companies, this format, whose name comes from the acronym WAVE (Waveform Aujdio File Format), is currently one of the audio formats that do not have compression in the data, therefore they present an excellent quality.

They are known by their “.wav” extension.

On the other hand, this format has the peculiarity that it includes support for almost all current audio codecs. This makes WAV one of the most widely used formats in the field of professional sound, since the sound is captured with parameters of 44100 Hz and at 16 bits, the same quality can be obtained as on a CD.

On the contrary, one of the disadvantages of this format is that it has a limitation in recording, since it can only capture a maximum of 6.6 hours in the same file at maximum quality.

Audio formats

AIFF

The AIFF (Audio Interchange File Format) format is very similar to WAV. It was born as an answer from Apple to Microsoft’s WAV, being initially only compatible with MAC computers. Currently it can also be used in Windows.

Due to its characteristics, AIFF, together with FLAC and WAV, are usually the most widely used formats in the professional field of audio.

WMA

The WMA (Windows Media Audio) format is a music file format created by Microsoft.

One of its main characteristics is that those files that have been compressed in WMA format take up less space than MP3 files, which also implies a reduction in their quality. Therefore, it is a lossy audio compression format.

OGG

OGG audio formats are compressed audio files, which means that they have a size that allows them to be transmitted via WIFI, but at the same time they avoid the damages that are usually generated in the compression process.

For example, Spotify uses these OGG formats.

Audio formats

FLAC

When we talk about the FLAC (Free Lossless Audio Codec) format, we are referring to a codec free of audio compression and without loss of quality.

Emerged within the community responsible for the OGG project, FLAC has become one of the WAV format’s strongest competitors, due to its advantages in terms of sound quality.

Its objective is to reduce the size of the original file, eliminating data that is usually known as “waste”, without causing loss of quality.

This is the format used by the Tidal platform, the best high quality audio streaming service.

Basics of digital audio

Basics of digital audio:

Before the computer can record, manipulate, and reproduce sound, sound must be transformed from an audible analog form to a computer-acceptable digital form, using a process called analog-to-digital conversion (ADC). Once the sound data has been stored as bytes in the computer, the power of the computer’s CPU can be used to transform this sound in thousands of ways. Finally, when you are ready to listen to the result, the digital-to-analog conversion (DAC) process transforms the sound bytes back into an analog electrical signal from the speakers.

Sampling: Analog to Digital Conversion

Given an analog signal, discrete values ​​of its amplitude are taken at small time intervals, obviously the more reliable the reproduction the more samples per second are taken. These obtained values ​​are assigned a digital value that the computer can understand and process as required. We can use 8 or 16 bit words, thus obtaining 256 or 65536 different combinations and obtaining higher resolution.

 

SAMPLE FREQUENCY: According to the Nyquist theorem, it is possible to accurately repeat a waveform if the sampling frequency is at least twice the frequency of the component with the highest frequency. The highest frequency that the human ear can perceive is close to 20 kHz, so the 44.1 kHz sampling rate of sound cards is more than enough. This value is the one used today by CD audio players.

SAMPLE SIZE: The sample size controls the dynamic range that can be recorded. For example, 8-bit samples limit the dynamic range to 256 steps (50 dB range). In contrast, a 16-bit sample has a dynamic range of 65,536 steps (90 dB range) a substantial improvement. The human ear perceives a whole world of differences between these two sample sizes. Ears are more sensitive to detecting differences in pitch than intensity, but are even more sensitive to the strength of sound.

From the previous processes we can get an audio file, such as (and since it is the best known), a WAV audio file. It is the own format of Windows. They can be 8 or 16 bit with sampling rates of 11,025 kHz, 22.05 kHz, or 44.1 kHz and generally have good sound quality.

Digital audio compression

It could be assumed that all you have to do to get good sound is to record at the 44.1 kHz speed limit with 16-bit (2-byte) samples. The only problem that appears if recording in stereo, sampling simultaneously on the left and right channels at 44.1 kHz, a one minute sound sample needs a 10.58MB storage space. This involves using large disk spaces to store these sound files. Many compressed file formats (codecs) have been developed that enable high-quality recording without the need for so much disk space.

Most common audio formats:

With the simple objective of listing a series of codecs used by different operating systems to perform audio compression. Later, a more complete description of the most used is made: MP3.

Therefore, some of the most used are:

Advanced Audio Coding (AAC): used by Apple computers. More efficient than MP3.

Audio for Unix (AU): Acoustic standard for the JAVA programming language.

Windows Media Audio (WMA)

Ogg Vorbis: It is free, open and not patented.

Atrac: compression and playback technology for minidisc.

 

The codec par excellence: the MP3

Its origin and current

The abbreviations MP3 respond to the abbreviation of MPEG (Moving Picture Expert Group) 1 Layer 3, which is a perceptual coding algorithm. This among others was developed by the Moving Picture Expert Group (MPEG) (http://www.cselt.it/mpeg/) together with the Fraunhofer Institute of Technology (http://www.ipa.fhg.de/english/ ).

Moving Picture Expert Group is an ISO / IEC research committee. MPEG is in charge of the international development of compression, decompression, processing and encoded rendering standards for movies, audio and the combination of both. It is a non-profit institution created in 1988, which brings together 300 experts from 20 countries three times a year.