MP3 and FLAC Audio Formats – We Use It Wisely


Free Download Mp4Gain
picture

MP3 and FLAC Audio Formats – We Use It Wisely

FLAC vs MP3

In this post, I want to talk about how to get the best results when compressing music in FLAC and MP3 formats. In the age of mass distribution of audio and video streaming services, this topic may seem of little relevance, however, as practice shows, this is not the case.

FLAC vs MP3

First, not everyone wants to depend on third-party resources, which can behave as they please at any time, from the introduction of various access restrictions to content to its complete removal. Second, there are many places in the world where the Internet is slow, dreary, and with lunch breaks. Third, the sound quality when listening online is usually quite acceptable for most users, but it can plunge sophisticated listeners with good equipment into depression. Considering all the above, we can assume

Basic concepts

PCM (pulse code modulation), also known as PCM (pulse code modulation) is a method of representing an analog signal in digital form. It works like this: electrical vibrations are fed into the input of a device called the ADC (analog to digital converter), which is an analog audio signal. The ADC measures the level of this signal with a certain frequency and transmits the obtained values ​​to the outside, where they are stored. Thus, a data matrix is ​​formed, which is a sequence of values ​​of the amplitude of the original signal. The process described is called “digitization”. The main problem with storing PCM data in “naked” form is its rather large volume, therefore, for a more rational use of space on the carrier, various digital audio compression algorithms are used.

Encoder (or “encoder” from English “encoder”) is a software designed to convert WAV to any other format in order to reduce the amount of stored data.

Decoder – Software or hardware used to play files compressed in the appropriate format or convert them to uncompressed format.

Lossy is the generic name for a family of audio formats that use lossy data compression. Typical members of the family are MP3, AAC, WMA, Ogg Vorbis. The main characteristic of lossy formats is that when the material is compressed in any of them, a significant part of the original audio information is irretrievably lost and cannot be restored later in any way. Because of this, a high degree of compression is achieved, while the loss is barely perceptible or generally invisible to the ear, as only data that is not critical to human perception is discarded.

Lossless is the generic name for a family of audio formats that use lossless data compression. Typical family members: FLAC, Monkey’s Audio (APE), ALAC, WavPack. Unlike lossy formats, here no information is lost during compression, everything happens in the same way as in normal filing cabinets. Paying for complete data security is significantly lower compression ratio compared to loss.

MP3 (MPEG-1 Layer 3) is historically the first and most widespread lossy compression format. Despite the fact that, due to the era of MP3, today it does not shine with the efficiency of compression, its popularity remains very high due to its versatility: any plate can reproduce this format. At the same time, if a suitable encoder and decoder are used, the MP3 sound quality is at a very decent level. The combination of these two factors justifies the use of the format today. The MP3 compression ratio while maintaining high sound quality is 6 to 9 times. The average bit rate of such an MP3 with 16-bit / 44.1 kHz stereo parameters is 150 to 240 kbps, the file size of a five-minute recording in this form is 6 to 9 MB.

FLAC (Free Lossless Audio Codec) is currently the most popular lossless audio compression format. If lossless support is claimed for any software or equipment, this software / equipment can almost certainly play FLAC. The format is the de facto standard among lovers of quality sound. The FLAC compression ratio is 1.3-2.8 times. FLAC bitrate with parameters 16 bit / 44.1 kHz / stereo – 500-1100 kbps, the file size of a five minute recording in this form is 18-40 MB.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

FLAC or MP3: these are the differences

FLAC vs MP3

FLAC and MP3 are common audio formats. We explain their similarities and differences in this practical tip.

Similarities Between FLAC and MP3

At first glance, FLAC and MP3 have a lot in common:
FLAC and MP3 are audio formats. Detailed information on FLAC files can be found in this practical tip.

Mp3 vs Flac
The audio information is compressed in both formats.
With both, compression works in several steps. One of them can be lossless mid-side encoding for both.
Strictly speaking, both MP3 and FLAC are codecs, that is, pairs of an encoder to compress and a decoder to play the file.
Both formats allow the addition of metadata as tags.
Streaming is possible with both formats, that is, near real-time streaming.
WAV file in wave format
WAV file in wave format

Differences between FLAC and MP3

Despite the similarities, there are essential differences between FLAC and MP3:
MP3 is a psychoacoustic compression process, which means it changes the signal as you can see in the image. FLAC just changes the way the data is presented so that the file can be saved more efficiently.
MP3 is leaky due to the way it works. This means that the information in the original file is lost and errors occur. On the other hand, FLAC files can be used to restore the original without errors.
MP3 achieves a file compression of approximately one-tenth the original size. FLAC reduces the size of the source file by approximately half.
PCM files, like WAV, store continuous fluctuations in sound pressure as discrete values ​​over time. With a high sampling frequency and depth, this process is virtually lossless. FLAC files store data from WAV files in a different way. However, the PCM file can be regenerated from it at any time.
MP3 files generate noise especially before the strong amplitude increases and reduces the dynamics of some frequencies and thus irreparably falsifies the output signal. However, if the encoding is good, the differences are subliminal
There is already a huge market for MP3 music, editing software and playback devices. Until now, FLAC has barely established itself in the area of ​​music downloading, audio processing software, and in terms of playback devices.

FLAC or MP3: which is better?

The differences between FLAC and MP3 in particular show which format is more suitable for which application:
MP3 has the immense advantage of being available, widespread, and compatible with common hardware and software. In addition, there is the huge compression rate, which is particularly suitable for fast streams and large music collections.
FLAC has a decisive force: it encodes lossless audio files and is much more flexible and more compressed than ZIP or RAR files. FLAC is particularly ideal in the recording studio, but also for highly dynamic music or simply for archiving lossless audio CDs.

Convert FLAC to MP3: what about bit rate?

If you’re the proud owner of a high-quality FLAC file music library, don’t worry about the bit rate (sample rate). But for lossy formats like MP3 or AAC, it is the bit rate that determines the sound quality. The previous default value was 128 kbps, today you just need to convert to 320 kbps. Almost any converter that converts from FLAC to MP3 should offer this setting.

flac

Opinions differ about the bit rate: some do not hear the difference between an MP3 with 128 kbps and an MP3 with 320 kbps, others do. But if you start with a FLAC file, you should get the most out of your file and convert more than a few kilobits per second (kbps).

mp3 quality

FLAC or MP3: do you hear the difference?

It’s a topic worth discussing, like in the hi-fi world: is there a difference between FLAC and MP3 files? The answer: yes, certainly!

If you don’t hear a difference, it’s not so much the file format, but the computer the song is playing on. If you listen to the same song in MP3 and FLAC format, you will notice a clear difference. A FLAC file simply contains more information. If you play this in a good installation, you will clearly hear the added value. Take the test yourself!

Hi-fi enthusiasts speak deeper. Music sounds fuller and more realistic. The best test is to switch between FLAC and MP3, because switching back to MP3 exposes gaps in the soundtrack. These frequencies are really beyond the audible range of people, or so they thought, but they still seem to be perceived.

However, the MP3 quality is sufficient for use in an MP3 player or smartphone. Although you can hear even finer nuances of the sound through the headphones, you can test it at home. Ambient volume also plays a role when traveling.

Lossless formats, such as the open source FLAC format, are the new standard. In terms of quality, they are comparable to a conventional CD, but take up much less storage space. This is made possible by a “smarter” compression process: while storing the same amount of digital information as on a CD, you save up to 30 percent more space. Therefore, if you want to digitize your CD collection, today it is important to use a lossless format like FLAC.

FLAC files not working? Make them compatible

However, there is also a small drawback to the FLAC format. Many playback devices, such as MP3 players, cannot play FLAC files, only MP3 files. However, it is not necessary to buy a new MP3 player with FLAC support. The audio converter (Mp4Gain), which converts FLAC files to MP3 files, can be found in this website

Once you download Mp4Gain, you can quickly convert your FLAC files to MP3. Then you can use them on a suitable MP3 player or similar device.

MP3, FLAC, WAV and other digital audio formats

MP3, FLAC, WAV and others: digital audio formats, from compression to high definition

Let’s try to take some marks in the jungle in digital audio formats …
For a few months, Neil Young has opened a public debate on the quality of digital music, made a crusade against MP3 and announced his project to launch Pono, a portable music player dedicated to reading digital files in Very High Definition. . In addition to the sarcasm that is already on fire, as Trent Reznor compares Pono’s design to a Toblerone, one might wonder if this hype is not the implementation of a beautiful marketing operation, inspired by Dr. Their success Beats helmets?

 


Neil Young presents his Pono on the David Letterman show

Because the prophecy announced by Neil Young has already been fulfilled: audiophile digital music players are there: we can especially mention music players from the manufacturers Sony (Japan), Cowon, Astell & Kern (Korea) or Fiio (China), HifiMAN (USA) ), Colorfly (Germany). This type of player’s contribution is to reproduce high quality files.
Add to this that the latest generation of Android smartphones can also play high-resolution files with the appropriate player (Poweramp type, Neutron Music Player). Likewise, the latest generation of Apple products (Iphone, Ipad, Ipod) are partially compatible with HD audio (today with up to 24 bit / 48 kHz resolution with ALAC, AIFF, WAV formats).

Sony, Fiio, Cowon brand audio players

CD quality / High resolution, what difference does it make?
The audio files on a CD are encoded in 16 bits at a frequency of 44 kHz.
High resolution (or high definition) files (such as SA-CD or Blu-ray Pure Audio) are in 24-bit frequency 44, 48, 88, 96 or 192 kHz
What does it mean?
16 bits – 44 kHz = 65,536 bits (2 at the effect of 16) x 44,100 Herz x 2 (stereo) per Second
24 bit – 192 kHz = 16,777,216 bits (2 at the power of 24) x 192,000 Herz x 2 (stereo) per second So,
an hour of high-resolution music takes over 2 GB vs. 635 MB for CD quality
. We measure the gap in information volume and computing power between a CD quality file and a high-definition file.

Which format should you choose?

We must first distinguish between:

Tabbed compression formats: MP3, AAC, Ogg Vorbis, WMA
Lossless or compression-free compressed formats: AIFF, ALAC, FLAC, WAV, DSD, mono sound, lossless WMA
Today, if we are looking for sound quality, we have to choose from 3 requirements:

-High quality: MP3 from 196 to 320 kb / s, AAC from 128 to 256 kb / s, OGG vorbis from 160 to 320 kb / s

Loss without CD quality: FLAC, ALAC, WMA, WAV, AIFF (16 bit – 44.1 kHz)

– High resolution quality: FLAC, ALAC, WMA, WAV, AIFF, DSD (24-bit – 44, 48, 88, 96, 192 kHz)
Choosing MP3 encoding at 320 kbs or FLAC (16-bit – 44.1 kHz) seems like a good compromise.

And streaming?

Audio format selection is also important for streaming platforms (especially as it is subject to bandwidth and bandwidth limitations):

Deezer uses MP3 format with 2 quality levels:

128 Kbits / s for the free version,
320 Kbits / s (HQ audio) for the paid version of the transmission

Qobuz uses 2 formats:

MP3 at 320 MHz for your “premium” service and
CD quality FLAC (16 bit 44.1 kHz) for Hi-Fi option
(Qobuz also sells 24-bit master study quality files ranging from 44.1 kHz to 192 kHz in WAV, AIFF, FLAC, ALAC, lossless WMA format)

Spotify uses the Ogg Vorbis format for streaming with three quality levels:
96 kbps: Spotify app “Low Speed” setting
160kbps: standard transmission quality for the mobile application / “High quality” setting of the mobile application
320 kbps: “High quality” setting available in Spotify Premium / “Extreme Quality” setting of mobile app (currently available on iOS and Android only)

YouTube uses the AAC audio format at 128 or 192 kbps to transfer the sound of medium and high resolution videos (and also 64 kbps MP3, to low resolution videos) (source)

Equip yourself with a portable listening system

Equipping yourself with a hi-fi player means paying attention to all the elements of the “chain”: the quality of the initial recording, encoded file, streaming material, software (player) and headphones. . This requires a comparative and empirical approach to evaluate each parameter separately. For example, if you Can listen to 24-bit 88Mhz files with an Android smartphone, the rendering is not the same, depending on the choice of audio playback application