Pros & Cons of Audio Compression


Free Download Mp4Gain
picture

Pros & Cons of Audio Compression

Audio Compression
Audio Compression
Audio Compression
Audio Compression

Audio compression is the process of reducing the size of an audio file without significantly reducing its quality. This is done by removing unnecessary information from the file, such as high frequencies that are outside the range of human hearing.

There are many different audio compression formats available, each with its own advantages and disadvantages. Some of the most popular formats include MP3, AAC, and FLAC.

Pros of Audio Compression

  • Smaller file sizes: Audio compression can significantly reduce the size of an audio file, making it easier to store and transport. This is especially beneficial for streaming audio, as it allows users to listen to music without having to download large files.
  • Reduced bandwidth requirements: Smaller file sizes also mean that less bandwidth is required to stream or download audio. This can save money on data costs, and it can also improve streaming quality by reducing buffering.
  • Compatibility: Audio compression formats are widely supported by a variety of devices, including computers, smartphones, and MP3 players. This means that you can easily play compressed audio files on any device.

Cons of Audio Compression

  • Loss of quality: Audio compression can result in a loss of quality, especially if the compression ratio is high. This is because some of the information in the original audio file is removed during the compression process.
  • Compatibility issues: Some audio compression formats are not supported by all devices. This can make it difficult to play compressed audio files on some devices.
  • Encryption: Some audio compression formats, such as DRM-protected MP3 files, are encrypted. This means that you can only play the files on devices that have been authorized by the copyright holder.

Conclusion

Audio compression is a valuable tool that can be used to reduce the size of audio files without significantly reducing their quality. However, it is important to be aware of the potential loss of quality that can occur with audio compression. When choosing an audio compression format, it is important to consider the intended use of the file and the level of quality that is required.

Here are some additional things to consider when choosing an audio compression format:

  • Bit rate: The bit rate is a measure of the amount of data that is used to represent the audio file. Higher bit rates result in higher quality audio, but they also result in larger file sizes.
  • Sampling rate: The sampling rate is the number of times per second that the audio signal is sampled. Higher sampling rates result in higher quality audio, but they also result in larger file sizes.
  • Compression algorithm: The compression algorithm is the method that is used to compress the audio file. Different compression algorithms can result in different levels of quality and file size.

Here are some examples of different audio compression formats:

  • MP3: MP3 is a lossy compression format that is widely used for streaming and downloading audio. It offers a good balance between quality and file size.
  • AAC: AAC is another lossy compression format that is similar to MP3. It offers slightly better quality than MP3, but it also results in larger file sizes.
  • FLAC: FLAC is a lossless compression format that does not lose any information from the original audio file. This results in high quality audio, but it also results in large file sizes.

Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

Audio Compression Formats

Audio Compression Formats Overview

Audio Compression Formats
Audio Compression Formats
Audio Compression Formats
Audio Compression Formats

Introduction

Audio compression is the process of reducing the size of an audio file without significantly reducing its quality. This is done by removing redundant data from the file. Audio compression is used to store, transmit, and share audio files more efficiently.

Types of Audio Compression

There are two main types of audio compression: lossless and lossy. Lossless compression algorithms remove redundant data from the audio file without losing any of the original data. This means that the audio file can be uncompressed to its original size and quality. Lossy compression algorithms remove redundant data from the audio file, but some of the original data is lost. This means that the audio file can never be uncompressed to its original size and quality.

Lossless Audio Compression Formats

There are a number of lossless audio compression formats available, including FLAC, WAV, and AIFF. FLAC is the most popular lossless audio compression format. It offers high compression ratios with minimal loss of quality. WAV is the uncompressed audio format. It is the most commonly used audio format for professional audio. AIFF is the uncompressed audio format used by Apple products.

Lossy Audio Compression Formats

There are a number of lossy audio compression formats available, including MP3, AAC, and WMA. MP3 is the most popular lossy audio compression format. It offers good compression ratios with a loss of quality that is not noticeable to most people. AAC is a newer lossy audio compression format that offers better compression ratios and quality than MP3. WMA is a lossy audio compression format developed by Microsoft. It offers similar compression ratios and quality to MP3.

Which Audio Compression Format Should I Use?

The best audio compression format to use depends on your needs. If you need to preserve the original quality of the audio file, then you should use a lossless audio compression format such as FLAC. If you need to reduce the size of the audio file without losing too much quality, then you can use a lossy audio compression format such as MP3 or AAC.

Conclusion

Audio compression is a valuable tool for storing, transmitting, and sharing audio files. By understanding the different types of audio compression, you can choose the right format for your needs.

8 Subtitles

Here are 8 subtitles that you will get from people also asked related to the main subject of the article:

  1. What is audio compression?
  2. What are the different types of audio compression?
  3. What are the benefits of audio compression?
  4. What are the drawbacks of audio compression?
  5. Which audio compression format should I use?
  6. How do I compress an audio file?
  7. How do I decompress an audio file?
  8. What are some common problems with audio compression?

Benefits of Audio Compression

There are a number of benefits to audio compression. These include:

  • Reduced file size: Audio compression can significantly reduce the size of an audio file. This makes it easier to store, transmit, and share audio files.
  • Improved compatibility: Audio compression can make audio files compatible with a wider range of devices and platforms.
  • Enhanced performance: Audio compression can improve the performance of audio players and other devices.

Drawbacks of Audio Compression

There are a number of drawbacks to audio compression. These include:

  • Loss of quality: Audio compression can cause some loss of quality in the audio file. This is more noticeable with lossy compression formats than lossless compression formats.
  • Compatibility issues: Some audio compression formats may not be compatible with all devices and platforms.
  • Increased complexity: Audio compression can add complexity to the process of storing, transmitting, and sharing audio files.

Which Audio Compression Format Should I Use?

The best audio compression format to use depends on your needs. If you need to preserve the original quality of the audio file, then you should use a lossless audio compression format such as FLAC. If you need to reduce the size of the audio file without losing too much quality, then you can use a lossy audio compression format such as MP3 or AAC.

How to Compress an Audio File

To compress an audio file, you can use a variety of software programs. Some popular programs include:

  • FLAC: A free and open-source lossless audio compression program.
  • WAV: A free and open-source uncompressed audio compression program.
  • AIFF: A free and open-source uncompressed audio compression program.

How to Decompress an Audio File

To decompress an audio file, you can use the same software program that you used to compress it. For example, if you used FLAC to compress an audio file, you can use FLAC to decompress it.

What is Audio Compression Threshold and How it Affects Sound Quality

What is Audio Compression Threshold and How it Affects Sound Quality

Audio Compression
Audio Compression
Audio Compression
Audio Compression

Introduction

Audio compression is a technique used to reduce the dynamic range of an audio signal. It is commonly used in music production to make a recording sound louder and more impactful. However, compressing audio too much can lead to a loss of detail and a reduction in sound quality. In this article, we will explore the concept of audio compression threshold and how it affects sound quality.

Understanding Audio Compression

Audio compression is the process of reducing the dynamic range of an audio signal by attenuating the louder parts of the signal while leaving the quieter parts untouched. The main purpose of audio compression is to make the overall level of the audio signal more consistent, which can make it easier to listen to and mix with other tracks.

However, compression can also introduce artifacts such as pumping, breathing, and distortion, which can affect the quality of the sound. Therefore, it’s important to understand the parameters of audio compression, such as threshold, ratio, attack, and release, to achieve the desired sound.

“Compression is like a lens in photography. Just as a lens can bring certain parts of an image into focus while blurring others, compression can bring certain parts of an audio signal into focus while reducing the dynamic range.” – Bobby Owsinski, The Mixing Engineer’s Handbook

What is Audio Compression Threshold?

The compression threshold is the level at which the compressor starts to attenuate the audio signal. In other words, it’s the point at which the compressor kicks in and starts reducing the level of the audio signal. The threshold is usually set in decibels (dB), and it can range from -60 dB to 0 dB or higher.

Setting the compression threshold too low can result in over-compression, where the compressor is constantly active and the audio signal loses its natural dynamic range. On the other hand, setting the threshold too high can result in under-compression, where the compressor doesn’t kick in enough and the audio signal remains too dynamic. Therefore, finding the right compression threshold is crucial for achieving the desired sound.

“The compression threshold is the gatekeeper of the compressor. If you set it too low, the compressor will work too hard and the sound will lose its natural dynamics. If you set it too high, the compressor won’t work enough and the sound will be too dynamic.” – Bob Katz, Mastering Audio: The Art and the Science

How Compression Threshold Affects Sound Quality

The compression threshold can have a significant impact on the sound quality of an audio signal. Setting the threshold too low can result in a squashed and lifeless sound, while setting it too high can result in a dynamic and uncontrolled sound. Therefore, it’s important to find the right balance between dynamic range and consistency.

Additionally, different instruments and sounds require different compression thresholds. For example, a snare drum may require a higher threshold than a vocal track, as the snare drum has a shorter decay time and more transient peaks. Therefore, it’s important to adjust the compression threshold for each individual track to achieve the desired sound.

“The compression threshold is like a knife. Use it wisely,
Copy to Clipboard

clipboard emoji

User
continua donde te uedaste que fue en:

“The compression threshold is like a knife. Use it wisely,
ChatGPT

How to determine the right compression threshold

Determining the right compression threshold can be tricky, and it can take some trial and error to find the sweet spot. Here are a few tips to help you get started:

  • Start with a low threshold: A good starting point is a threshold of around -30dB. This will ensure that you are compressing the quieter parts of your audio, without squashing the louder parts.
  • Listen carefully: When you apply compression, listen carefully to the changes in the audio. You want to make sure that the compressor is not introducing any unwanted artifacts or distortion.
  • Experiment with different settings: Try adjusting the threshold up and down to see how it affects the audio. You may also want to experiment with the attack and release times, as well as the ratio setting.

Remember, there is no one-size-fits-all solution when it comes to compression. You will need to experiment to find the settings that work best for your particular audio.

“Compression is a great tool, but it’s easy to overdo it. Always err on the side of subtlety, and remember that sometimes a little goes a long way.”

– Brian Eno

The importance of a balanced mix

One of the most important aspects of audio compression is ensuring that your mix is balanced. If one element of the mix is too loud, you may be tempted to apply heavy compression to bring it down to the same level as the other elements. However, this can result in a dull and lifeless mix.

The key is to start with a well-balanced mix. This means that each element of the mix should be at a similar volume level, without any one element dominating the others. Once you have a balanced mix, you can then use compression to add subtle enhancements and make the mix sound even better.

“A good mix is all about balance. Each element of the mix should have its own space, and nothing should be too dominant.”

– Rick Rubin

The dangers of overcompression

While compression can be a powerful tool for enhancing the sound of your audio, it can also be easy to overdo it. Overcompression can result in a number of unwanted artifacts, including distortion, pumping, and breathing.

One of the main dangers of overcompression is the loss of dynamic range. Dynamic range refers to the difference between the loudest and quietest parts of your audio. When you apply too much compression, you reduce the dynamic range, resulting in a flat and lifeless sound.

Another danger of overcompression is the loss of transients. Transients are the short, sharp peaks in the audio that give it its punch and energy. When you apply too much compression, you can squash these transients, resulting in a dull and uninspired sound.

“Compression is a great tool, but it’s important to remember that it’s just one tool in the toolbox. Don’t rely on it too heavily, and always remember to use it in moderation.”

– Tony Maserati

Audio and Video Compression Basics

Audio and Video Compression Basics

Audio and Video Compression Basics
Audio and Video Compression Basics
Audio and Video Compression Basics
Audio and Video Compression Basics

 

As we rely more and more on digital media, understanding the basics of audio and video compression becomes increasingly important. Compression is the process of reducing the size of digital files without sacrificing too much quality. Without compression, media files would take up a lot more space on our hard drives, making it difficult to store and share them. In this article, we’ll explore the fundamentals of audio and video compression and how it works.

Understanding Audio Compression

Audio compression is the process of reducing the dynamic range of an audio signal. Dynamic range is the difference between the quietest and loudest parts of a sound recording. Compression reduces this difference, making the quieter parts louder and the louder parts quieter. This is useful for improving the overall balance of a mix, and also for preventing distortion when the loudest parts of a recording exceed the maximum level of the recording medium.

Compression can be applied during recording or in post-production, using software tools like mp4gain. When done properly, compression can improve the clarity and punch of a recording, making it sound more polished and professional. However, overuse of compression can lead to a loss of detail and a “squashed” sound that lacks dynamics.

As musician David Byrne said in his book “How Music Works”:

“A good mix is one where the listener can hear and feel everything that the musicians and the engineer intended to be there.”

Understanding Video Compression

Video compression is the process of reducing the size of a video file by removing redundant or unnecessary data. This is done by encoding the video using a codec, which stands for “coder-decoder”. Codecs use complex algorithms to analyze each frame of a video and compress it in a way that minimizes the loss of quality.

There are two types of video compression: lossless and lossy. Lossless compression reduces the size of a video file without any loss of quality, but it’s not as effective as lossy compression in terms of file size reduction. Lossy compression, on the other hand, sacrifices some quality to achieve a smaller file size. The level of quality loss depends on the amount of compression applied.

When it comes to video compression, there are many factors to consider, including the resolution, bit rate, and frame rate. By adjusting these parameters, you can find the right balance between file size and quality for your particular needs.

As filmmaker and author Robert Rodriguez once said:

“Filmmaking is a chance to live many lifetimes.”

Compression Techniques for Audio and Video

There are many compression techniques used in audio and video, each with its own strengths and weaknesses. In audio, the most common type of compression is called “peak compression”, which reduces the volume of loud sounds that exceed a certain threshold. Another type of compression, called “multi-band compression”, divides the audio signal into multiple frequency bands and applies compression to each band separately.

For video compression, the most popular codecs are H.264 and HEVC (High-Efficiency Video Coding). H.264 is widely used for streaming video on the internet, while HEVC is more efficient but requires more processing

Audio Compression Techniques: Understanding the Basics

Audio Compression Techniques: Understanding the Basics

Audio Compression
Audio Compression
Audio Compression
Audio Compression

What is Audio Compression?

Audio compression is the process of reducing the size of digital audio files by removing redundant or unnecessary information, while maintaining the perceived quality of the original sound. This is done by using various algorithms that analyze and modify the audio data in a way that reduces its file size.

Types of Audio Compression Techniques

There are two main types of audio compression techniques: lossy and lossless.

Lossy Compression

Lossy compression algorithms are used to achieve high compression rates, but at the cost of some loss in quality. In lossy compression, some of the original audio data is discarded or modified in a way that reduces its size. The amount of data that is removed or modified depends on the compression algorithm used.

Some popular lossy compression algorithms include MP3, AAC, and WMA. These algorithms are commonly used for music streaming, online radio, and other applications where high compression rates are necessary.

Lossless Compression

Lossless compression algorithms are used to compress digital audio files without losing any information. These algorithms are designed to reduce the size of the file by removing redundancies in the data, but without modifying any of the original information.

Some popular lossless compression algorithms include FLAC, ALAC, and WAV. These algorithms are commonly used for high-quality music streaming and for archiving music collections.

How Audio Compression Works

Audio compression works by analyzing the original audio data and then modifying it in a way that reduces its size while maintaining its quality. This is done using various mathematical algorithms that compress the data.

The most common way to compress audio data is to use perceptual coding. This method takes advantage of the human ear’s limitations in hearing certain frequencies and sounds. By removing these sounds, the audio data can be compressed without the listener noticing any loss in quality.

Another method of audio compression is predictive coding. This method uses mathematical algorithms to predict the next sample in a waveform based on previous samples. The difference between the predicted sample and the actual sample is then compressed and stored.

Why Audio Compression is Important

Audio compression is important because it allows us to store and transmit audio data more efficiently. This means that we can store more audio files on our devices and transmit audio data faster over the internet. Without audio compression, it would be impossible to stream music or podcasts over the internet.

12 Common Questions About Audio Compression Techniques

1. What is the difference between lossy and lossless audio compression?

Lossy compression algorithms are designed to achieve high compression rates at the cost of some loss in quality, while lossless compression algorithms are designed to compress audio files without losing any information.

2. Which audio compression algorithm should I use?

The choice of audio compression algorithm depends on the intended use of the audio file. Lossy compression algorithms like MP3 and AAC are commonly used for music streaming and online radio, while lossless compression algorithms like FLAC and ALAC are commonly used for high-quality music streaming and archiving.

3. How much does audio compression affect the quality of the original sound?

The amount of quality loss in audio compression depends on the compression algorithm used and the degree of compression applied. Lossy compression algorithms generally result in some loss in quality, while lossless compression algorithms do not.

4. How can I tell if an audio file has been compressed?

You can usually tell if an audio file has been compressed by looking at its file extension. Lossy compressed files usually have extensions like MP3, AAC

Audio compression for music lovers

Audio compression for music lovers

Lossy compression

 

the truth about high bitrate lossy compression

lossy compression

In the opinion of most people, the word music lover is most often associated with a person who not only loves and collects music, but also appreciates high-quality music, and not only in artistic and aesthetic terms, but also the quality of the recording of the phonogram itself. Just think, a few years ago, an audio CD was considered the standard for music quality, whereas a computer, even in dreams, could not compete with the quality of a CD. However, time is a great joker, and he often likes to turn things upside down. It would seem that quite a while, a year or two passed and … that’s it, the CD on the PC went into the background. Don’t ask “why?”, You know the answer to this question yourself. Everything is to blame for the revolution in the world of computer sound: audio compression (hereinafter referred to as audiolo compression which means lossy compression to reduce the size of the audio file), which made it possible to store music on disk hard, lots of music! In addition, it was possible to exchange it over the Internet. New sound cards have been released, capable of almost “squeezing” studio quality out of a piece of hardware that seems useless in terms of music. Today, even having a computer that is not very smart in performance, having bought a Creative SoundBlaster Live! and remembering that since Soviet times there is a good amplifier and good acoustics, you will get nothing but a high-quality music center, the sound of which is inferior only to very expensive audio equipment (average or even the highest Hi-Fi category ). Add to this the general availability of music files and you understand that you have the power in your hands. And then there is a revolution, and you understand that a compact disc is no longer so convenient, you are fascinated by something completely different: the magic “MP3” signs. You cannot eat or sleep; you are faced with the seemingly insoluble “chicken and egg” question: how to “squeeze” and, most importantly, how to “squeeze” …

This is where I will help you. This article is the beginning of my new series of informational materials on music on the computer. For over a year developing OrlSoft MPeg eXtension and maintaining an extensive database of MP3 files, I have accumulated a great deal of research on audio compression. It is these studies that I will try to share with you. Many articles have been written on audio compression by different respected authors, so I will try not to write what I can easily find in other sources of information. I would like to put my position on the subject we are considering simply and clearly. We will not consider audio compression to be as compact a tool as possible put audio information on your hard drive (so that you can record so many hours of music there). Yes, compression allows you to record music more compactly, but my goal is to minimize quality loss by converting “pure” audio to compressed audio. This is why only high bit rates and qualitatively compressing encoders are considered in these modes. So it is much more convenient to work with compressed audio – instant access to any track from any album, convenient software for playback. And, of course, the financial issue has not been forgotten either.

Of the audio compression formats that exist today, in my opinion, three deserve attention: MP3 (or MPEG-1 Audio Layer III), LQT (as representative of the MPEG-2 AAC / MPEG-4 family) and a Completely new OGG format (Ogg Vorbis) developed by a group of enthusiasts:

MP3 is by far the most used of these (mainly because it is free). Let me remind you that it was thanks to the MP3 format that the victorious procession of compressed audio took place. However, as often happens with pioneers, little by little it is losing ground and giving way to new and better formats.
The second format, LQT, is a representative of a new direction of audio coding algorithms, a representative of the AAC family. This is a fairly high quality, but commercial and highly classified format.
OGG became widely known to the public this summer and is currently developing rapidly, soon (with the launch of the Encoder and Decoder) it should beat MP3 with better sound quality with smaller file size.

How to choose the perfect compressor configuration

Compressors and how to use them, explained.

Compression is one of your most powerful mixing tools. It is the essential element behind any good mix.

But for your compressors to work, you must first understand what compression is.

It can seem intimidating to start learning such a broad subject, especially when the controls and how they affect the signal are difficult to understand in relation to the sound.

This article will help you understand what compression does, how to choose the perfect compressor setting, and some common mistakes to avoid.

But before…

What is compression in music?

Compression in music is the process of reducing the dynamic range of a signal. Dynamic range is the difference between the loudest and quietest parts of an audio signal.

audio compression

You must reduce the dynamic range of most audio signals to sound natural to a recording.

For example: imagine a whisper and a scream on the same audio track. If they had the same volume difference as they do in real life, it would be very annoying!

Compressors fix all of this by attenuating the loudest parts of the signal and boosting what is output so that the quieter parts are more noticeable.

Imagine a whisper and a scream on the same audio track. If they had the same volume difference as they do in real life, it would be very annoying!
Using compression
Experienced engineers often talk about how one compressor is more “musical” than another.

It is an important concept. Its dynamics is one of the fundamental aspects for its sound to be unique.

When you use a compressor to change the dynamics, the sound engineer becomes part of the musical performance.

If your compressors work properly, they will positively contribute to performance and improve recordings.

Transients: understanding high energy moments.

To understand compression, you need to know what transients are.

Transients are the first high-energy moments of a certain sound in its waveform. These explosions give our brain a lot of information about the quality of a sound.

Since transients are usually louder than the rest of the waveform, they are greatly influenced by compressors.

For example: think of a nice roaring trap. As soon as the trap enters, there is an initial peak in the waveform that narrows slowly. That initial energy spike is your transient.

transient compresor

Compression helps you find the perfect balance for a track that has good dynamic range with a beautiful, full body.
A waveform with good dynamics will have a lot of transients when some sounds hit and then decay in the composition. Transients and their final decay are what make a waveform similar to a fish bone.

There is even an overly dynamic trail. If your song is transient without a body, its sound will not be of interest to your ear.

The reverse is also true, no dynamics can lead to lifeless, exhausting sound for the human ear and a waveform that looks like a big brick.

Compression helps you find the perfect balance for a track that has good dynamic range with a beautiful, full body.

Limiter

The threshold determines the signal level at which the compressor will start operating. The threshold is measured in dB, therefore any signal above the set threshold will be compressed.

When setting the threshold, decide what part of the signal you want to reduce.
With the threshold low, the compressor gain reduction is applied to a larger portion of the signal. Setting it higher affects only the most aggressive peaks and leaves the rest intact.

To determine what the perfect threshold is, think about what you’re trying to accomplish by compressing the audio and which parts of the signal are the most troublesome.

Are strong signal transients distracting you from the rest of your mix? Or maybe your final decadence is imperceptible in the mix?

A good rule of thumb for compression is “do no harm.”
Set the threshold to hear compressor operation on the part of the signal that needs to be addressed and not lowered.

Setting the perfect threshold will depend on your needs. Play the track and tweak it on the go to find the perfect amount.

Relationship

The ratio determines the amount of gain reduction applied by the compressor when the signal exceeds the threshold. It is called a relationship because it is expressed in comparison with the unaffected signal.

The higher the first number in the report, the greater the gain reduction factor.

For example, we can say that an uncompressed signal would have a 1: 1 ratio

What is the compressor and how does it work?

The compressor, together with the equalizer, is one of the most important and most used processors in professional audio, but its operation is not always so intuitive and knowing how to master the compression technique sometimes requires years of experience. In this new article we begin to explore this fundamental processor.

What is the compressor for?

First of all, let’s start to see what the compressor’s function is: to reduce the dynamic range of an audio track, that is, to decrease the distance in volume between the weakest signal and the strongest signal. Initially created to optimize recording on magnetic tape and to avoid saturation of the input stages, the compressor is still used today during recording and mixing. Reducing dynamic range also allows us to keep multiple tracks in the mix, such as a voice, for example, always at the same volume throughout the song so that they are not dominated by the other instruments in the most crowded sections, as well as to avoid Output saturation.

Compressor

Back to basics: what is the compressor and how does it work

The controls

Now let’s see in detail what the various compressor controls are and what they are for:
— Threshold: or threshold, expressed in dB, indicates the point beyond which the compressor begins to operate.
— Ratio: is the compression ratio and indicates how much the signal will compress when it exceeds the Threshold. For example, with a 2: 1 ratio, each signal that exceeds the threshold will be halved at the output, that is, every 2 dB at input 1 will be returned at the output.
— Make Up Gain: This is the output of the compressor and is used to recover the volume lost due to compression.
— Attack: expressed in milliseconds is the time it takes for the compressor to start once the signal has passed the threshold.
— Release: always expressed in milliseconds, it indicates the time it takes for the compressor to stop compression once the signal has returned below the threshold.
— Gain reduction meter: it is not a control but a visual indicator, led or pointer, which informs how much the signal is compressed, through a scale in dB.
— Bypass: shuts down the processor, making the signal pass through the machine without alteration.

With the advent of digital and accessories, we can find controls that not all hardware compressors have:
— Knee: indicates the type of curve at the point where the compressor begins to operate, which can be abrupt (Hard Knee), soft (Soft Knee) or various intermediate values.
— Automatic: sets the time control to which it refers (attack, release or both) automatically, depending on the input signal (program dependent).
— Sidechain eq or External Sidechain: Sidechain is the signal that drives the compression circuit, where in most cases it is the signal itself to compress, but sometimes it can be a version of the input signal with different equalization, for example without low frequencies, so that they don’t start the compressor too soon. Or it can be an external signal, such as the one used on the radio where the speaker’s voice signal drives a compressor on the background music signal, so it automatically turns off when it starts to speak (Ducking), or Classic Speaker Use to activate the compressor on various instruments in the mix or the Master Buss.
— Mix: used to mix the compressed signal with the original signal. This way, you can use Parallel Compression directly on the compressor, without having to use two mixer tracks (one for the dry signal and one for the compressed signal).
Back to basics: what is the compressor and how does it work

Compressor

Compressor or limiter?

What is the difference between a compressor and a limiter?

Essentially, the compression ratio: over 10 dB ratio, the processor is considered a limiter. A separate case is the Brickwall Limiter, a compressor with immediate attack and a compression ratio of infinity to 1, so that no signal can exceed the Threshold. It is mainly used on the master buses so as not to exceed 0dBFS on the output and then send the converters to clips.

Usage examples

As we already said, the compressor is used to keep the volume excursion under control. One track in the mix: in this case, using a fairly fast attack, slow release and not too aggressive ratio, allows us to compress the signal constantly and transparently, that is, without making your intervention feel excessively.
The compressor can also serve to emphasize the attack of a percussion instrument: in one case, for example, by setting a medium slow attack.

Audio normalization or compression

The function of a compressor is to reduce the dynamic range of the signal, that is, the level difference between the strongest and weakest signal parts.

Why compression or normalize?

At the time of analog, the limited dynamics of the main musical supports (vinyl, audio and video cassettes) did not allow to reproduce the dynamics of a classical, jazz or even rock orchestra in the case of the audio cassette. Therefore, the signal was compressed to avoid distortion in the transmission medium.

audio compression or normalization

Now that the music is converted to 16-bit or more, recorded in digital format, and then streamed to CD / DVD or downloaded, the dynamics of the media is enough to faithfully reproduce the dynamics of almost any orchestra. The old technical limitations have disappeared, therefore compression is no longer essential.

However, whatever the musical genre, some sources (voices) are compressed almost systematically. The goal of modern compression is therefore to optimize sound recording, either to get closer to reality or, conversely, to create a less faithful but denser, more controlled, more powerful sound, etc., or even a sound. totaly new.

And to do all this, the compressor is satisfied with a simple principle: it reduces dynamics by attenuating the signal level when the latter exceeds a given threshold level.

Level settings

– Threshold (threshold level, in dB)

This parameter determines the threshold level from which the compressor is triggered. As long as the input signal level remains below the threshold, the compressor does not start and no treatment is applied. As soon as the source signal exceeds the threshold level, compression is applied.

– Ratio (compression ratio)

The ratio determines the amount of level reduction applied to the part of the signal that exceeds the threshold level, the rest of the signal is not processed. Depending on the compressor, the ratio can vary from 1: 1 to Inf: 1. Quésaco?

Set up a compressor

With a 1: 1 ratio, no compression is applied, the level of the input signal is equal to that of the output signal. With a ratio of 2: 1, the level of the signal portion that exceeds the threshold is divided by 2 in the output signal. With a 3: 1 ratio, it is divided by 3, etc. When the compression ratio is infinite (Inf: 1 ratio), the compressor behaves like a limiter: the output signal never exceeds the threshold level, regardless of the input level.

Therefore, the compression intensity applied to the signal is a compromise between the threshold and the compression rate setting:

The lower the threshold, the larger the compressed signal portion.
The higher the ratio, the greater the level reduction applied to the signal portion above the threshold.
Depending on the compressors, you may find other parameters, for example, an input level setting instead of the threshold, or a gain setting (also called the offset or output level) that amplifies the signal to compensate for the drop in level resulting from compression.

Time settings

– Attack (attack, in ms)

Attack corresponds to the time the compressor needs to reach the given ratio when the signal level exceeds the threshold level. A quick attack of a few milliseconds triggers strong compression as soon as the signal level exceeds the threshold; With a slower attack, the compressor passes the first transients of the signal peaks, keeping one side alive and well cut.

Set up a compressor

– Launch (launch, in ms and s)

Release corresponds to the time the compressor needs to return to the 1: 1 unit ratio when the source signal falls below the threshold level. A quick launch of a few tens of ms allows the original character to stay alive. Slower relaxation improves instrument resonance and reverberation, but can cause compression of the first peak transients when the latter are close together.

– Knee (literally knee!)

The Knee parameter determines the increase in compression, that is, the transition between the compression ratio of the unit (1: 1, no compression) and the compression ratio set to ratio.

Applications

At the output, the compressor can be used as a limiter to control signal peaks and prevent distortion from occurring in the analog / digital conversion stage.
When taking and mixing, light compression can bring out weak parts of the signal and thus reveal certain details.
In the mix, the compressor allows you to increase the average level of the audio volume output.

Destructive compression vs non-destructive

Destructive compression is compression obtained by losing information. This means that if you extract the compressed signal with this technique, you will not find the start signal.

Destructive Vs Non-Destructive Audio compression

In destructive compression techniques, there are basically methods that take advantage of the properties of the human ear. The latter listens to frequencies between 20 Hz and 20 kHz. If a song contains frequencies outside this range, we can easily delete them without losing the audio quality because the ear does not hear them. In fact, frequencies between 2 kHz and 5 kHz are generally heard correctly. In fact, less than 5 dB is required to hear frequencies in this band, while more than 20 dB is required to hear frequencies below 100 Hz or above 10 kHz. These results can be used to reduce the size of the files. For example, we can conclude that all frequencies above 15 kHz are suppressed.

audio compression

MP3 also uses the principle of masked frequencies. If in a frequency group some have a much higher noise level than others, it is not necessary to keep the frequencies low – we will not hear them. Imagine yourself in your garden listening to the birds sing. The chord goes over your head (even very high). We no longer listen to birds because the sound they make is much quieter than that of the plane. It is as if the birds no longer exist or have stopped singing. Obviously, it is not necessary to code all the frequencies present in a song so that the human ear can always perceive it well. Finally like the two ways

What do we find among non-destructive techniques?

Mainly coding techniques.

Let’s explain. A sound is a frequency. A second of music is therefore a sequence of frequencies. Imagine that in the series of samples that make up a second of music (remember that there are 44,100), we have the same frequency several times in succession, for example 10 times. If instead of storing these 10 points, we only store 1 and the number of times it is repeated, we must encode 2 digits and not 10. If we also apply this method to frequencies which are no longer identical, but very dense together (so close that the average human ear cannot distinguish them), we can still save space. This time, the compression is destructive because we are replacing one frequency with another frequency (almost identical).

MP3 also uses the algorithm of Huffman (1952) as a method of encoding information. This method is used in all compression algorithms (compression of text files, compression of images, compression of sound). It is based on the use of a variable length code and the probability that an event (in this case a frequency) will occur. The more a frequency appears, the shorter the code (low number of bits to display it). The file is read for the first time and a table appears with the frequencies that appear and the number of times they appear. We derive the right code. This encryption was last used. It is the final phase of compression. This is non-destructive coding.

MP3 works on the properties of the ear, first to reduce the size of a part, then processes the stereo sound and possibly applies encodings which end with Huffman encoding.

The use of all the reduction options mentioned depends on the location you want to give within 1 minute of your tablet and therefore on the compression speed to apply.
To encode MP3 audio files, we are talking more in terms of bit rate than compression rate.
Bit rate is the number of bits allowed in 1 second.
Therefore, we have the following relationship: the more we want to compress a song (so that it takes up the least space possible), the lower the bit rate.

Choice of compression ratio (bit rate)

Obviously, the more you compress, the worse the sound quality.
You have to compromise the file size and audio quality.
This commitment can be dictated by your needs, but also by the use you want to make of your MP3 files. It may not even be demanding if your MP3s are intended for your portable music player and are too demanding to be listened to on a stereo system.