SBC (codec)

Last updated

SBC, or low-complexity subband codec, is an audio subband codec specified by the Bluetooth Special Interest Group (SIG) for the Advanced Audio Distribution Profile (A2DP). [1] SBC is a digital audio encoder and decoder used to transfer data to Bluetooth audio output devices like headphones or loudspeakers. It can also be used on the Internet. [2] It was designed with Bluetooth bandwidth limitations and processing power in mind to obtain a reasonably good audio quality at medium bit rates with low computational complexity. [1] [3] As of A2DP version 1.3, the Low Complexity Subband Coding remains the default codec and its implementation is mandatory for devices supporting that profile, but vendors are free to add their own codecs to match their needs. [1]

Contents

At CES 2020 the Bluetooth SIG announced LC3 as the successor of SBC. LC3 is used in the LE Audio protocol based on the Bluetooth 5.2 Core Specification. [4] [5] [6]

Design

SBC supports mono and stereo streams, and certain sampling frequencies up to 48 kHz. Maximum bitrate required to be supported by decoders is 320 kbit/s for mono and 512 kbit/s for stereo streams. It uses 4 or 8 subbands, an adaptive bit allocation algorithm in combination with an adaptive block PCM quantizer. [1] Frans de Bont has based the SBC audio codec on his earlier work, [7] and – in parts – on the MPEG-1 Audio Layer II standard. In addition, the SBC is based on the algorithms described in the EP-0400755B1. [8] The patent owners wrote that they allow the free usage of SBC in Bluetooth applications with a goal of boosting the use of this technology.

Variants

Overview

SBC [1] [9] SBC profiles [1] FastStream [10] Audio CD
Middle QualityHigh Quality
main streamback stream(for reference)
misc.LaunchMay 2003March 2008 [11] 1982
Related patents EP 0400755B1   [8]
(expired)
US 9398620B1   [12]
(expired)
Free
implementations
FFmpeg, libsbclibsbclibsbc
Proprietary
implementations
multiple hardware
implementations
hardware implementation
in Qualcomm chips
Audio
Encoding
ChannelsMono (1)
Joint Stereo (2)

Joint Stereo (2)

Joint Stereo (2)
Mono (1)

Stereo (2)
Sampling rate 16 kHz
32 kHz
44.1 kHz
48 kHz


44.1 kHz
48 kHz


44.1 kHz
48 kHz
16 kHz




44.1 kHz
 
Bit rate up to 510 kbit/s
(@ 44.1 kHz)
up to 507 kbit/s
(@ 48 kHz)
229 kbit/s
(@ 44.1 kHz)
237 kbit/s
(@ 48 kHz)
328 kbit/s
(@ 44.1 kHz)
345 kbit/s
(@ 48 kHz)
212 kbit/s
(@ 48 kHz)
72 kbit/s
(@ 16 kHz)
1411 kbit/s
(@ 44.1 kHz)
Subbands4 or 88none
Bitpool2...86 (@ 44.1 kHz)
2...78 (@ 48 kHz)
35 (@ 44.1 kHz)
33 (@ 48 kHz)
53 (@ 44.1 kHz)
51 (@ 48 kHz)
2932none

Middle and High Quality

A2DP recommends encoders to support Middle Quality and High Quality presets as specified in the above table. As a result, most operating systems are using the High Quality profile as the default or even the only one supported encoding profile. [10]

Higher quality variants

However, A2DP requires decoders to support higher quality streams, up to 512 kbit/s, and there are some experimental encoders that use this feature: for example, SBC XQ, used by Lineage OS, [13] . With higher bit rate, audio quality is comparable to aptX HD (529 kbit/s). [14]

FastStream

While A2DP officially supports only one-way audio streams, CSR has found a way to send a voice-back stream opposite to the main stereo stream, making it possible to use A2DP in headsets with microphones. It was implemented in the FastStream codec, which is the SBC codec with set parameters and the voice-back stream added. [10] [15]

Implementations

The A2DP test specification (V1.0) contains a reference implementation of the encoder and decoder for the SBC codec. A Linux implementation is available at BlueZ - The Linux Bluetooth stack.

See also

Related Research Articles

MPEG-1 is a standard for lossy compression of video and audio. It is designed to compress VHS-quality raw digital video and CD audio down to about 1.5 Mbit/s without excessive quality loss, making video CDs, digital cable/satellite TV and digital audio broadcasting (DAB) practical.

Windows Media Audio (WMA) is a series of audio codecs and their corresponding audio coding formats developed by Microsoft. It is a proprietary technology that forms part of the Windows Media framework. WMA consists of four distinct codecs. The original WMA codec, known simply as WMA, was conceived as a competitor to the popular MP3 and RealAudio codecs. WMA Pro, a newer and more advanced codec, supports multichannel and high-resolution audio. A lossless codec, WMA Lossless, compresses audio data without loss of audio fidelity. WMA Voice, targeted at voice content, applies compression using a range of low bit rates. Microsoft has also developed a digital container format called Advanced Systems Format to store audio encoded by WMA.

Adaptive Transform Acoustic Coding (ATRAC) is a family of proprietary audio compression algorithms developed by Sony. MiniDisc was the first commercial product to incorporate ATRAC, in 1992. ATRAC allowed a relatively small disc like MiniDisc to have the same running time as CD while storing audio information with minimal perceptible loss in quality. Improvements to the codec in the form of ATRAC3, ATRAC3plus, and ATRAC Advanced Lossless followed in 1999, 2002, and 2006 respectively.

Advanced Audio Coding (AAC) is an audio coding standard for lossy digital audio compression. It was designed to be the successor of the MP3 format and generally achieves higher sound quality than MP3 at the same bit rate.

MPEG-4 Part 3 or MPEG-4 Audio is the third part of the ISO/IEC MPEG-4 international standard developed by Moving Picture Experts Group. It specifies audio coding methods. The first version of ISO/IEC 14496-3 was published in 1999.

Continuously variable slope delta modulation is a voice coding method. It is a delta modulation with variable step size, first proposed by Greefkes and Riemens in 1970.

Musepack or MPC is an open source lossy audio codec, specifically optimized for transparent compression of stereo audio at bitrates of 160–180 kbit/s. It was formerly known as MPEGplus, MPEG+ or MP+.

<span class="mw-page-title-main">High-Efficiency Advanced Audio Coding</span> Audio codec

High-Efficiency Advanced Audio Coding (HE-AAC) is an audio coding format for lossy data compression of digital audio defined as an MPEG-4 Audio profile in ISO/IEC 14496–3. It is an extension of Low Complexity AAC (AAC-LC) optimized for low-bitrate applications such as streaming audio. The usage profile HE-AAC v1 uses spectral band replication (SBR) to enhance the modified discrete cosine transform (MDCT) compression efficiency in the frequency domain. The usage profile HE-AAC v2 couples SBR with Parametric Stereo (PS) to further enhance the compression efficiency of stereo signals.

<span class="mw-page-title-main">DTS (company)</span> Series of multichannel audio technologies

DTS, Inc. is an American company. DTS company makes multichannel audio technologies for film and video. Based in Calabasas, California, the company introduced its DTS technology in 1993 as a competitor to Dolby Laboratories, incorporating DTS in the film Jurassic Park (1993). The DTS product is used in surround sound formats for both commercial/theatrical and consumer-grade applications. It was known as The Digital Experience until 1995. DTS licenses its technologies to consumer electronics manufacturers.

Α video codec is software or a device that provides encoding and decoding for digital video, and which may or may not include the use of video compression and/or decompression. Most codecs are typically implementations of video coding formats.

Constrained Energy Lapped Transform (CELT) is an open, royalty-free lossy audio compression format and a free software codec with especially low algorithmic delay for use in low-latency audio communication. The algorithms are openly documented and may be used free of software patent restrictions. Development of the format was maintained by the Xiph.Org Foundation and later coordinated by the Opus working group of the Internet Engineering Task Force (IETF).

aptX Family of proprietary audio codecs owned by Qualcomm

aptX is a family of proprietary audio codec compression algorithms owned by Qualcomm, with a heavy emphasis on wireless audio applications.

<span class="mw-page-title-main">Sub-band coding</span>

In signal processing, sub-band coding (SBC) is any form of transform coding that breaks a signal into a number of different frequency bands, typically by using a fast Fourier transform, and encodes each one independently. This decomposition is often the first step in data compression for audio and video signals.

<span class="mw-page-title-main">Opus (audio format)</span> Lossy audio coding format

Opus is a lossy audio coding format developed by the Xiph.Org Foundation and standardized by the Internet Engineering Task Force, designed to efficiently code speech and general audio in a single format, while remaining low-latency enough for real-time interactive communication and low-complexity enough for low-end embedded processors. Opus replaces both Vorbis and Speex for new applications, and several blind listening tests have ranked it higher-quality than any other standard audio format at any given bitrate until transparency is reached, including MP3, AAC, and HE-AAC.

Unified Speech and Audio Coding (USAC) is an audio compression format and codec for both music and speech or any mix of speech and audio using very low bit rates between 12 and 64 kbit/s. It was developed by Moving Picture Experts Group (MPEG) and was published as an international standard ISO/IEC 23003-3 and also as an MPEG-4 Audio Object Type in ISO/IEC 14496-3:2009/Amd 3 in 2012.

<span class="mw-page-title-main">LDAC (codec)</span> Digital audio encoding technology

LDAC is a proprietary audio coding technology developed by Sony, which allows streaming high-resolution audio over Bluetooth connections at up to 990 kbps at 32 bits/96 kHz. It is used by various products, including headphones, earphones, smartphones, portable media players, active speakers, and home theaters.

Low Latency High-Definition Audio Codec (LHDC) is an audio codec technology developed by Savitech. LHDC allows high-resolution audio streaming over Bluetooth. It is a high-quality Bluetooth codec based on the A2DP Bluetooth protocol and allows a bit-rate of up to 900 kbit/s compared to SBC's bit rate of 345 kbit/s.

LC3 is an audio codec specified by the Bluetooth Special Interest Group (SIG) for the LE Audio audio protocol introduced in Bluetooth 5.2. It's developed by Fraunhofer IIS and Ericsson as the successor of the SBC codec.

References

  1. 1 2 3 4 5 6 Bluetooth SIG, Specification of the Bluetooth System, Profiles, Advanced Audio Distribution Profile version 1.3. https://www.bluetooth.org/docman/handlers/DownloadDoc.ashx?doc_id=260859&vId=290074
  2. C. Hoene, F. de Bont, "RTP Payload Format for Bluetooth's SBC audio codec", IETF draft, work in progress, Dec. 2010, https://tools.ietf.org/html/draft-ietf-avt-rtp-sbc-01
  3. Stephen Wray (26 June 2008). "Bluetooth: Sufficient fidelity even for average listeners?". EDN Network. Retrieved 4 January 2012.
  4. "Bluetooth Audio Gets a Big Upgrade at CES 2020". Bluetooth Technology Website. 2020-01-13. Retrieved 2022-01-17.
  5. Frumusanu, Andrei. "CES 2020: Bluetooth SIG Announces LE Audio Standard: New Baseline For Next Decade". www.anandtech.com. Retrieved 2022-01-17.
  6. "What is LE Audio and LC3, the latest in Bluetooth audio?". TIC. 21 February 2020. Retrieved 2022-01-17.
  7. F. de Bont, M. Groenewegen and W. Oomen, "A High Quality Audio-Coding System at 128 kb/s", 98th AES Convention, Febr. 25-28, 1995.
  8. 1 2 J.B. Rault, Y.F. Dehery, J.Y. Roudaut, A.A.M. Bruekers, R.N.J. Veldhuis, "Digital transmission system using subband coding of a digital signal", Publication number: EP0400755 (B1), Priority number(s): EP19900201369 19900530; EP19890201408 19890602
  9. ValdikSS. "Bluetooth A2DP SBC Codec Bitrate Calculator". ValdikSS. Retrieved 6 April 2021.
  10. 1 2 3 ValdikSS (18 June 2019). "Audio over Bluetooth: most detailed information about profiles, codecs, and devices". Habr. Retrieved 6 April 2021.
  11. CSR. "CSR presents handset makers with revolutionary audio processing technology". CSR. Archived from the original on 2008-05-09. Retrieved 9 May 2008.
  12. J.J. Lazzeroni, M.K. Carevich, J.D. Vertz, P.E.H. Hauser, S.J. Kingston, "Simultaneous voice and audio traffic between two devices on a wireless personal-area network", Publication number: US9398620 (B1)
  13. ValdikSS (6 July 2019). "Bluetooth SBC Dual Channel HD audio mode". Lineage OS. Retrieved 6 April 2021.
  14. Serge Smirnoff (29 June 2019). "Audio quality of SBC XQ Bluetooth audio codec". SoundExpert. Retrieved 6 April 2021.
  15. Pali Rohár (2 June 2019). "[PATCH v11 07/11] bluetooth: Add A2DP FastStream codec support". pulseaudio-discuss mailing list. Retrieved 6 April 2021.