What music file is the most recommended? Part 2


Free Download Mp4Gain
picture

What music file is the most recommended? Part 2

audio file format
audio file format

FLAC is a well-known free audio compression codec, which is characterized by lossless compression.

audio file format
audio file format

Unlike other lossy compression codes such as MP3 and AAC, it does not destroy any original audio data, so it can restore the sound quality of music discs. It has been supported by many software and hardware audio products since 2012. Now major websites have FLAC music downloads, and publishers usually take the .cda audio track directly into .flac after buying the CD to ensure quality lossless original CD.

AAC, the full name for Advanced Audio Coding, is a file compression format designed for sound data. Unlike MP3, it uses a new encoding algorithm, which is more efficient and has a higher “price ratio”. Using the AAC format may make people feel that the sound quality is not significantly reduced and that it is more compact. Apple iPod and Nokia mobile phones support audio files in AAC format.

Ogg’s full name should be OGGVobis (oggVorbis) is a new audio compression format, similar to MP3 and other music formats. Ogg is completely free, open, and patent-free. OggVorbis files have the extension “.ogg”. The Ogg file format can be continually improved in size and sound quality without affecting older encoders or players.

In a nutshell, MP3 is an audio compression technology. Since the full name of this compression method is called MPEG Audio Layer3, people call it MP3 for short. Ability to compress files to a lesser degree with little loss of sound quality. And it keeps the original sound quality very well. It is precisely because of MP3’s small size and high sound quality that the MP3 format has become almost synonymous with online music.

WMA is a very common music file format, which is a convenient audio file for storage and can be used in files encoded in many formats. The outstanding feature of WMA is that it is smaller than MP3 (with the same sound quality), and it can also increase the copyright protection function. Some common WMA-enabled applications include Windows Media Player, Windows Media Encoder, RealPlayer, Winamp, and more. Other platforms such as Linux and hardware and software on mobile devices also support this format.

MIDI did not first appear on the computer, it was produced by electronic musical instrument manufacturers for the “communication” of different types of electronic musical instruments. Since it uses digital technology, of course, it is naturally easy to connect with the computer. . Today, MID files are mainly used for original instrumental compositions, amateur performances of popular songs, game soundtracks, and electronic cards.


Free Download Mp4Gain
picture


Mp4Gain Main Window
picture


Mp4Gain Features
picture


Free Download Mp4Gain
picture

What music file is the most recommended?

What music file is the most recommended?

Music File Format
Music File Format

Music is an art that reflects the real-life emotions of human beings.

Music File Format
Music File Format

The melody of music is slightly different between different countries and different ethnic groups due to cultural differences, but music can infect everyone. Friends who like to listen to music will download audio files on mobile phones and music players to listen to them. So how much do you know about music files? What are the common music file formats? Which is the most recommended? Let’s get to know it through this article.

APE is one of the popular lossless compression formats for digital music, especially in mainland China, which has a wide user base. The data after restoring APE is the same as the original file. APE is compressed by Monkey software audio. The developer is Matthew T. Ashland, the source code is open, and it is famous for its “monkey” logo on the frontend. . ape has error checking capability but does not provide error correction function.

WAV format is a sound file format developed by Microsoft, also known as wave sound file. It is the first digital audio format and is widely supported by the Windows platform and its applications. The WAV format supports many compression algorithms, supports a variety of audio bits, sample rates, and channels. It adopts a sampling frequency of 44.1 kHz and a quantization number of 16 bits. Therefore, the sound quality of WAV is almost the same as that of CD, but WAV format requires storage space Too large to facilitate communication and broadcast.

Audio Compression (Format) Part 2

Audio Compression (Format) Part 2

Audio Compression
Audio Compression

Lossy Audio Compression

Audio Compression
Audio Compression

Lossy compression, which approximates some of the information in the original file to obtain a smaller file.

The compressed file size is 5 to 20 percent of the original size (lossless file compression is 50 to 60 percent of the original size).

Lossy compression is an irreversible process, but lossy compression takes into account human psychology and the recognition of the auditory system in the compression results.

So even though the compressed file is small, it is almost indistinguishable to the listener.

Due to the unrecoverable nature of lossy compression, this format is not suitable for jobs that require repeated archiving and reading.

For example, when a musician modifies the content of a piece of music, lossy compression is more suitable for the end user, and the most common lossy compression algorithm is MP3 .

The compression method commonly used for lossy data compression is Modified Discrete Cosine (MDCT), which uses the characteristics of the human hearing threshold and auditory masking to discard unimportant sound information.

Research that combines the auditory recognition of the human brain with the hearing threshold of the human ear is called acoustic psychology.

It is important to note that while lossy compression theoretically causes loss of the original file, this loss is not necessarily noticeable to the human ear. [1]

Audio compression (format)

Audio compression (format)

Audio compression
Audio compression

Audio compression (different from dynamic compression) is a type of data compression used to reduce the transmission bandwidth requirements of streaming audio media and the storage size of audio files.

Audio compression
Audio compression

According to the compression method, it can be divided into lossless compression and lossy compression.

Lossless audio compression
Although lossless compression reduces the storage size of the audio, it can retain all the information of the original file and there is no difference between playback and the original file. It can be evaluated from the following aspects: compression speed, compression ratio, decoding speed, software and hardware support, stability, and error rate.

Lossless compression is a reversible process that uses information redundancy for data compression.

According to the source encoding theorem in information theory:

{\displaystyle R={\frac{K}{N))}

where is the length of the input message. north

kes the length of the output message.

If it is less than the mutual information of the two, the transmitted data will be incorrect, so lossless compression is impossible. R

However, messages transmitted in real life often have information redundancy, so lossless compression is still feasible.

An example of the use of information redundancy for compression is as follows:

Suppose the message to be delivered today is which seats in a classroom are vacant.

Instead of sending a series of messages with individual information for each seat, it saves message size by directly sending which rows of seats are free.

Therefore, the compression ratio of lossless compression is also related to the consistency of the data source. The higher the consistency, the higher the compression ratio.

Shorten is one of the first lossless compression formats; later came Free Lossless Audio Codec (FLAC), Apple Lossless (ALAC), Monkey’s Audio (APE), and WavPack (WV).

An Acceleration Method for Performing MPEG Audio Layer III Compression with DSP Part 2

An Acceleration Method for Performing MPEG Audio Layer III Compression with DSP Part 2

Method for Performing MPEG Audio Layer III Compression with DSP
Method for Performing MPEG Audio Layer III Compression with DSP

The MPEG (Motion Picture Expert Group) audio compression standard provides a compression algorithm with high fidelity and high compression ratio.

Method for Performing MPEG Audio Layer III Compression with DSP
Method for Performing MPEG Audio Layer III Compression with DSP

In the ISO11172-3 standard, subband audio coding schemes with different complexity and performance are described to suit various high-quality digital audio applications. According to the different coding computational complexity and coding efficiency, it is divided into three standards: Layer I, Layer II and Layer III.

The MPEG audio standard was originally derived from draft algorithms that were divided into four types: ASPEC Audio Spectral Perceptual Entropy Coding (ASPEC), Masking Mode Universal Subband Integrated Coding, and MUSICAM Multiplexing (Audio Spectral Perceptual Entropy Coding). masking pattern). Subband Integrated Multiplexing and Coding), Subband ADPCM SB/ADPCM (Subband Adaptive Difference PCM). After a series of objective and subjective sound quality tests, taking into account sound quality at different bit rates, sensitivity to transmission bit errors, encoding/decoding complexity, and encoding/decoding delays and other factors, at a low bit rate of around 100 kbit/s, ASPEC and MUSICAM showed the best sound quality. At a low bit rate (64 kbit/s), ASPEC shows better sound quality, while MUSICAM is slightly better at encoding and decoding complexity and delay. Based on various ASPEC algorithms, MUSICAM is enhanced, which increases computational complexity, but obtains a better compression ratio and sound quality, which is the ISO11172-3 Audio Layer III standard.

An acceleration method to perform MPEG Audio Layer III compression with DSP

An acceleration method to perform MPEG Audio Layer III compression with DSP

MPEG Audio Layer III compression with DSP
MPEG Audio Layer III compression with DSP

【Summary】MPEG audio layer III compression algorithm is a high fidelity and efficient compression coding algorithm specified by ISO11172-3 standard.

MPEG Audio Layer III compression with DSP
MPEG Audio Layer III compression with DSP

Due to the high complexity of the Layer III compression algorithm and the large amount of computation, a speedup measure is proposed to implement the key operations of the Layer III compression algorithm based on a Digital Signal Processor (DSP) in applications in real time. 【Key Words】Huffman MPEG DSP Compression Coding 1 Overview Digital audio compression technology provides people with greater

【Summary】MPEG Audio Layer III compression algorithm is a high-fidelity and efficient compression coding algorithm specified by the ISO11172-3 standard. Due to the high complexity of the Layer III compression algorithm and the large amount of computation, a speedup measure is proposed to implement the key operations of the Layer III compression algorithm based on a Digital Signal Processor (DSP) in applications in real time.
【Key Words】 DSP MPEG Huffman Compression Coding
1. General Information

Digital audio compression technology provides people with a more efficient method of transmitting and storing audio. There are many techniques for audio compression, and their complexity, audio compression quality, and compression ratio vary greatly. Such as: μ-law audio compression algorithm, its features are simple, but the compression ratio is very low, but the sound quality is average. According to CCITT G. 711 suggested that the natural log quantization process can provide relatively high precision quantization when the input amplitude is relatively small, while for large-scale signals with a relatively small probability of occurrence, the quantization noise it is relatively large. This quantization method makes the 8-bit digital quantization signal equivalent to 14-bit linear quantization in terms of quantization noise. ADPCM compression encoding takes full advantage of the relatively small amplitude variation characteristics of adjacent sample values, and the output result of the encoding is the difference between the current sample value and the predicted value. Although the fidelity of ADPCM encoding is high, its compression ratio is relatively small, and it can only reach a compression ratio of 4/1. The improved ADPCM encoding method includes the improved algorithm proposed by IMA (Interactive Multimedia Association), G. CCITT’s G. 721, g. 723 recommendations, etc

Audio compression, how it works Part 4

Audio compression, how it works Part 4

Audio compression
Audio compression

Other divisions of compression methods.

Audio compression
Audio compression

In the field of audio compression, there are two compression methods, lossy compression and lossless compression. Commonly seen MP3, WMA, OGG are called lossy compression As the name suggests, lossy compression reduces the audio sample rate and bit rate, and the output audio file will be smaller than the original file. . Another audio compression is called lossless compression, which is what we’re talking about. Lossless compression can compress the volume of the audio file to a smaller size on the premise of saving 100% of all the data in the original file, and after restoring the compressed audio file, it can achieve the same size and same bitrate as the source file. Lossless compression formats include APE, FLAC, WavPack, LPAC, WMALossless, AppleLossless, La, OptimFROG, Shorten, while common and conventional lossless compression formats are just APE and FLAC. [1]
Main classifications and typical representatives of audio compression algorithms.edit streaming
Generally speaking, audio compression techniques can be divided into two categories: lossless compression and lossy compression, and according to different compression schemes, they can be divided into time-domain compression, transform compression, and time-domain compression. subband, as well as hybrid compression in which multiple technologies are combined with each other. Various compression techniques have large differences in algorithm complexity (including time complexity and space complexity), audio quality, algorithm efficiency (ie compression ratio), and codec delay. The applications of various compression techniques are also different.
Time domain compression technology (or waveform coding)
It directly processes the sample values ​​of the audio PCM code stream and compresses the code stream through silence detection, nonlinear quantization, and difference. Common features of this type of compression technology are low algorithm complexity, average sound quality, small compression ratio (CD quality > 400kbps), and shortest codec delay (relative to other technologies) . This type of compression technology is generally used for voice compression and low bitrate (small source signal bandwidth) applications. Time domain compression technology mainly includes G.711, ADPCM, LPC, CELP, and block compression technology developed on these technologies, such as NICAM, Subband ADPCM (SB-ADPCM) technology.
Subband compression technology
Subband coding theory was first proposed by Crochiere et al. in 1976. The basic idea is to decompose the signal into the sum of components into several subbands and then adopt different compression strategies for each subband component according to its different layout features to reduce code rate. The usual subband compression technology and transform compression technology described below are based on the human perception model (psychoacoustic model) of the sound signal, and the quantization order of the subband samples or the samples The frequency domain is determined by analyzing the spectrum of the signal. other parameters are selected, so it can also be called perceptual compression encoding (Perceptual). Compared with time domain compression technology, these two compression methods are much more complicated. At the same time, the coding efficiency and sound quality are also greatly improved, and the coding delay is correspondingly increased. Generally speaking, the complexity of subband coding is slightly less than that of transform coding and the coding delay is relatively short.

Audio compression, how it works Part 3

Audio compression, how it works Part 3

Audio compression
Audio compression

Compression encoding method

Audio compression
Audio compression

According to different compression principles, audio signal coding is divided into waveform coding, parameter coding, and coding forms that integrate various technologies.
(1) Waveform coding directly samples the time-domain or frequency-domain waveform of the audio signal at a certain rate, and then quantizes the amplitude samples hierarchically, transforms them into digital codes, and outputs a signal coding system reconstructed from the waveform data. , the waveform is as consistent as possible with the original sound waveform, preserving detailed signal changes and various transition characteristics.
(2) Parametric coding First, a feature model based on different signal sources, such as language signals, natural sounds, etc., is established through feature parameter extraction and coding processing, trying to that the reconstructed sound signal is as loud as possible. to keep the semantics of the original sound, but reconstructed. The waveform of the signal may be quite different from the waveform of the original sound signal. Characteristic parameters in common use include formant, linear prediction coefficient, frequency band division filter and other parameter encoding techniques, which can realize low-speed sound signal encoding, and the bit rate can be compressed at 2 Kbit/s – 4.8 Kbit/s, but the sound quality can only reach Moderate, especially the low degree of naturalness, only suitable for language transmission and expression.
(3) Hybrid coding The coding way that combines waveform coding and parameter coding overcomes the weaknesses of original waveform coding and parameter coding, and strives to maintain high quality of coding of waveforms and the low rate parameter coding, at a rate of 4 -16Kbit/s A high quality synthetic sound signal can be obtained. The basis of hybrid coding is linear predictive coding (LPC), commonly used coding methods such as pulse-excited linear prediction coding (MPLPC), planned pulse-excited linear prediction coding (KPELPC), predictive coding Codebook Excited Linear (CELPC), etc.

Compression encoding method Part 2

Compression encoding method Part 2

Compression encoding method
Compression encoding method

Other divisions of compression methods

Compression encoding method
Compression encoding method

In the field of audio compression, there are two compression methods, lossy compression and lossless compression. Commonly seen MP3, WMA, OGG are called lossy compression As the name suggests, lossy compression reduces the audio sample rate and bit rate, and the output audio file will be smaller than the original file. . Another audio compression is called lossless compression, which is what we’re talking about. Lossless compression can compress the volume of the audio file to a smaller size on the premise of saving 100% of all the data in the original file, and after restoring the compressed audio file, it can achieve the same size and same bitrate as the source file. Lossless compression formats include APE, FLAC, WavPack, LPAC, WMALossless, AppleLossless, La, OptimFROG, Shorten, while common and conventional lossless compression formats are just APE and FLAC. [1]
Main classifications and typical representatives of audio compression algorithms.edit streaming
Generally speaking, audio compression techniques can be divided into two categories: lossless compression and lossy compression, and according to different compression schemes, they can be divided into time-domain compression, transform compression, and time-domain compression. subband, as well as hybrid compression in which multiple technologies are combined with each other. Various compression techniques have large differences in algorithm complexity (including time complexity and space complexity), audio quality, algorithm efficiency (ie compression ratio), and codec delay. The applications of various compression techniques are also different.
Time domain compression technology (or waveform coding)
It directly processes the sample values ​​of the audio PCM code stream and compresses the code stream through silence detection, nonlinear quantization, and difference. Common features of this type of compression technology are low algorithm complexity, average sound quality, small compression ratio (CD quality > 400kbps), and shortest codec delay (relative to other technologies) . This type of compression technology is generally used for voice compression, low bit rate (small source signal bandwidth) applications. Time domain compression technology mainly includes G.711, ADPCM, LPC, CELP, and block compression technology developed on these technologies, such as NICAM, Subband ADPCM (SB-ADPCM) technology.
Subband compression technology
Subband coding theory was first proposed by Crochiere et al. in 1976. The basic idea is to decompose the signal into the sum of components into several subbands and then adopt different compression strategies for each subband component according to its different layout features to reduce code rate. The usual subband compression technology and transform compression technology described below are based on the human perception model (psychoacoustic model) of the sound signal, and the quantization order of the subband samples or the samples The frequency domain is determined by analyzing the spectrum of the signal. other parameters are selected, so it can also be called perceptual compression encoding (Perceptual). Compared with time domain compression technology, these two compression methods are much more complicated. At the same time, the coding efficiency and sound quality are also greatly improved, and the coding delay is correspondingly increased. Generally speaking, the complexity of subband coding is slightly less than that of transform coding and the coding delay is relatively short.

Compression encoding method

Compression encoding method

Compression encoding
Compression encoding

Transmission

Compression encoding
Compression encoding

According to different compression principles, audio signal coding is divided into waveform coding, parameter coding, and coding forms that integrate various technologies.
(1) Waveform coding directly samples the time-domain or frequency-domain waveform of the audio signal at a certain rate, and then quantizes the amplitude samples hierarchically, transforms them into digital codes, and outputs a signal coding system reconstructed from the waveform data. , the waveform is as consistent as possible with the original sound waveform, preserving detailed signal changes and various transition characteristics.
(2) Parametric coding First, a feature model based on different signal sources, such as language signals, natural sounds, etc., is established through feature parameter extraction and coding processing, trying to that the reconstructed sound signal is as loud as possible. to keep the semantics of the original sound, but reconstructed. The waveform of the signal may be quite different from the waveform of the original sound signal. Characteristic parameters in common use are formant, linear prediction coefficient, frequency band division filter and other parameter coding technologies, which can realize low-speed sound signal coding, and bit rate. can be compressed to 2 Kbit/s – 4.8 Kbit/s, but the sound quality can only reach moderate naturalness, especially low, only suitable for language transmission and expression.
(3) Hybrid coding The coding way that combines waveform coding and parameter coding overcomes the weaknesses of original waveform coding and parameter coding, and strives to maintain high quality of coding of waveforms and the low rate parameter coding, at a rate of 4 -16Kbit/s A high quality synthetic sound signal can be obtained. The basis of hybrid coding is linear predictive coding (LPC), commonly used coding methods such as pulse-excited linear prediction coding (MPLPC), scheduling pulse-excited linear prediction coding (KPELPC), Codebook Excited Linear Prediction (CELPC), etc.