Investigation of the quality of audio encoding by different encoders


Free Download Mp4Gain
picture

Investigation of the quality of audio encoding by different encoders

sound quality

The MP3 format for high-quality audio encoding is becoming increasingly popular. Originally developed for use within the MPEG1 and MPEG2 video compression standards, it quickly became mainstream as a standalone format. The main reasons for this turn of events were the preservation of high sound quality with high compression ratios and the more than active attempts by the developer IIS Fraunhofer to make the most of his creation.

sound quality

In essence, MP3 is a direct evolution of MPEG Layer I and Layer II, and it also uses a psychoacoustic model to encode the original signal. Because of this, the encoding process is ambiguous and may vary depending on the encoder used (for more details, see MP3 Overview. Part 1). This ambiguity means that, having encoded the same signal with two different encoders, we can obtain, after decoding, two different sound signals. Obviously, the preferred encoder is the one that best preserves the original signal. The purpose of this review is to find out which modern encoder will give us the best result.

Test methodology
Generally, to compare the original and encoded signal, the method of comparing its amplitude frequency characteristics (AFC) is used. There are two varieties of this method: comparing the average frequency response of the signals, and comparing the change in frequency response over time. The first type is used most often due to the simplicity of its implementation: the comparison needs to be done only once. However, during averaging, a significant part of the information about the signal is lost, and as a consequence, with an absolutely identical frequency response, the original and encoded signal can differ greatly in sound if the signal contains a large amplitude. , but very short. bursts at term of some frequencies. The second type allows you to avoid such problems,

Not so long ago, a method for comparing sonograms of signals became widespread: a graphical representation of the frequency response of signals over time, in which time is plotted along the abscissa, the frequency of the component of the signal is plotted along the ordinate (generally a logarithmic scale is used), and the intensity of the luminescence of the points determines the amplitude of this frequency component of the signal. This method is essentially a modification of the method for comparing changes in frequency response over time, and the problem of underperformance is solved by reducing the number of frequency components considered and expanding the “scanning window” of the frequency response at 50-100. samples, allowing you to use FFT. This simplification of the method inevitably leads to a decrease in its precision. First, a decrease in the number of frequency components considered leads to a loss of the “resolution” of this method, making it practically analogous to averaging the frequency response over time. Second, due to the magnification of the scanned window and the use of the FFT, there is the effect of “smearing” the signal in time.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

Sound via Bluetooth: versions and codecs, do they affect the sound quality?

Sound via Bluetooth: versions and codecs, do they affect the sound quality?

QUALITY AUDIO

Bluetooth is a wireless technology that allows, among other things, to connect headphones or portable speakers, stereos or sound bars to your smartphone or laptop.

Sound quality

There are many devices on the market today with different versions of the Bluetooth protocol and with support for different codecs. What does this all mean, which version is the latest, you need to understand all of this, and most importantly for us, does it affect the sound quality in any way? Let’s take a look.

One important thing to keep in mind up front is that the Bluetooth sound technology you hear has much less impact on sound quality than the design of the device itself. If you try to test multiple headphones or wireless speakers, you will hear the obvious differences between the devices. If you test the same device, but connected with different codecs or versions of Bluetooth, the difference may not be so obvious, maybe even subtle.

Simply put, you should not base your choice solely on the Bluetooth technologies and codecs supported by the device, this is neither the first nor the second most important criteria.

Bluetooth versions

Bluetooth has improved dramatically over the years since the turn of the century, and audio compression isn’t as brutal today as it was in the days of Bluetooth 1.1 or 2.0 (when wireless headphones and earphones first hit the market. ). Let us highlight the main technical differences between the Bluetooth versions, devices with which they can be found for sale today.

Bluetooth 3.0: The data transfer rate has increased significantly (up to 24 Mbps vs. 2.1 Mbps in Bluetooth 2.0), but the power consumption has increased.

Bluetooth 4.0: reduced power consumption while maintaining a speed of 24 Mbps.

Bluetooth 4.1: added anti-crosstalk protection when working with LTE modules installed on all 4G smartphones.

Bluetooth 4.2: higher speed and improved data transmission security.

Bluetooth 5.0: range increases 4 times, speed increases 2 times.

Bluetooth 5.1: it was possible to determine the location and direction with the utmost precision.

As you can see, the new versions primarily address data rate and power efficiency issues, which rarely directly affect sound quality. However, newer versions can improve data transfer reliability, which can allow a heavier codec, such as aptX HD or LDAC, to operate at higher data rates.

Remember that for a particular version of Bluetooth to work, both devices must support it. That is, if your smartphone has Bluetooth 5.1 and the headphones are 4.2, then Bluetooth 4.2 will be used for the connection.

Audio codecs and Bluetooth
So it is not the Bluetooth version that directly affects the final sound, but which audio codec is used for sound transmission. In fact, a codec here means a complex algorithm to process (encode / decode) audio data to send it wirelessly between your devices. Using a codec is necessary because the less data is transmitted over Bluetooth, the more reliable the connection is and the less likely your headphones are to lose signal in the middle of a favorite track.

All current Bluetooth codecs are “lossy”, discarding some of the audio data, reducing the audio data transfer rate (bit rate), for example CD quality with a speed of 1411 kilobits per second at about 300 ~ 900 kbps (roughly we’ll talk about Lossy and Lossless separately next time).

Another distinguishing feature of codecs is latency. The time it takes for the digital signal processor to decode the encoded audio. Long audio latency creates problems with your timing when watching a video.

As in the case of the BT version, for the codec to work, it is important that it be compatible not only with headphones or acoustics, but also with the sound source: a phone, a player or a computer.

SBC is standard for Bluetooth. This codec can operate at data rates of up to 345 kilobits per second. While the source and destination devices can handle high bit rate audio, the audio quality is difficult to distinguish from standard AAC or aptX quality. But with the lag it can exceed 100 milliseconds or more, which creates problems with audio timing when watching a video.

Sound quality

Sound quality

SOUND QUALITY

Although sound quality can be objectively measured with special instruments and devices, most people do not have such tools or knowledge to use them. To some extent, the quality can be judged subjectively, but it can hardly be called a reliable method. This article will help you decide what to focus on in terms of sound quality.

sound quality

MP3 is one of the most popular audio formats and a significant part of music is stored / distributed in this format. It is a lossy audio compression format, which means that the MP3 copy is slightly worse than the original. Some parts of the audio information are discarded when you convert audio to MP3. Like other modern lossy audio compression formats, it uses what is called “perceptual encoding.” This method mainly discards audio data that the human ear cannot pick up.

The main advantage of all lossy formats is the small file size (compared to lossless formats). Due to “perceptual coding”, this does not always mean that “lossy” files sound worse than “lossless” files. An MP3 file with a decent bit rate and frequency can only lose inaudible information. However, it should be noted that ear sensitivity is different for different people, so “inaudible” is a relative property.

An MP3 file has three main parameters: number of channels (stereo, mono, and joint stereo options), frequency (sampling), and bit rate. Stereo MP3 files of 44 kHz and 128 kbps are considered “sufficient” for music (at lower bit rates and frequencies, the quality decreases too much), but 192 kbps and more are recommended. Using bit rates higher than 320 Kbps is pointless as the size of such files is close to the size of “lossless” files, but compression is still lossy.

AudioConverter Studio – welcome

Lossless compression formats retain all the information in the original audio file, which means that they are identical copies of the audio. On the other hand, they are larger (sometimes significantly larger) than the same audio in lossy formats. Examples of lossless audio compression formats: FLAC, APE, WAV, MPC, etc.

For backups, lossless compression formats are the best option. Lossy formats are ideal for portable devices – a smaller file size allows you to store more songs in a limited space on your device. Although some portable players support lossless formats, the use of such formats on such devices is rarely justified.

Lossless formats are also the best option as an intermediate medium. For example, if you want to burn MIDI files as a music CD, you must first convert MIDI to one of the audio formats using MIDI Converter Studio, and then burn the resulting files using a program like Audio CD Burner Studio. You can of course convert MIDI to MP3 (lossy), but convert MIDI to WAV (lossless) more efficiently and then send the resulting WAV files to Audio CD Burner Studio.

It is possible to convert from a lossy format to a lossless format, but we will get large files with the same quality. Even though this kind of conversion doesn’t make sense, at least it won’t do any harm. As another example, we can consider converting MP3 from 128 Kbps to 320 Kbps. In this case, we not only get large files, but also worse quality. Remember that MP3 is a lossy audio compression format, that is, every time we convert to this format, some of the audio data is discarded.

How to measure sound or audio quality? Part 2

How to measure sound or audio quality? Part 2

Sound Quality

Epilogue to Steve Gutenberg’s Article

SOUND QUALITY

Since the article reflects a “controversial” view on measuring sound quality, we invited Yuri Fomin, speaker design engineer, founder of F-Lab, which develops acoustic systems for Defender, Jetbalance, AVE “and” Arslab “(the most famous of them:” Defender “G-2.1, Volcano 1;” Jetbalance “371, 381, 391;” AVE “DF 100, 102, 104;” Arslab “AC1, AC3):

“If you read the article carefully, there are two main aspects:

Thematic media often abuse the publication of graphic materials and technical characteristics that reflect the quality indicators of high-end loudspeaker systems and devices; often the publications themselves do not have a sufficient level of experience to comment on these indicators to make them understandable and useful to a lay person. As a result, these materials only further confuse consumers and cannot help promote the product.
When deciding to buy a particular system, you need to rely not only on the opinion of the experts, but also on your own feelings. You should not form an opinion on this or that high-end product based solely on the opinions of critics, bloggers, and online article authors. The fact is that equipment of this class is quite expensive. The purchase of such a system assumes that the user will not save on the acoustic design of the room (after all, it is this that allows him to hear all the delights of sound). Hence the conclusion: you should not rely on the experience of another person when listening to teams of advisers who (unlike the buyer) are not responsible for choosing their wallet and have listened to the operation of the products from time to time and outside the home ( especially if you consider that not all are professionals of this class,
So what kind of information is better to search on the Internet and in the media to choose high-quality equipment for yourself, if you have not yet formed an opinion on this matter?

When familiarizing yourself with the information published by the media, pay attention first to the data provided by the manufacturer or the trademark owner (they often form the basis of such publications about the product). If you see measurements or technical comments embedded in articles, remember that they are often done to create the “illusion of high competition.” The value can be provided by reports from manufacturers’ factories or historical references about brands, managers and engineers who were involved in the birth of the product.
Your attitude or friendliness can also make a significant contribution when choosing high-end products; After all, when developing, brands are not based on the opinions of the critics, but on their vision of the product and (most importantly) in a certain category of products. consumers, understanding their budgets, preferences and the conditions in which these people will use said products. So if you have formed a respectful attitude towards any brand, feel free to take the products of this manufacturer and you will not experience moral discomfort or disappointment.
However, if you decide to turn to blogs, reviews and articles from the Internet, remember that most of their authors are people, to put it mildly, who are not competent enough. The really useful information in this case may be the one that describes the situation of choosing a high-quality team like yours. “

How to measure sound or audio quality?

How to measure sound or audio quality?

sound quality

I’ve met quite a few audio engineers and sound engineers in my life, and the best of them had one thing in common: they had great ears.

sound quality

They knew what a good sound was. The field of their opponents is occupied by engineers who rely solely on measurements to “prove” that “their” sound is better. In my opinion, people in the second group rarely create good-sounding products. Audio is too complex to be analyzed by numbers alone.

Today I see more and more digital audio engineers specializing in designing programs to correct for speaker characteristics and room acoustics. They are generally very nice people, and their diagrams and tests look pretty impressive when displayed from a laptop, but this all fades into the background, once I hear real sound. Results often range from good to really scary – your hard work is the least likely to succeed.

Obviously, they were so focused on measuring the characteristics of the sound that they forgot to listen to the result, or at least hire assistants who understood what good sound is. If the goal of these people was to achieve the best possible performance, I would congratulate them on their successful implementation. But they strive for something different, and understanding exactly what kinds of measures characterize improvement in sound quality is an art. Art in which only a few have succeeded.

There are several reasons why the measurements do not correlate with subjective evaluations of sound quality. First, measuring the characteristics of electronics and speakers has little to do with how the music sounds. The test tones are too simple and predictable; the music is much more complex and varied. Reproducing the sound of a violin or drums is extremely challenging, and since the real purpose of any hi-fi system is to play music, not test tones, the most important task for an engineer should be to develop a product that sounds “good.” . to the target audience. For example, if he is designing DJ headphones, he is not trying to reproduce the bass as accurately as possible. Amplifier designers shouldn’t waste time trying to design an amplifier that delivers maximum performance during test loads. They must create amplifiers that can handle the complexities of playing music with real speakers. Amp designers don’t know which speakers their product will ultimately work with. Each type of speaker places a different “load” on the amplifier.

In the 1970s, a new generation of amplifiers emerged that had much lower “harmonic distortion” than their predecessors; It was believed that if this value could be measured more accurately, the amplifiers would produce a better sound. But they did not measure what was really needed. Blindfolded perception, expressed in “bespoke” design, is unlikely to take sound reproduction to a qualitatively new level. This does not mean that metric values ​​are useless; They are a great help to talented engineers, but measurements cannot replace listening to music.

I know the sound of the latest audio adjustment and calibration systems installed in receivers from Denon, Onkyo, Pioneer, Sony and Yamaha, and I can say that the result of their work is difficult to predict in advance. Of course, these systems can improve the sound, but most of the time, processing the sound just changes it. In these cases, I get the best results by listening to music and manually tuning in parallel. Processed audio may have better numerical characteristics, but again, this does not necessarily correlate with improved audio quality.

I recently talked about this with a friend of mine, writer Brent Butterworth, who believes that quantification is a useful tool, but we never reached a compromise. However, according to him, the measurements of the value of the indicators that characterize flaws in the speaker’s sound may go unnoticed by the human ear, which means that some speakers, characterized by not having the most optimal performance, from a point of view subjective, they can produce high quality sound. So find out.

Therefore, even if experienced engineers are faced with the problem of separating useful information from unnecessary quantitative indicators, it is difficult to imagine how a buyer looking at the wavy lines on a graph can use it to decide which amplifier or speakers to buy.

SOUND QUALITY

SOUND QUALITY

Sound Quality

A product with high quality sound is well received by customers, sells successfully and increases brand equity.

sound quality

From automobiles to hand tools to heavy machinery, consumers believe that sound is a key indicator of the overall quality level of any product. The noise inevitably comes from the products, but it can often be given a proper sound, for example the massive thud of the door closing on an expensive car. Sometimes the sound is even desirable; For example, a motorcycle with a powerful and vibrant engine has a chance to please the buyer. A product with high quality sound is well received by customers, sells successfully, and increases brand equity. More than sound levels Designing a product with sound quality in mind is challenging because the “desired sound quality” “is determined by how we perceive it with our ears and brain. For example, measuring the frequency response of sound describes its timbre, but not the physical and cognitive processes that occur in our ears and brain. However, these processes affect our subjective perception of sound. Sound quality needs to be quantified to provide designers with clear goals for the big picture and to ensure sound engineering effectiveness Objective and subjective sound quality Since some people perceive sound more easily than others, a factor must be included weighting as the Zwicker volume in sound quality metrics. Only the human ear can tell if a product sounds good and therefore subjective testing of customer expectations plays an important role in determining acceptable sound quality. In group tests, listeners rate sounds and quantify quality metrics such as harshness. Analytical software converts these estimates into target values ​​that engineers can use as targets (for example, frequency response). This methodology can be used during product development to evaluate design changes.

DIGITAL SOUND QUALITY

DIGITAL SOUND QUALITY

Sound Quality

What determines the quality of the sound?

Sound Quality

The vast majority of modern devices use digital technologies to play audio content. The list of parameters that affect digital sound quality includes many items. Below we have highlighted the most important ones.

Audio format. It is a kind of way that a sound file is presented.
The player you plan to use to listen to music.
DAC is a device for converting a digital signal into analog.
Amplifier of a sound signal.
Acoustic system or speakers.
Cables used to connect the elements of the system to each other.
Power quality.
A little theory
To build your home audio system more consciously, you need to have a basic understanding of the nature of analog and digital sound. The most visual representation of the difference between these signals is given by their graphic representation. An analog sound wave graph is a smooth sine-like line. The digital signal appears as a jagged line on the image. To digitize analog (or continuous) sound, an ADC, an analog-to-digital converter, is used. The conversion process consists of three stages. In the first, the original continuous signal becomes discrete when a smooth line on the graph is divided into points between which there is a certain interval. The smaller this interval, the higher the sampling frequency, which means that the original signal is repeated more accurately.

Format
All audio formats are divided into three types.

No compression. This includes WAV, AIFF, CDDA, and others. Audio tracks recorded in these formats have impeccable quality and sound as close to the original as possible. Its disadvantage is a lot of weight: a minute of recording can take up to 10 MB.

Lossless compression. This category contains FLAC, ALAC, APE formats. In this case, the sound is recorded with the same quality and takes up less space than in the uncompressed format. It is much more convenient to store such files, for example, on a personal computer.

Lossy compression. These are MP3, AAC, Ogg Vorbis formats, when, to reduce the amount of data, some information is cut, for example, about frequencies that are beyond the limits of human perception (the average person hears sounds in the range of 20-22,000 Hz).

Turntable
Today, the market offers a wide variety of digital audio track players. It is important to have a clear idea of ​​how you will listen to music and compile your music library: on a player, computer, using headphones or in some other way. That is, whatever is most convenient and affordable for you. According to most experts, anyone, even a very high-quality digital player, is inferior in saturation of the sound transmitted to vinyl players and even reel-to-reel tape recorders. And yet among digital technology, it is quite possible to choose a device with more than decent sound. It can be a CD player (like the Harman Kardon HD 990/230), a home computer, or a portable audio player. Using a computer or laptop in a home stereo system attracts because of its compact and inexpensive size. The external module is interesting for those

Signal converter
To convert a digital signal to analog, you need a DAC: digital to analog converter. The device can be integrated into the player or be a separate module. Integrated, as a rule, loses to modular in technical characteristics. The external DAC provides a separate, built-in power supply – it is powered from a common source with the player. As a result, interference arising from the playback device may affect the built-in converter. A separate module frees itself from these risks. The best practice is to use an external DAC when listening to content recorded in lossless formats. Such recordings are mainly distributed over the Internet, and if the computer is equipped with a low-end sound card, the sound will be mediocre. To get a good sound

Amplifier
If you have decided on the format and type of player, have bought a good DAC, it is time to move on to the choice of an amplifier, a device whose main function is to increase the level of the analog audio signals that are supplied to you. The amplifiers are tube and transistor. The former give a smoother iridescent sound, while the latter are sharper and more detailed. Which option is right for you, it is best to determine by evaluating the sound of each of them. Both tube and transistor amps have feedback and non-feedback models.

Three steps to quality sound.

Three steps to quality sound.

Sound Quality

We all listen to music every day, but did you ever think about the fact that you’ve probably never heard your favorite bands, albums, and songs? That it was just an empty shell of a “real” melody?

Sound Quality

If this question is interesting to you, you want to feel new emotions from compositions that you already know, then you are welcome.
Three steps to quality sound
First, let’s find out what makes high-quality sound. I won’t delve into technical definitions, after all, this article isn’t about numbers, but I’ll try to describe the main postulates that will hopefully help you open up music from a slightly different angle.

Step 1: Headphones
I focused on headphones, not speakers or an audio system, as headphones are the cheapest way to play music and get to know the world of good sound. To get similar sound quality from an audio system, you will have to spend an amount several times, or even tens of times more than the cost of decent “ears”.
Image for publication
Image for publication
B&W and Beats, headphones for a completely different kind of music
Many believe that it is the purchase of expensive headphones that guarantees high quality sound, but this is only partially true. In fact, buying expensive hearing aids without thinking is not the best solution. First of all, the make and model should be chosen based on your musical preferences, not price. Almost all headphones (except booster headphones) have their own “sound color”, which means that the models are perfect for listening to jazz and classical music, and quite often do some nasty work with D&B or hard rock. Find the right headphones for you and the genres you love to avoid muffled sound or overly overbearing bass (hi Beats).
You have finally chosen and purchased headphones and are now ready to enter a wonderful new world of good sound! But don’t be too quick to rejoice, this was just the first step …
Step 2: Source
Today, almost everyone has a sound source in their pocket: their smartphone. However, the quality of this font tends to be poor. It doesn’t matter iPhone, Sony or Samsung, sound is almost equally common everywhere. If you plan to listen to music from your phone, then you can safely remove your expensive high-impedance headphones, which you have chosen so carefully, their potential will simply remain untapped.
Image for publication
To get the most out of your headphones, you need the right equipment. It can be a Hi-End player (Sony, Astell & Kern, COWON), amplifier, DAC or sound card.
You don’t have to start with expensive hardware. Trust me, even a portable amplifier or USB-DAC is enough to get you started.
Image for publication
Image for publication
AudioQuest DragonFly: Miniature USB DAC, great value for money.

Step 3: Source
And now we come to the main point, without which even buying an expensive source and headphones is useless. If you want quality sound, forget about MP3 and streaming services (except Tidal, maybe). Only no losses! And stock up on hard drive space, you’ll need it …
Lossless Data Compression (Engl. Lossless Data Compression) – A method of data compression (video, audio, graphics, documents sent in digital format), whereby encoded data can be recovered with unique bit precision.
If lossless is lossless compression, then as you understand, there is lossy compression. You are most likely listening to the latter. I will not dwell on the characteristics of lossless and lossy in detail, I will limit myself to listing their fundamental differences and basic formats.
Lossless: FLAC; A THE C; APE
lossy: MP3; AAC; WMA; OGG