AptX
aptX is a family of proprietary audio codec compression algorithms owned by Qualcomm, with a heavy emphasis on wireless audio applications. The initials "apt" stand for Audio Processing Technology.
History
The original aptX algorithm was developed in the 1980s by Dr. Stephen Smyth as part of his Ph.D. research at Queen's University Belfast School of Electronics, Electrical Engineering and Computer Science; its design is based on time domain ADPCM principles without psychoacoustic auditory masking techniques.aptX audio coding was first introduced to the commercial market as a semiconductor product, a custom programmed DSP integrated circuit with part name APTX100ED, which was initially adopted by broadcast automation equipment manufacturers who required a means to store CD-quality audio on a computer hard disk drive for automatic playout during a radio show, for example, hence replacing the task of the disc jockey.
The company was bought by Solid State Logic ca. 1988, and became part of Carlton Communications plc. in 1989. In the early 1990s, APT's codecs were used to transfer audio via ISDN lines by companies such as Disney to check dubbing done in Europe. On 23 December 1999, Solid State Logic was sold by Carlton Communications to 3i. Then in 2005, Solid State Logic sold APT in a management buyout. On 1 March 2005 APT Licensing Ltd. was incorporated in Belfast.
The range of aptX algorithms for real-time audio data compression expanded with intellectual property becoming available in the form of software, firmware and programmable hardware for professional audio, television and radio broadcast, and consumer electronics, especially applications in wireless audio, low latency wireless audio for gaming and video, and audio over IP. In addition, the aptX codec was introduced as an alternative to SBC, the sub-band coding scheme for lossy stereo/mono audio streaming mandated by the Bluetooth SIG for the Advanced Audio Distribution Profile of Bluetooth, the short-range wireless personal-area network standard. aptX is supported in high-performance Bluetooth peripherals.
Today, standard aptX and Enhanced aptX are used in both ISDN and IP audio codec hardware from numerous broadcast equipment makers, including APT WorldCast Systems, Tieline Technology, AVT, Harris Corporation, BW Broadcast, Digigram, MAYAH, Prodys, and Qbit. An addition to the aptX family in the form of aptX Live, offering up to 8:1 compression, was introduced in 2007; and aptX HD, a lossy, but scalable, adaptive, "near-lossless" quality audio codec was announced in April 2009.
The company split in 2009; the broadcast hardware business was acquired by Audemat and became part of what is now WorldCast Systems, and the licensing business became APT Licensing and was acquired by CSR plc in 2010. aptX was previously named apt-X until acquired by CSR in 2010. CSR was subsequently acquired by Qualcomm in August 2015.
Starting with Android Oreo and Android 10 respectively, aptX/aptX HD and aptX adaptive were added to the Android Open Source Project, enabling every OEM to integrate those standards into their own Android devices freely.
Variants
Overview
main sourceaptX
The aptX audio codec is used for consumer and automotive wireless audio applications, notably the real-time streaming of lossy stereo audio over the Bluetooth A2DP connection/pairing between a "source" device and a "sink" accessory. The technology must be incorporated in both transmitter and receiver to derive the sonic benefits of aptX audio coding over the default sub-band coding mandated by the Bluetooth standard. Products bearing the CSR aptX logo are certified for interoperability with each other.Enhanced aptX
Enhanced aptX provides coding at 4:1 compression ratios for professional audio broadcast applications and is suitable for AM, FM, DAB, HD Radio and 5.1. Enhanced aptX can handle up to 4 stereo pairs of AES3 audio and compress to 1 AES3 stream for transmit. Enhanced aptX supports bit-depths of 16, 20 or 24 bit. For audio sampled at 48 kHz, the bit-rate for E-aptX is 384 kbit/s, 768 kbit/s, 1024 kbit/s, and 1280 kbit/s. Its lowest bit-rate is 60 kbit/s for mono audio sampled at 16 kHz, offering about 7.5 kHz frequency response just below that of wideband telephony codecs.aptX Live
aptX Live is a low-complexity audio codec that is specifically designed to maximise digital wireless microphone channel density in bandwidth-constrained scenarios, such as live performance, where the spectrum-efficiency of radio-based devices is becoming a prime operational consideration. aptX Live offers up to 8:1 compression of 24-bit resolution digital audio streams while maintaining acoustic integrity and ensuring latency of around 1.8 ms at 48 kHz sampling rates. In addition, aptX Live also features techniques that aid connection in situations where the bit error rate is excessively high.aptX LL
aptX LL or aptX Low Latency is intended for video and gaming applications requiring comfortable audio-video synchronization whenever the stereo audio is transmitted over short-range radio to the listener using the Bluetooth A2DP audio profile standard. The technology offers an end-to-end latency of 32 ms over Bluetooth. By comparison, the latency of standard Bluetooth stereo varies greatly depending on the system implementation and buffering. Solutions are available that use standard SBC encoding/decoding that achieve end-to-end latency of less than 40 ms. The recommended latency for Audio to video synchronization in broadcast television is within +40 ms and −60 ms. However, AptX Low Latency requires a dedicated, wireless antenna, so it did not achieve much adoption in smartphones and was retired by Qualcomm in favor of aptX Adaptive. Its main competitor is the LLAC.aptX HD
aptX HD or aptX High Definition has bit-rate of 576 kbit/s. It supports high-definition audio up to 48 kHz sampling rates and sample resolutions up to 24 bits. Unlike the name suggests, the codec is still considered lossy; however, it permits a "hybrid" coding scheme for applications where average or peak compressed data rates must be capped at a constrained level. This involves the dynamic application of "near lossless" coding for those sections of audio where completely lossless coding is impossible due to bandwidth constraints. "Near lossless" coding maintains a high-definition audio quality, retaining audio frequencies up to 20 kHz and a dynamic range of at least 120 dB. Its main competitors are LDAC codec developed by Sony and LHDC.Another scalable parameter within aptX HD is coding latency. It can be dynamically traded against other parameters such as levels of compression and computational complexity. The latency of the aptX HD codec can be scaled to as low as 1 ms for 48 kHz sampled audio, depending on the settings of other configurable parameters. aptX HD performs particularly well against other lossless codecs when the coding latency is constrained to be small, such as 5 ms or less, making it particularly appropriate for delay-sensitive interactive audio applications. aptX HD has an end-to-end latency of around 150ms.
Many lossless codecs possess the benefit of a low computational overhead compared to well-known lossy codecs, such as MP3 and AAC. This is particularly important for deeply embedded audio applications running on low-power mobile devices. aptX HD promotes low computational overhead by dynamically selecting the simplest coding functions for each short segment of audio whilst complying with other operational constraints, such as levels of compression and coding delay. Depending on the settings of other scalable parameters, aptX HD can encode a 48 kHz 16-bit stereo audio stream using only 10 MIPS on a modern RISC processor with signal processing extensions. The corresponding decoder represents only 6 MIPS on the same platform.
User metadata and special synchronization data can be incorporated into the compressed format at configurable rates. The latter permits rapid decoder resynchronization in the event of data corruption or loss over communications links where Quality of Service can vary rapidly. Depending on the settings of parameters, decoder resynchronization can occur within 1–2 ms.
aptX Adaptive
aptX Adaptive is a next-generation dynamically adjustable audio codec intended for premium audio quality and low-latency. aptX Adaptive’s bitrate scales dynamically between 279kbps and 420kbps. It also works with a shared, rather than dedicated, wireless antenna. Qualcomm claims their new compression algorithm provides a compression ratio between 5:1 to 10:1. This allows aptX Adaptive at 279kbps and 420kbps to produce the same sound quality as aptX at 352kbps and aptX HD at 576kbps. aptX Adaptive supports 16 and 24 bit-depths at 44.1 and 48 kHz sample rates. aptX Adaptive has end-to-end latency of 50-80ms. aptX Adaptive is also backward compatible with older aptX codecs.aptX Voice
aptX Voice is a new feature of aptX Adaptive, and is designed to significantly improve the quality of voice for those using Bluetooth accessories to make voice calls. It does this by delivering 32kHz voice call quality within the Bluetooth Hands-Free Profile.Mode of operation
The example CD-quality 16-bit 44 kHz stream is divided by two layers of 64-tap QMF into four 16-bit subbands of 11 kHz. The first 64-tap QMF divides into two bands, and then each one is fed into another 64-tap QMF dividing into four bands: 0–5.5 kHz, 5.5–11 kHz, 11–16.5 kHz and 16.5–22 kHz. Reduced variance is generally expected to be found in higher bands compared to lower bands, thus ADPCM is employed to allocate bits optimally.Each band is coded with ADPCM using bit allocation of 8 bits for band 1, 4 bits for band 2, 2 bits each for bands 3 and 4. A future modification is considered with adaptive bit reallocation based on variance analysis of each subband, for example 9, 2, 3, 2 etc.
As a result, for mono channel, 16 bits @ 44.1 kHz=705.6 kbit/s input is converted into 64 bits@11.025 kHz=705.6 kbit/s and then to 16 bits @ 11.025 kHz=176.4 kbit/s.
Optionally a short-term RMSE analyzer is used to reduce dynamic range, and thus allocate bits more effectively during quiet passages.
For a stereo signal, a standard PCM 1.4-Mbit stream is converted into 352 Kbit/sec aptX stream.
Details can be found in the EP0398973B1 patent. The main reasoning is that signal variation is reduced at higher frequencies, which makes it amenable to coding with codecs like ADPCM.