Audio Coding Part 9

Audio Coding Part 9

Audio Coding

Features: Sound quality performance at low bitrate is hard to match.

Audio coding

Applicable to: digital radio station setup, online listening, music appreciation with low requirements.
mp3PRO
As an enhanced version of mp3, mp3PRO shows pretty good quality, with full treble. Although mp3PRO is inserted during playback via SBR technology, the actual listening experience is quite good. Although it seems a bit thin, you are already in the world of 64 kbps. There is no rival, even more than 128kbps mp3, but unfortunately, mp3PRO’s low-frequency performance is also broken like mp3, fortunately, SBR’s high-frequency interpolation can more or less cover this shortcoming, so mp3PRO’s weakness. low frequency is not as obvious as that of WMA. You can feel it deeply when you use the PRO switch of RCA mp3PRO Audio Player to switch between PRO mode and normal mode. In general, the 64kbps mp3PRO reaches the level of sound quality of the 128kbps mp3 and wins slightly in the high frequency part.
Features: The king of sound quality at low bit rates.
Applicable to: Music appreciation with low requirements.
BUN
An emerging lossless audio encoding that can provide 50-70% compression ratio. Although it is not worth mentioning compared to lossy encoding, it is a boon for friends who are looking for perfect sound quality. APE can be truly lossless, not only without sound, but also with better compression than similar lossless formats.
Features: The sound quality is very good.
Suitable for: The appreciation and collection of music of the highest quality.
Transmission audio coding technology comparison
Classified by waveform coding, parametric coding, and hybrid coding, some typical coding methods are compared in terms of coding rate (code rate), voice quality, and application fields; see the table below for more details.
Table 1 Comparison of typical audio coding techniques
coding technology
algorithm
encoding standard
Bit rate (kbit/s)
quality
Scope
Waveform coding
PCM
G.711
64
4.3
PSTN, ISDN
ADPCM
G.721
32
4.1

SB-ADPCM
G.722
64/56/48
4.5

parameter encoding
LPC

2.4
2.5
confidential voice
hybrid coding
ECLAC

4.8
3.2

VSELPC
FAMILY
8
3.8
Mobile communication, voice mail
LTP-RPE
GSM
13.2
3.8

LD-CELP
G.728
16
4.1
ISDN
MPE
MPE
128
5.0
CD
Note: There are five levels of quality evaluation (1, 2, 3, 4, 5), of which 5.0 is the highest score.
For the full Chinese and English names of various algorithms and abbreviations in the application fields in the above table, please refer to the following description.
PCM: pulse code modulation, pulse code modulation.
ADPCM: Adaptive Differential Pulse Code Modulation, Adaptive Differential Pulse Code Modulation.
SB-ADPCM: Subband Adaptive Differential Pulse Code Modulation, Subband Adaptive Differential Pulse Code Modulation.
LPC: Linear Predictive Coding, Linear Predictive Coding.
CELPC: Code Excited Linear Predictive Coding, Code Excited Linear Predictive Coding.
VSELPC: Vector Sum Excited Linear Predictive Coding, Vector Sum Excited Linear Predictive Coding.
RPE-LTP: Regular Pulse Excited-Long Term Predictive, long-term prediction of regular pulse excitation.
LD-CELP: Low Delay Code Excited Linear Predictive, Low Delay Code Excited Linear Prediction.
MPE: Multipulse Excitation, Multipulse Excitation.
PSTN: Public Switched Telephone Network, public switched telephone network.
ISDN: Integrated Services Digital Network, Integrated Services Digital Network.

Audio Coding Part 8

Audio Coding Part 8

Audio Coding

MP3

MP3

MP3 has a good compression ratio, and the medium and high bitrate mp3 encoded by LAME is very close to the source WAV file in the listening sense. With the right parameters, LAME encoded MP3 is very suitable for listening to music. Since MP3 has been around for a long time, along with its good sound quality and compression ratio, many games also use mp3 for event sound effects and background music. Almost all well-known audio editing software also support MP3, you can use mp3 as wav, but because mp3 encoding is lossy, after several edits, the sound quality will decrease drastically, mp3 is not suitable for saving material, but the demonstration as a work is actually quite excellent. The long history and good sound quality of mp3 make it one of the most widely used lossy codecs. A lot of mp3 resources can be found on the Internet, and mp3player has become a trend day by day. Many VCD players, DVD players, and even mobile phones can play mp3, and mp3 is one of the best supported encodings. MP3 is also not perfect and does not work well at lower bit rates. MP3 also has the basic features of streaming media and can be played online.
Features: good sound quality, high compression ratio, compatible with a large number of software and hardware, and widely used.
Applicable to: Suitable for music appreciation with relatively high requirements.
OGG
Ogg is a very promising codec that works surprisingly well at various bit rates, especially medium and low bit rates. In addition to good sound quality, Ogg is also a completely free codec, which lays the foundation for further compatibility with ogg. OGG has a very good algorithm which can have better sound quality with smaller bitrate, and 128kbps OGG is better than 192kbps or even higher MP3. OGG’s treble has a certain iciness to it, so the OGG flaw will be exposed when encoding some musical instruments with high-frequency requirements. OGG has the basic features of streaming media, but there is no media service software support, so ogg-based digital streaming cannot be done. Ogg’s current support situation is not good enough, either software or hardware, it can’t compare with mp3.
Features: It can achieve better sound quality than mp3 with lower bit rate than mp3 and has good performance at high, medium and low bit rates.
Suitable for: Better sound quality with less storage space (relative to MP3).
MPC
Just like OGG, MPC’s competitors are also mp3. At medium and high bit rates, MPC can achieve better sound quality than the competition. At medium bit rates, MPC’s performance is not inferior to Ogg’s. At high bit rates, MPC performance Performance is even higher Hard to beat. The sound quality advantage of MPC is mainly reflected in the high-frequency part. MPC’s high frequency is much more delicate than MP3’s, and doesn’t taste like Ogg’s ice cubes. It is currently the most suitable lossy encoding for music appreciation. Since they are all nascent code, similar to the Ogg encounter, they also lack extensive software and hardware support. MPC has good encoding efficiency and the encoding time is much shorter than OGG and LAME.
Characteristics: At medium and high bit rates, it has the best sound quality performance in lossy encoding, and at high bit rates, it has excellent high-frequency performance.
Ideal for: Listening to music with the best sound quality while saving a lot of space.
WMA
WMA developed by Microsoft is also loved by many friends. At low bit rate, it has much better sound quality than mp3. The appearance of WMA immediately eliminated the once popular VQF encoding. WMA with Microsoft background has got good software and hardware support, Windows Media Player can play WMA, and can also listen to digital radio stations based on WMA encoding technology. Because the player exists on almost every PC, more and more music sites are happy to use WMA as the first choice for online listening. In addition to the good support environment, WMA also has a very good performance under the bit rate of 64-128Kbps. Although many friends with higher requirements are not satisfied, more friends with low requirements have accepted this encoding, and WMA is very good. . Quickly popularized.

Audio Coding Part 7

Audio Coding Part 7

WMA Format

WMA format

Wma File Format

WMA is the file format encoded by Windows Media Audio, developed by Microsoft, WMA is not aimed at the standalone market, but at the network!

The competitor is the well-known Real Networks in the online media market. Microsoft claims that at a bit rate of just 64 kbps, WMA can achieve sound quality close to CD. Unlike the previous encoding, WMA supports the anti-copy function. Supports adding protection via Windows Media Rights Manager, which can limit playback time, number of playback times, and even playback machine, etc. WMA supports streaming technology, that is, play while reading, so WMA can easily realize online streaming. Because it is a Microsoft masterpiece, Microsoft has added support for WMA in Windows. WMA has excellent technical characteristics. With vigorous promotion, this format has been accepted by more and more people.
AR format
RA is the RealAudio format, which is a format that many Internet users have come into contact with. Most online audition music websites use RealAudio. This format is completely targeted at the Internet media market and supports very rich features. The biggest flickering point is that this format can control its bitrate according to the bandwidth of the audience and improve the sound quality as much as possible on the premise of ensuring fluency. RA can support a variety of audio codecs, including ATRAC3. Like WMA, RA not only supports reading and playing, but also supports the use of special protocols to hide the real network address of the file, in order to realize the online playback-only viewing method without downloading. This is very important for record companies and record sales companies. Under vigorous promotion from various parties, RA and WMA are currently the most widely used audio media formats for online listening on the Internet.
mono format
APE is a lossless compression format provided by Monkey’s Audio. Monkey’s Audio provides plugin support for Winamp, which means that the compressed file is no longer a simple compressed format, but an audio file format that can be played as MP3. The compression ratio of this format is much lower than other formats, but it can be truly lossless, so it has won favor with many enthusiasts. Among the many existing lossless compression schemes, APE is a format with outstanding performance, satisfactory compression ratio and fast compression speed, which has become the only choice for many friends to communicate with fever music in private. .
Broadcast Format Features
All types of audio coding have their technical characteristics and applicability in different occasions, we will briefly explain how to apply these audio coding flexibly.
PCM encoded WAV
As mentioned above, PCM encoded WAV file is the format with the best sound quality and on Windows platform all audio software can support it. There are many functions in WinAPI provided by Windows that can play wav directly, so when developing multimedia software, wav is often used in large numbers for event sound effects and background music. PCM encoded wav can achieve the best sound quality with the same sample rate and sample size, so it is also widely used in audio editing, non-linear editing and other fields.
Features: The sound quality is very good and it is supported by a lot of software.
Suitable for: multimedia development, saving music and sound effects.

Audio Coding Part 6

Audio Coding Part 6

Ogg

OGG encoding

ogg

An audio codec called Ogg Vorbis appeared on the Internet, known as the MP3 killer! What is the origin of Ogg Vorbis? OGG is the project name of a large multimedia development program, which will involve the development of video and audio encoding. The whole purpose of the OGG project plan is to provide a completely free media encoding solution for anyone! OGG’s belief is: OPEN! FREE! The word Vorbis is the name of a “playboy” character in the fantasy novel “Small Gods” by Terry Platjat. This term became the official name for audio encoding in the OGG project. At present, Vorbis has been successfully developed and an encoder has been developed.
Ogg Vorbis is a high quality audio coding scheme. Official data shows that Ogg Vorbis can achieve better sound quality than MP3 at relatively low data rates. Ogg Vorbis is also much more advanced than MP3, which was successfully developed in the 1990s. It can support multiple channels, what does this mean? This means that Ogg Vorbis can encode all channels with the support of SACD, DTSCD, DVD AUDIO ripping software (currently there is no such software), instead of MP3 it can only encode 2 channels. The rise of multi-channel music has brought revolutionary changes in music appreciation, especially when enjoying the symphony, it will bring more presence. This revolutionary change cannot be adapted to MP3.
Like MP3, Ogg Vorbis is a flexible and open audio codec that allows for significant sound quality adjustments and further algorithm improvements once the codec has been fixed. Therefore, your sound quality will get better and better. Like MP3, Ogg Vorbis is more like an audio coding framework, which can be continually improved by introducing new technologies. Like MP3, OGG also supports VBR.
MPC encoding
MPC is another impressive and powerful player. Its popularization process is very discreet and there is no complicated backstory. She only has one purpose for her looks, smaller size and better sound quality! MPC was previously known as MP+, and it’s obvious who it’s targeting. However, anyone who has used this code will be impressed by its excellent sound quality.
mp3PRO encoding
On June 14, 2001, Thomson Multimedia SA and Fraunhofer Institute released a new version of music format on June 14 named mp3PRO, which is an improved scheme based on mp3 encoding technology is quite attractive in features announced by the officer. According to various information, mp3PRO is not a completely new format, it is an improvement based on traditional mp3 encoding technology, and its biggest technical feature is SBR (Spectral Band Replication), which is a new audio encoding enhancement algorithm. Provides the ability to improve speech and audio encoding performance at low bit rates. This approach increases audio bandwidth or improves encoding efficiency at a specific bit rate. The biggest advantage of SBR is that it can achieve very efficient encoding at low data rates. Unlike traditional encoding technology, SBR is more like a post-processing technology, so the quality of the decoder algorithm directly affects the sound quality. . The high frequency is actually produced by the decoder (player), and the SBR encoded data is more like a set of commands that produces high frequency, or a guide signal source, which is kind of the way it works. We can see that mp3PRO is actually a mixed data stream encoding of mp3 signal stream and SBR signal stream. Relevant information shows that SBR technology can improve high-frequency sound quality with little data traffic by about 30%. We don’t care how this 30% is obtained, but it can be predicted in advance that this improvement can make the 64kbps mp3 reach 128kbps. The sound quality level of mp3 (note: under the same encoding conditions, the increase in data rate is not proportional to the increase in sound quality, at least in the human ear), which is comparable to mp3 PRO official 64kbps, which is comparable to 128kbps mp3 The propaganda is basically consistent.