Principle of mp3 and file format analysis. Part4


Free Download Mp4Gain
picture

Principle of mp3 and file format analysis. Part4

MP3

The three bytes starting at 1397H are 54 41 47, which store the “TAG” character, indicating that this file has ID3 V1.0 information.

MP3

The 30 bytes starting at 139AH store the name of the song, the first 4 bytes that are not 00 are 54 45 53 54, which means “TEST”;
the 4 bytes starting at 13F4H are 04 19 14 03 and the year of storage is “04/25/2003” ”;
the last byte is 4E, which represents the music category, and the code name is 78, that is, “Rock&Roll”; the
other bytes are all 00, and no information is stored.

4 Conclusions
As an important multimedia data type, people are always looking for more efficient compression methods and new sound file formats. In the MP3 file, the MDCT transform is used, which is a quasi-optimal transform with a simple structure and easy programming, which avoids the problem that the optimal transform (KL) is difficult to solve for the eigenvalues ​​and eigenvectors of the covariance. matrix.

Through the analysis of the MP3 file format, it is not difficult to find its shortcomings. Each frame of an MP3 file has the same 4-byte frame header, which requires some space overhead for an MP3 file with a large number of frames. ID3 stores the music description information. The proprietary, copyright, and other information in the frame header is also description information. The music description information is a bit messy.

In any case, the development of MP3 is unstoppable. MP3 has become a recognized sound data format. MP3 is becoming a hot spot in the field of multimedia information processing along with JPEG images and PDF documents.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

Principle of mp3 and file format analysis. Part 3

Principle of mp3 and file format analysis. Part 3

Mp3tag

The ID3 standard MP3 frame header does not consider storing complex information such as song title, author, album name, year, etc., except some simple music description information such as privacy, copyright and original, which are very necessary in MP3 applications.

mp3 tag

 

 

In 1996, in the “Studio 3” project, FricKemp proposed to add description information for storing songs at the end of the MP3 file and formed the ID3 standard. Until now, ID3 V1.0, V1.1, V2 .0, V2, .3 and V2.4 standards have been formulated. The higher the version, the richer and more detailed the relevant information is recorded.
The ID3 V1.0 standard is not complete and the information stored is too small to store lyrics, album covers, images, etc. V2.0 is a fairly complete standard, but it brings difficulties in writing software, although there are many people in favor of this format, very few are actually implemented in software. The vast majority of MP3s still use the ID3 V1.0 standard. This standard uses the last 128 bytes at the end of the MP3 file to store ID3 information. See Table 3 for instructions on using these 128 bytes.
Table 3 Final ID3 V1.0 File Description
length in
byte (byte) Description
1-3 3 Stores the “TAG” character, which indicates the ID3 V1.0 standard, followed by the song information.
4-33 30 Song name
34-63 30 Author
64-93 30 Album name
94-97 4 Year
98-127 30 Notes
128 1 MP3 music category, a total of 147 types.

3.3 File example
Open a file called test.mp3 in VC++ with the following content:
000000 FF FB 52 8C 00 00 01 49 09 C5 05 24 60 00 2A C1
000010 19 40 A6 00 00 05 96 41 34 18 20 80 08 26 48 29
000020 83 04 00 01 61 41 40 50 04 00 C1 2 41 50 64

0000d0 Fe FF FB 52 80 01 EE 90 65 6E 02 30
0000E0 32 0C CD CD CD CD 46 16 41 89 B8 408 89 300 408
0000F0 33 B7 00 00 01 02 FF FF FF F4 E1 2F FF FF FF FF
……
0001A0 DF FF FF FF FB 52 8C 12 00 E 01 FE 90 58 6E 09 A0 02
000150 8513 B0 AC 45 F6 19 61 26 26
0001C0 05 AC B4 20 28 94 FF FF FF FF FF FF FF FF FF FF

001390 7F FF FF FF FD 4E 00 54 41 47 54 45 53 54 00 00
0013A0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
001400
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00
001410 00 00 00 00 00 00 4E
File length is 1416H (5.142K), frame header is: FF FB 52 8C, converted to binary:
11111111 11111011
01010010
10001100T

Principle of mp3 and file format analysis. Part 2

Principle of mp3 and file format analysis. Part 2

mp3

MP3 uses perceptual audio coding (Perceptual Audio Coding) this distortion algorithm.

mp3

The frequency range of sound perceived by the human ear is 20 Hz to 20 kHz. MP3 cuts out a lot of redundant signals and irrelevant signals. The encoder transforms the original sound into the frequency domain through a mixed filter bank and uses a psychoacoustic model. to estimate that it may be only The perceived noise level is quantized and converted to Huffman coding to form an MP3 bit stream. The decoder is much simpler, its task is to extract the sound signal from the encoded spectral line components through inverse quantization and inverse transformation. The MP3 encoding and decoding process is shown in Figure 1.
2.4 Modified Discrete Cosine Transform The cosine transform
Modified Discrete CT (MDCT) refers to converting a time-domain data set to frequency-domain data in order to know the changes in the time domain. MDCT is an enhancement of the DCT algorithm. The first fast algorithm is fast Fourier transform (FFT), but FFT has complex operations, MDCT are real operations, easy to program.
When compressing audio data, first divide the original sound data into fixed blocks, and then perform direct MDCT (direct MDCT) to convert the value of each block into MDCT 512 coefficients. The 512 coefficients are restored to the original sound data, and The original before and after sound data is inconsistent because redundant and irrelevant data is removed during the compression process. The FMDCT transformation formula is:
k=0, 1,
.
n0=(N/2+1)/2, X(n) is the time domain value, X(k) is the frequency domain value. If N takes 1024 points, it becomes 512 frequency domain values.
The IMDCT transformation formula is:

n=0, 1, …, N-1
MDCT itself does not compress data, it simply maps the signal to another domain, and quantization compresses the data. When bit allocation is done on the quantized transformed samples, the entire quantized block must be considered the smallest, which is called lossy compression.
3 File Format Analysis
MP3 MP3 file data is made up of multiple frames, and the frame is the smallest unit of the MP3 file. Each frame, in turn, consists of a frame header, additional information, and sound data. The playback time of each frame is 0.026 seconds and its duration varies with the bit rate. Some MP3 files have extra bytes at the end that contain description information for non-audio data.

Principle of mp3 and file format analysis.

Principle of mp3 and file format analysis.

Principle of mp3 and file format analysis

Principle of mp3 and file format analysis

Principle of mp3 and file format analysis

1. Introduction
With the rapid development of file compression technology, MP3 has become the most popular music format today. High-quality music spreads rapidly around the world with the arrangement of 0 and 1, which shakes people’s hearts. What is MP3? The full name of MP3 is MPEG Audio Layer 3, which is an efficient computer audio coding scheme. It converts audio files into smaller files with an .MP3 extension with a higher compression ratio, basically maintaining the sound quality of the original file. MP3 is part of the ISO/MPEG standard, which describes audio compression using a high-performance perceptual coding scheme. This standard has been continuously updated to meet the pursuit of “high quality and low quality”, and has now formed MPEG Layer 1, Layer 2, Layer 3 three audio encoding and decoding schemes. MPEG Layer 3 compression ratio can reach 1:10 to 1:12, 1M of MP3 file can be played for 1 minute and 1 minute of CD-quality WAV file (44100Hz, 16bit, dual channel, 60 seconds) occupies 10M space, so Calculated, the playing time of a 650M MP3 disc should be more than 10 hours, and the playing time of a CD of the same capacity is about 70 minutes. The advantage of MP3 is that the CD is incomparable.
2 Analysis of the principle of MP3
2.1 audio standard
MPEG MPEG (Moving Picture Experts Group) is a group of dynamic picture experts under ISO, the MPEG standard which makes it widely used in various multimedia. The MPEG standards include audio and video standards, of which the audio standards have been established as MPEG-1, MPEG-2, MPEG-2 AAC, and MPEG-4.
The MPEG-1 and MPEG-2 standards use the same family of audio codecs: Layer 1, 2, 3. A new feature of MPEG-2 is the use of low sample rate expansion to reduce the data stream, and another feature is multichannel expansion, which increases the number of main channels to 5. The MPEG-2 AAC (MPEG-2 Advanced Audio Coding) standard was released by Fraunhofer IIS and AT&T in 1997 to significantly reduce data traffic. The MDCT (Modified Discrete Cosine Transform) algorithm adopted by MPEG-2 AAC has a sampling frequency between 8KHz and 96KHz, the number of channels can be between 1-48.
The three layers of MPEG Audio Layer 1, 2, and 3 use the same filter bank, bitstream structure, and header information, and the sampling frequency is 32KHz, 44.1KHz, or 48KHz. Layer 1 is designed for DCC (Digital Compact Cassette) compressed digital tape, the data rate is 384kbps, Layer 2 has made a compromise between complexity and performance, and the data rate is reduced to 256kbps-192 kbps. Layer 3 is designed for low data traffic from the start, and the data traffic is 128Kbps-112Kbps. Layer 3 adds MDCT transformation to make its frequency resolution 18 times that of layer 2. Layer 3 also uses average information similar to MPEG video. Entropy Encoding reduces redundant information. The vast majority of MP3s use the MPEG-1 standard.
2.2 Purpose of audio compression
The MP3 format began in the mid-1980s, when the Fraunhofer Institute in Erlangen, Germany, dedicated itself to encoding high-quality, low-data-rate sound. Let’s look at an example: you want to sample a song you like that is about 4 minutes long, store it on a disk, sample it in CD-quality WAV format, at a sample rate of 44.1 kHz, that is, receive a value of 44100 per second, stereo, each sampled data is 16 bits (2 bytes), so the space this song occupies is:
44100 x 2 channels x 2 bytes x 60 seconds x 4 minutes = 40.4 MB
If you download this song from the Internet, assuming the transmission speed is 56 kbps, the download time is:
40.4x106x8/56x103x60=96 minutes
Even a 1M broadband network requires more than 5 minutes, it can be seen that audio compression is particularly important to reduce audio data storage space.
2.3 Encoding and decoding
MP3 MP3 audio compression consists of two parts: encoding and decoding. Encoding converts the data in a WAV file into a highly compressed bitstream, and decoding takes the bitstream and reconstructs it into a WAV file.

THE MOST COMMON FORMATS FOR MUSIC AND OTHER AUDIO FILES AND HOW THEY ARE RELATED TO EACH OTHER PART 2

THE MOST COMMON FORMATS FOR MUSIC AND OTHER AUDIO FILES AND HOW THEY ARE RELATED TO EACH OTHER PART 2

mUSIC fORMATS

AUDIO CONVERTER

Music Formats

With an audio converter the situation is even simpler. Programs of this type are specially designed to convert between audio formats quickly, without explicit user intervention. Unlike audio editors, converters, we can say, use batch mode, that is, they allow you to convert MP3 files in a single operation, for example, not a single copy, and make several pieces at once. Depending on the app’s function, there may be dozens or hundreds.

Audiobooks in MP3 format

Once again, the operation of such a package is simple. Just select the source material (usually it can be a completely different file type) and install the final format. Then press a special button to start the process, the output user gets all files of a certain type. Your save usually occurs in the folder set in the app’s default settings, but the save location can of course be changed by yourself. By the way, the same applies to basis functions, which will be used during the transformation. However, any program initially provides the user with a specific set of criteria to use with a specific type of audio file. They can also change.

The beauty of these apps is that they have a complete process that will automate as much as possible and do all the required processes without much time. However, if we use a music or audio editor, comparing them in terms of improving the same sound quality especially cannot be dispersed here.

MUSICAL ARRANGEMENT
This is another type of software, most of which have built-in editors for MP3, WAV, etc. In this sense, they work on a similar principle to audiorekatorami, but their abilities are slightly broader.

Convert to MP3 format

First of all, it deals with the fact that the entire composition can consist of fragments of different types (MP3, MIDI, WAV, OGG, VST-library or DX-tool, etc. D.). After recording all sound tracks, for example mixing and mastering with virtual synthesizers or prescription parties, the resulting files can be saved in the desired format. Mostly it is an MP3 or WAV, or the program’s project file. In some applications, there is also a recording function to disk. Do you want an audio CD? No problem! In addition to the audio editor, it may take a few minutes to perform the necessary operations and get the tracks on the output disc in CDA format.

If we talk about the benefits of this type of application, it is obvious that only a few formats of the same union, and then saving or exporting to some of the most common are its greatest advantages. Also, you need to pay attention to the fact that the very overlay effect or change of any track parameters happens in real time, that is, the result will not necessarily wait; can be heard immediately by turning some knobs, for example. , or another option. Of course, this is only a small part of what packages are capable of.

HOW SHOULD I USE IT?
Finally, we come to the question of choosing the software to use with the MP3 format, or any other sound to record to. As is clear, normal listening to music or audiobooks is enough and a humble player (software or “iron”), or more commonly a DVD player.

Converting files to other formats, so to speak, in a hurry, is the perfect audio converter. However, if the output needs to achieve crystal clear sound quality, or even convert one file type to another, it is indispensable without powerful dedicated software. Of course, this requires ordering more, and without any experience, time to get the same high-quality MP3 files as the first time and you can’t get. However, with at least some in-depth study from audio editors, let alone professional music studios, the results will exceed everyone’s expectations.

THE MOST COMMON FORMATS FOR MUSIC AND OTHER AUDIO FILES, AND HOW THEY ARE RELATED TO EACH OTHER

THE MOST COMMON FORMATS FOR MUSIC AND OTHER AUDIO FILES, AND HOW THEY ARE RELATED TO EACH OTHER

Music Formats

 

And for the direct competitors of the universal MP3 format, they can count on a lot today.

Music Formats

Due to continuing inconsistencies in home storage of the WAV format, it was eventually discontinued. But for professional studios, he says, the basics of the job. Especially when recording live vocals or instruments. Just convert the recorded material from WAV to MP3 at the final stage.

music format

However, music can be represented in some other popular formats nowadays. For example, many times (especially the Internet) they use these data types like OGG, AIFF, AMR, etc. But the real competitor of MP3 has become the newest and best audio FLAC etc. Of course, for MP3 you can convert all parameters to the maximum, but the playback quality of FLAC represents much higher. Also, it is a single file and the separation occurs directly on the track due to the player or startup software. In other words, listeners see each track individually, but can switch between playback tracks. For the MP3 format, this also seems possible to merge multiple tracks through it, thus creating a single file. But here it is in this version fast switching between tracks will not be possible (normal fast forward should be used, that’s all).

However, not everything is bad. The fact that music or audiobooks are all popular formats today allows them to be easily converted, even keeping the original parameters of the audio material. Based on this, and for sound processing and conversion and audio editors, almost all programs call converters. Any program of this type (MP3 editor or converter) detects the original and final type of audio files, is unambiguous and can produce direct and reverse transformations. Let’s explain this specific example.

WAVE THEORY AUDIO EDITOR FOR MP3 FILES
Many types of software are used in audio processing today. First, look at the narrow application of so-called audio editors. The most prominent representatives of these can be called giants Sony Audio Forge, Sintrillium Cool Editing Pro, which was later acquired by Adobe and renamed Audition, Acoustica Mixcraft, ACID Pro and many others.

mp3 editor

The principle on which they operate is that, for convenience, all MP3 audio programs have a typical waveform, as originally used for WAV files. This method determines the appearance and opportunity enough to edit any type of conventional audio material in WAV format. Other than that, the fact that you can do basic copy, cut, paste, etc. E., it’s just a matter of getting the frequency characteristics and bitrate changes, not to mention using a lot of extra effects that plug into VSTs via DirectX or a generic host bridge studio thing.

In its simplest form, the conversion can be done using the standard file menu, which contains the line “Save As…” (Save As…) or the export function present in MP3 format. Thus, all the process is reduced to just the final selection of the format (MP3 here as an example) and activation of the recording mode. In this case the conversion will be done automatically saving the current configuration parameters and the frequency characteristics. I don’t like the original version? ?Nothing is easier than changing the format to MP3, pre-specified with higher settings. However, one thing needs to be considered here: if the raw material is of such poor quality that special remediation or even professional tools will not work for audio it is necessary to use Repairs here, the intervention of various filters, etc. D. For the layman, it will cause great difficulties.

As is clear, there is absolutely no difference between the audiobooks we are dealing with: MP3, music or just recorded voice or noise. By the way, audiobooks are supposed to have a much lower sound quality by default. This is understandable, since the file has to take up minimal space and, in general, the perceived sound characteristics of speech are not that important. Finally, is this a professional recording of a particular set of albums?

However, if you use some standard operations, even without specific knowledge, it’s fine to achieve good results, especially since there are such built-in templates, based on any application for specific operations. Of course, it will be very difficult for the first time to achieve a perfect sound, but if you study the plan and understand how it works, it will work like clockwork, and as a result, it will take a lot of time.

What music file format is recommended? Part 2

What music file format is recommended? Part 2

AUDIO FORMATS

Opus is a new audio compression format developed by the IETF and standardized by RFC6716 in 2012. There is very little hardware and software supported, but at low bit rates of 128 kbps or less, it appears to be the strongest sound quality with compression with lost.

audio formats

Vorbis is a free audio file format developed by Xiph.org. It seems to be used on Youtube too. Since the standard bit rate is 112 kbps, the sound quality at a low bit rate appears to be good.

WMA is a standard Windows audio compression method developed by Microsoft. If the bit rate is 160 kbps or less, it exceeds the MP3 upper limit frequency. However, the size will be a little larger.

AAL (ATRAC Advanced Lossless) is a lossless compressed version of ATRAC mentioned above. According to Sony, it can be compressed to about half the size of the data without losing any music information on the CD, but it actually seems to vary considerably depending on the sound source.

As the name implies, Apple Lossless (ALAC) is Apple’s lossless compression audio codec. Used in iTunes, etc.

FLAC is an audio file format developed and distributed as free open source software. It seems to be the most popular in lossless compression.

Monkey’s Audio is an audio format that compresses PCM losslessly without degrading sound quality. It is so named because it is used in music playing software called Monkey’s Audio. The characteristic is that it does not fit the name and the compression rate is high.

TAK is a high-speed, high-compression, lossless compression audio encoder. It has the same level of compression as Monkey’s Audio, but it’s pretty crazy.

TTA is a free real-time lossless compression audio encoder / decoder. Like TAK, it’s too manic so I wouldn’t use it.

WMA Lossless is a lossless compressed version of WMA mentioned above.

Equalizer Image
AIFF is an uncompressed audio file format developed by Apple. It seems to be the Windows WAV. It seems to have been used on Macintosh (Mac) for a long time.

WAV (WAVE) is a format for describing audio data developed by Microsoft and IBM. This is what happens when you convert a CD (Linear PCM) into an uncompressed file in Windows.

Also, the sound quality of lossy compressed music file formats is almost the same at 192 kbps bit rates. If it is 160 kbps or less, I am wondering if other compression formats are slightly better than MP3. In this case, it is better to check the music player software. Sound quality is exactly the same for lossless and uncompressed music file formats. Lossless compression will have issues with compression ratio and playback load.

I want to read it together
What is free high-quality music player software for Windows?
After all, what music file format is recommended?
Image of listening to music with a portable music player
I’ve mentioned it so far, but I recommend MP3 or WAV (AIFF). The reason is as follows.

Due to the large capacity of hard drives and flash memory, lossy compressed music file formats do not need to have a bit rate lower than 192 kbps.
The compression ratio of the lossless music file format is currently 60 to 70% maximum, so taking into account the encoding time and effort and loading during playback, the file format of Uncompressed music is sufficient for lossless compression.
I don’t think I can distinguish between 192kbps MP3 and WAV, so I can’t help but worry about the compression format.
MP3 and WAV have many compatible hardware and software.

What music file format is recommended?

What music file format is recommended?

audio format

There are many types of music file formats, so it is difficult to know which one is recommended.

AUDIO FORMAT

I have only used MP3 and WAV due to their confusion, so I don’t really know about the new music file formats that are increasing year after year. So, I took a quick look at the existing music file formats based on the information from the internet. Let’s make a list of types and extensions so that you can easily understand them later.

* The target is a music file format that can be converted from a CD (linear PCM).


* The format can be replaced with the term codec and the extension can be replaced with the term file format. Simply put, a codec is a device or software that can encode (encode) and decode (decode) data in both directions using one encoding method. A file format is an information device like a computer. It is the storage format of the file used in.

* The bit rate for lossy compression is 192 kbps.

* The corresponding items indicate the amount of hardware and software that the music file format supports. ◎ Many, ○ Many, ▲ Normal, △ Less, × Very few.

Currently, lossless compression is emerging as a compression format in addition to lossy compression. Irreversible compression (lossy compression) is a data compression method in which the data before compression and the data after compression do not completely match, and reversible compression (lossless compression) is the data before and after compression. It is a data compression method that exactly matches the data.

In other words, lossy compression is a poor sound quality compression method because it adds a reduction in the amount of data, and lossless compression is a good sound quality compression method because it does not reduce the amount of data. . They are all the same in the sense that they aim for high sound quality with the smallest possible size.

Now, I’m sure there are music file formats that you already know, but let’s briefly explain each one.

Mixer Image
AAC is a music file format standardized in 1997 (approved in 1999). Standardized in order to obtain high sound quality and high compression that exceeds MP3. If the bit rate is 160 kbps or less, it exceeds the MP3 upper limit frequency.

ATRAC is a voice data compression technology developed by Sony since 1992. If the bit rate is less than 128 kbps, it is above the upper frequency limit of MP3.

HE-AAC is a music file format standardized in 2003. By incorporating SBR technology into the aforementioned AAC, the playback band has been expanded and the sound quality and compression efficiency at low bit rates (128 kbps or less) have been vastly improved.

* SBR (Spectral Band Replication) is a technology for audio compression and encoding, which aims to strengthen the conventional encoding method and increase the compression rate.

MP3 is the oldest music file format standardized in 1991 (approved in 1993). Since it is old, it has a high penetration rate and there is a large amount of supported hardware and software.

Audio formats.

Audio formats.

Audio Formats

There are many types of voice file formats, as well as image file formats.

Audio Files

Since the digital audio files are easy to copy, the illegal copy and distribution of music files has become a problem these days.

As explained in what analog data is, the mechanism of digital audio files is that analog signals become digital data and are saved.

Explaining in detail the conversion method, to convert an analogue to digital waveform, it is necessary to perform a job called “sampling” that measures (record) the sound waveform at regular intervals, and is the sampling cycle. The sampling frequency is called (sampling frequency).

The sampling frequency represents the number of samples per second and is in Hz. In other words, it is a unit that expresses how many times the sound is measured and recorded per second, and the greater the value, the more faithful the original and greater sound becomes the quality of the sound. However, the amount of data will increase proportionally.

The sampling frequency of a typical music CD is 44.1 k Hz. However, even if the sampling frequency is increased, there are sounds and frequency bands that can not really be recorded, so some classical music enthusiasts love expensive analogue equipment.

In addition, it is not only the sampling frequency, which affects the quality of the sound, but also the “sampling bit” that indicates the strength (volume) of the sound (16 bits are 65,535, 24 bits are 16,777,215). (Express) and “Number of channels” (number of sound lines recorded as stereo, monaural and 5.1 channels) also have an effect. The higher the value, the greater the sound quality.

Another factor that greatly affects sound quality is the bit rate. The bit rate represents the amount of data to be recorded per second and the unit is “BPS”.

In other words, the higher the bit rate, the more information can be stored, which results in a higher sound quality. As will be described in detail below, in the MP3 file format, 128 K BPS is the minimum bit rate that can be heard.

However, there is “constant bit rate” and “variable bit rate” in the bit rate. The constant bit rate is the same bit rate that is fixed from the beginning to the end of the voice, and the variable bit rate increases or decreases the bit rate according to the amount of voice information.

In other words, the bit rate is high for clauses with multiple voices and the bit rate is low for simple low voice clauses. You can reduce the total size of the file by choosing a variable bit rate.

This is the information contained in the digitized data of analog audio signals.

However, digitized data can not be used as. Just converting this data into an arbitrary file format and saving them, it will be possible to use them with multimedia devices and application software that admit that format.

The storage format of said data

file format

Is named. A file format is a file format with an extension.

Then, to save the data in a file format, it is necessary to transform (encode: encoding) the data according to that format. (For coding, see What is a character code?)

A dedicated program is used to codify the data, but said coding program is

Codec (codec)
Is named. In other words, the gross data obtained by converting analog signals into digital data are processed by a codec to market them as a file format.

Therefore, there are many types of codecs and coding methods for each type of codec.

Most current codecs are programs that compress and encode data when creating a file and decompress (decompress) data by playing a file. In general terms, codecs are used to compress and decompress data. It refers to a compression method program of this type.

Compare audio formats like M4A and MP3, AC3, WMA.

Compare audio formats like M4A and MP3, AC3, WMA.

Audio File Formats

Apart from M4A, there are many other active audio formats. For example, the popular MP3, AC3, WMA, OGG, etc.

Audio Formats

 

What is the difference between M4A and MP3, AC3, WMA? What is better about M4A than MP3, AC3, WMA and OGG? Then read the next sentence to see the battle in audio compression format.

M4A and MP3: Both M4A (MPEG 4 audio) and MP3 (MPEG3 audio) are audio compression formats developed by the Motion Picture Experts Group (MPEG). Next, I will introduce the differences between M4A MP3 in terms of file size, sound quality and compatibility.

Sound Quality: The M4A format, known as Apple Lossless Encoder, aims to replace MP3 with a new standard for audio compression. However, when comparing M4A MP3 for sound quality, M4A is better. Generally speaking, it is recommended to store music with M4A audio at 192 kbps bit rate for good sound quality and small file size.

File size: In terms of file size, M4A is often believed to have superior sound quality than MP3 when encoded at the same bit rate. For example, with 128-bit AAC (M4A), a 4 minute song would be 3.8 MB. To maintain the same sound quality with MP3, it is necessary to encode at a rate of approximately 192 bits. Then the file size will exceed 3.8MB.

Compatibility: Currently, M4A is only used on PC, iPod and other Apple devices and is not as popular as MP3. In contrast, all computers, music players, and mobile phones can play MP3 files.

Tip: If sound quality is a priority, neither M4A nor MP4 is the best option. It is advisable to choose the uncompressed WAV format. However, the size of the WAV file is about 10 times that of M4A and MP3. Therefore, WAV, which takes up too much space when creating a music collection, is not the best format.

M4A, MP3 and WMA: WMA A lossy compression codec developed by Microsoft. Like other new formats, M4A and WMA have higher compression efficiency and better sound quality than MP3. Sound quality is particularly good at low bit rates. As a result, WMA works well for low-bandwidth video streaming. Therefore, songs purchased from online music stores Napster, Musixmatch, and Wal-Mart must be stored in WMA. However, WMA cannot be played on Apple iPod, which is a shame.

Comparison of audio compression formats

Audio compression format

Sampling rate

Bit rate

stereo

M4A

8-192 kHz

8-529 kbit / s (stereo)

Yes: Dual, Mid / Side, Strength, Parametric

MP3

8, 11.025, 12, 16, 22.05, 24, 32, 44.1, 48 kHz

8, 16, 24, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144, 160, 192, 224, 256, 320 kbit / s

Yes: Dual, Mid / Side, Strength

AC3

32, 44.1, 48 kHz

32? 640 kbit / s

Yes

WMA

8, 11.025, 16, 22.05, 32, 44.1, 48 kHz

8? 768 kbit / s

Yes

FLAC

1-655 350 Hz

8, 16, 20, 24, 32

Yes

A THE C

1? 384000 Hz

16, 20, 24, 32

Yes

What is the difference between AVCHD and MP4? Which is better, image quality or recording size