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.

Sound quality

Sound quality

Sound quality

The lower the bit rate, the worse the sound quality of the compressed and recoded file. The audio bit rate is measured in kilobytes per second. To clarify what sound is, depending on its bitrate, the following table sheds light on this issue:

800 bps – 800 bps – minimum quality for voice to be recognizable.
8 kbps – 8 kbps – the quality of telephone voice transmission.
32 kbps – 32 kbps – AM quality.
96 kbps – 96 kbps – FM quality.
128-160 kbps – 128-160 kbps – quality standard.
192 kbps to 192 kbps digital streaming with DAB quality (digital audio streaming). Become the new standard for MP3 music. At the same time bitrate, only professionals can tell the difference in sound.
224-320 kbps – 224-320 kbps – quality close to CD quality.
1411 kbps – 1411 kbps – PCM audio format, similar to CD “Compact Disc Digital Audio”.
Of course, you must remember and understand that the sound will depend on one more characteristic of digital sound, such as the sampling frequency, which is responsible for representing the spectrum of the signal.

If we talked about each of the audio formats, we would be here all day. Of course, you have other responsibilities and a lot of music to produce. This is the best use for each of these formats. They take up a lot of hard disk space. For one simple reason: it has the best of both worlds.

They are compressed, which makes them easier to handle in terms of size. But they also offer a nice, rich sound. If you’re listening to streaming music, chances are you are. They are useful for transferring multiple files at the same time, navigating an entire directory, or quickly sharing and linking tracks.

8,000 Hz: telephone, enough to talk, Nellymoser codec;
1,025 Hz;
22,050 Hz – radio;
44 100 Hz – used on audio CD;
48,000 Hz – DVD, DAT.
96,000 Hz – DVD-Audio (MLP 5.1)
192,000 Hz – DVD Audio (MLP 2.0)
2822 400 Hz – SACD Super audio CD 5.1
The most common format, especially on the Internet, is MP3. It uses a compression algorithm in such a way that, while reducing the size of the data required to reproduce the recording and ensuring the quality of playback, the loss of sound quality is minimal. The file size depends on the compression ratio, so when you create an MP3 at an average bit rate of 128 kbps, the result is a file that is approximately 1/10 the size of the original CD-Audio file.

By the way, don’t forget any format.
Try and judge for yourself. Choosing the correct format depends on each context. So think about what kind of sound you are sharing and where you are sharing it. Are you using the correct format? So make smart decisions and use the correct format. Digital audio can be saved in various formats. Each of them corresponds to a specific file extension that contains it.

It is not an audio format itself, so its functions are described separately. There are a large number of audio formats. Typically, the format type matches the file extension. Certain types of files are assigned a specific codec. In simple terms, the format can be compared to a container in which a video or sound signal can be stored using a given codec. If you don’t know which program to use to open format or other audio, we recommend that you use our audio converter. It is compatible with almost all existing formats.

For comparison, I will give information about the Wav format, which supports high-quality sound. With a sample rate of 44100 Hz, its bit rate is 1411 kb / s and 1 minute of a file recorded in this format occupies approximately 10 m of hard disk space.

So what are the most common audio formats today?

This group of formats records and compresses audio in a way that preserves its exact original quality when decoded. In lossy compression, the sound undergoes some modification. For example, compression cuts audio frequencies that are not audible to the human ear. When decoded, the file will differ from the original in terms of the information stored in it, but it sounds almost the same.

Output sound quality

Output sound quality

Sound Quality

When a digital device (PC, portable media player, etc.) plays a digital audio file (ogg, mp3, flac, etc.), the audio output is always the same regardless of the type / brand of the device, right? In this case, the sound quality should not differ. For example, I have an iPod that plays an mp3 file. If I play the same file on a different brand of media player, the audio quality should be the same as the same signal (no equalizer or audio changes).

Sound Quality

Unfortunately, the real world gets in the way – there are a number of things between you and the “perfect” signal coming from the MP3 decoder:

As you can see, user-controlled filtering (eg graphic equalizer) can be disabled.
Sound “enhancements” made in the digital domain (eg compression to make it “louder” and bass boost); this can also be disabled
Internal processing is often done at a bit depth greater than the output DAC capacity, for example 32-bit processing, but only a 16-bit DAC. So there must be a process to reduce the bit depth. This may or may not include blurriness. The results of this will sound different depending on the implementation.
D / A converters can be of different qualities, which will affect (among other things) the linearity and noise floor of the analog output.
Synchronizing the DAC’s power will also affect performance – higher fluctuation will be louder.
The headphone controller will also have different analog characteristics, for example. minimum noise level, tinting frequency, etc.

For the quality of the output signal to be the same, not only must the final digital signal be the same, but the path from the digital data to your ear must also be the same (D / A converter including any digital pre-processing , amplification, induced noise in analog wiring). transducers / speakers, spatial paths to the ear, etc.) should not add any audible difference. This may or may not be true. Not all DACs are equally linear. Not all amplifier power supplies have the same shielding (especially the really cheap ones). Etc.

WAV or FLAC are lossless, so digital data must be identical when sent to a DAC. However, lossy formats like MP3 and OGG do not store the signal. It must be reconstructed from rarer data and the decoder may interpret the data differently. However, for MP3:

Decoding, on the other hand, is carefully defined in the standard. Most decoders are “bitstream compliant”, which means that the uncompressed output, which they produce from a given MP3 file, will be the same, within a certain degree of rounding tolerance, as the mathematically specified output in the ISO / IEC high standard document (ISO / IEC 11172-3). Therefore, the decoder comparison is generally based on their computational efficiency (that is, how much memory or CPU time they use in the decoding process).

So assuming the EQ and other enhancements are off, as you said, there shouldn’t be any difference between the file and the DAC. The only differences will be after the DAC in the quality of the analog circuits, amplifiers, and speakers (which are usually the main reason for the differences anyway).