Content deleted Content added
m bold abbrev of title |
Adding short description: "Lossy audio coding technique" |
||
(34 intermediate revisions by 20 users not shown) | |||
Line 1:
{{Short description|Lossy audio coding technique}}
{{about|the signal coding technique|the Bluetooth audio codec|SBC (codec)}}
'''Sub-band coding''' ('''SBC''') is any form of [[transform coding]] that breaks a signal into a number of different [[frequency band]]s and encodes each one independently. This decomposition is often the first step in data compression for audio and video signals.▼
==Basic Principles==▼
The utility of SBC is perhaps best illustrated with a specific example. When used for audio compression, SBC exploits what might be considered a deficiency of the human auditory system. Human ears are normally sensitive to a wide range of frequencies, but when a sufficiently loud signal is present at one frequency, the ear will not hear weaker signals at nearby frequencies. We say that the louder signal masks the softer ones. The louder signal is called the masker, and the point at which masking occurs is known, appropriately enough, as the masking threshold.▼
[[File:SubBandCoding.svg|thumb|500px|Sub-band coding and decoding signal flow diagram]]
The basic idea of SBC is to enable a data reduction by discarding information about frequencies which are masked. The result differs from the original signal, but if the discarded information is chosen carefully, the difference will not be noticeable, or more importantly, objectionable.▼
▲In [[signal processing]], '''
SBC is the core technique used in many popular [[lossy audio compression]] algorithms including [[MP3]].
==Encoding audio signals==
The simplest way to digitally encode audio signals is [[pulse-code modulation]] (PCM), which is used on [[audio CDs]], [[Digital Audio Tape|DAT]] recordings, and so on. Digitization transforms continuous signals into discrete ones by sampling a signal's amplitude at uniform intervals and [[rounding]] to the nearest value representable with the available [[Audio bit depth|number of bits]]. This process is fundamentally inexact, and involves two errors: ''[[discretization error]],'' from sampling at intervals, and ''[[quantization error]],'' from rounding.
The more bits used to represent each sample, the finer the granularity in the digital representation, and thus the smaller the quantization error. Such ''quantization errors'' may be thought of as a type of noise, because they are effectively the difference between the original source and its binary representation. With PCM,
Sub-band coding is used for example in [[G.722]] codec. It uses sub-band adaptive differential pulse code modulation (SB-[[ADPCM]]) within a bit rate of 64 kbit/s. In the SB-ADPCM technique used, the frequency band is split into two sub-bands (higher and lower) and the signals in each sub-band are encoded using ADPCM.▼
▲The utility of SBC is perhaps best illustrated with a specific example. When used for audio compression, SBC exploits
▲The basic idea of SBC is to enable a data reduction by discarding information about frequencies which are masked. The result differs from the original signal, but if the discarded information is chosen carefully, the difference will not be noticeable, or more importantly, objectionable.
▲To enable higher quality compression, one may use subband coding. First, a digital filter bank divides the input signal spectrum into some number (e.g., 32) of subbands. The psychoacoustic model looks at the energy in each of these subbands, as well as in the original signal, and computes masking thresholds using psychoacoustic information. Each of the subband samples is quantized and encoded so as to keep the quantization noise below the dynamically computed masking threshold. The final step is to format all these quantized samples into groups of data called frames, to facilitate eventual playback by a decoder.
Decoding is much easier than encoding, since no psychoacoustic model is involved. The frames are unpacked, subband samples are decoded, and a frequency-time mapping reconstructs an output audio signal.
==Applications==
▲Sub-band coding is used
==External links==
* [https://web.archive.org/web/20070613152917/http://www.otolith.com/otolith/olt/sbc.html Sub-Band Coding Tutorial]
{{Compression Methods}}
▲{{Context|date=October 2009}}
[[Category:Data compression]]
[[Category:Audio engineering]]
[[Category:Signal processing]]
|