CELT

Short description: Audio codec and compression format

CELTDeveloped by| Xiph.Org Foundation

|

Type of format| Audio
Contained by| Ogg
Extended to| Opus
Standard| Documentation
libceltDeveloper(s)| Xiph.org Foundation, Jean-Marc Valin

|

Preview release|

0.11.1 / February 15, 2011; 15 years ago (2011-02-15)

Type| Audio codec, reference implementation
License| 2-clause BSD
Website| opus-codec.org

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 (as part of the Ogg codec family) and later coordinated by the Opus working group of the Internet Engineering Task Force (IETF).

CELT was meant to bridge the gap between Vorbis and Speex for applications where both high quality audio and low delay are desired.[1] It is suitable for both speech and music. It borrows ideas from the CELP algorithm, but avoids some of its limitations by operating in the frequency domain exclusively.[1]

The original stand-alone CELT has been merged into Opus. Therefore, CELT as stand-alone format is now abandoned and obsolete. Development is going on only for its hybridised form as a layer of Opus, integrated with SILK. This article covers the historic, stand-alone format; for the integrated form and its evolution since the integration into Opus see the article on Opus.

## Contents

* 1 Properties
* 2 Technology
* 3 History
* 4 Software
* 5 See also
* 6 References
* 7 External links

## Properties

CELT's central feature is low algorithmic delay. It allows for latencies of typically 3 to 9 ms but is configurable to below 2 ms at the price of more bitrate to reach a similar audio quality.[2] CELT supports mono and stereo audio and is applicable to both speech and music. It can use a sampling rate from 32 kHz to 48 kHz and above and an adaptive bitrate from 24 kbit/s to 128 kbit/s per channel and above.[2]

There are no known intellectual property issues pertaining to the CELT algorithm, and its reference implementation is published under a permissive open-source license (the 2-clause BSD).[1][3]

Like Vorbis, CELT is a fullband (entire human hearing range) general-purpose codec, i.e. not specialized for special types of audio signals and therefore different from its sibling project Speex. The format enables for transparent results at high bitrates, as well as very decent quality at lower bitrates. All in all, the compression capabilities are said to be significantly superior to those of MP3, and as another useful feature for realtime applications like telephony, CELT's audio quality at lower bitrates are even on par with HE-AACv1, thanks to the band folding.[4][5] In comparative double-blind listening tests it proved to be noticeably superior to HE-AACv1 at ~64 kBit/s.[6]

It has a comparably low computational complexity that resembles that of the low-delay variant of AAC (AAC-LD) and stays significantly below the complexity of Vorbis.[7]

It enables for constant and variable bitrate. If the signal disappears into the noise floor in speech pauses and similar cases, the transmission can be limited to signal the output of comfort noise to the decoder. Most settings of the naturally streaming-enabled format can be changed on the fly without interrupting transmission.

The format is robust to transmission errors. Loss of whole packets as well as bit errors can be masked with a steady degradation of audio quality (packet loss concealment, PLC).

## Technology

block diagram of the codec

CELT is a transform codec based on the modified discrete cosine transform (MDCT) and concepts from CELP (with a code book for excitation, but in the frequency domain).

The initial PCM-coded signal is handled in relatively small, overlapping blocks for the MDCT (window function) and transformed to frequency coefficients. Choosing an especially short block size on the one hand enables for a low latency, but also leads to poor frequency resolution that has to be compensated. For a further reduction of the algorithmic delay to the expense of a minor sacrifice in audio quality, the by nature 50% of overlap between the blocks is practically cut down to half by silencing the signal during one eight at both ends of a block, respectively.[2]

The coefficients are grouped to resemble the critical bands of the human auditory system. The entire amount of energy of each group is analysed and the values quantised for data reduction and compressed through prediction by only transmitting the difference to the predicted values (delta encoding).

The (unquantised) band energy values are removed from the raw DCT coefficients (normalisation). The coefficients of the resulting residual signal (so-called “band shape”) are coded by Pyramid Vector Quantisation (PVQ, a spherical vector quantisation).[8] This encoding leads to code words of fixed (predictable) length, which in turn enables for robustness against bit errors and leaves no need for entropy encoding.[5] Finally, all output of the encoder are coded to one bitstream by a range encoder.[9] In connection with the PVQ, CELT uses a technique known as band folding, which delivers a similar effect to spectral band replication (SBR) by reusing coefficients of lower bands for higher ones, but has much less impact on the algorithmic delay and computational complexity than the SBR. This works against “birdie” artifacts by preserving more richness in the appropriate frequency bands.

The decoder unpacks the individual components from the range coded bitstream, multiplies the band energy to the band shape coefficients and transforms them back (via iMDCT) to PCM data. The individual blocks are rejoined using weighted overlap-add (WOLA). Many parameters are not explicitly coded, but instead reconstructed by using the same functions as the encoder.

For the channel coupling CELT may use M/S stereo or intensity stereo. Blocks can be described independent from adjacent frames (Intra-frame); for example to enable a decoder to jump into a running stream. With transform codecs so-called pre-echo artifacts can get audible, because the quantisation error of sharp, energy-heavy sounds (transients) can spread over the entire DCT block and the transient doesn't mask them backward in time as well as forward. With CELT each block can be further divided to thwart such artifacts.

## History

First work on plans and drafts for a Vorbis successor was done in 2005 at Xiph.org as part of the Ghost project (initially talked about as “Vorbis II”). This discussion together with Vorbis creator Christopher Montgomery led to Jean-Marc Valin′s interest in a particularly low-latency codec. Valin has worked on CELT since 2007.[5] In December 2007, the first draft version of libcelt was published as version 0.0.1, initially named “Code-Excited Lapped Transform”.[10][11] CELT was established as an IETF technology in July 2009[3][12][13][14] under the "ietfcodec" working group. In May 2009, a draft of RTP payload format for the CELT Codec was published.[15]

In version 0.9, the pitch prediction operating in the frequency domain used until then was replaced by a less complex solution with a pre- and postfilter pair in time domain,[16] which was contributed by Raymond Chen of Broadcom.[5]

With CELT 0.11 from February 4, 2011 the format was tentatively frozen (“soft freeze”) – reserving the possibility of unexpectedly necessary last changes.

Shortly after the advent of the CELT/SILK hybrid codec Opus (formerly known as Harmony), the development of CELT as a separate project was halted, instead living on the basis of Opus,[17] which aims to treat the lower part of the spectral range in the time domain with linear prediction (SILK) and the higher part in the frequency domain with the MDCT. The draft for Opus has been registered at the IETF since September 2010.

## Software

The software library libcelt serves as the reference implementation for CELT, written in C and published as free software under Xiph's own 3-clause BSD-ish license.

Despite the format not being finally frozen, it was being used in many VoIP applications such as Ekiga[18] and FreeSWITCH,[19] which switched to CELT upon entering soft-freeze in January 2009, as well as Mumble, TeamSpeak and other[20] software. In April 2011, support for CELT was included in FFmpeg.[21][22]

CELT is also supported or used by:[20]

* Gablarski[23]
* GStreamer
* jack-audio-connection-kit (netjack)
* liboggz
* Mumble (starting with version 1.2)
* NexGenVoIP
* Radio CHNC
* RoarAudio
* SFLphone
* Soundjack
* TeamSpeak 3
* SPICE
* Dota 2[24]
* Counter Strike: Global Offensive
* Team Fortress 2[25]

## See also

* Comparison of audio coding formats
* Opus (audio format) \- successor of CELT

## References

1. ↑ 1.0 1.1 1.2 Xiph.Org The CELT ultra low-delay audio codec - home page , Retrieved 2009-09-01
2. ↑ 2.0 2.1 2.2 Presentation of the codec by Timothy B. Terriberry (65 minutes of video in ~100 MiB OggTheora+Vorbis, see also presentation slides in PDF, ~2,3 MiB)
3. ↑ 3.0 3.1 Valin, Jean-Marc; Terriberry, Timothy B.; Maxwell, Greg; Montgomery, Christopher (8 July 2010). "Constrained-Energy Lapped Transform (CELT) Codec". https://datatracker.ietf.org/drafts/draft-valin-celt-codec/.
4. ↑ Fiona Glaser (2010-11-18). "Important: upcoming CELT bitstream freeze!". ffmpeg-devel.mplayerhq.hu - FFmpeg development discussions and patches mailing list. mplayerhq.hu. http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2010-November/098196.html.
5. ↑ 5.0 5.1 5.2 5.3 Christopher Montgomery (2010-12-23). "next generation audio: CELT update 20101223". Monty's demo pages. Xiph.Org. http://people.xiph.org/~xiphmont/demo/celt/demo.html.
6. ↑ Dirk Bösel (2011-04-18). "CELT beeindruckt beim 64 kb/s Multiformat Hörtest (2011)" (in German). MPeX.net. MPeX.net GmbH. http://mpex.net/news/archiv/01153.html.
7. ↑ Valin, Jean-Marc; Terriberry, Timothy B.; Montgomery, Christopher; Maxwell, Gregory (17 April 2009), "A High-Quality Speech and Audio Codec With Less Than 10 ms Delay", IEEE Transactions on Audio, Speech, and Language Processing (IEEE Signal Processing Society) 18 (1), http://people.xiph.org/~jm/papers/celt_tasl.pdf, retrieved 2011-02-16
8. ↑ Fischer, Thomas R. (July 1986), "A pyramid vector quantizer", IEEE Transactions on Information Theory 32 (4): 568–583, doi:10.1109/TIT.1986.1057198
9. ↑ second version of the draft of the specification
10. ↑ Jean-Marc Valin (2007-12-09). "Experimental release of Ghost/CELT 0.0.1". Hydrogenaudio Forums. http://www.hydrogenaud.io/forums/?showtopic=59581#post-534616.
11. ↑ Xiph.Org (2007-12-08) CELT releases – celt-0.0.1.tar.gz, Retrieved 2009-09-01
12. ↑ Monika Ermert (2009-11-13). "IETF kümmert sich um lizenzfreien Audiocodec". heise online. http://www.heise.de/-858956.html.
13. ↑ Valin, Jean-Marc; Terriberry, Timothy; Maxwell, Gregory; Montgomery, Christopher (8 July 2010). Constrained-Energy Lapped Transform (CELT) Codec. https://datatracker.ietf.org/doc/html/draft-valin-celt-codec-01.
14. ↑ IETF - AVT Working Group (2009-07-04) Constrained-Energy Lapped Transform (CELT) Codec, Retrieved 2009-09-01
15. ↑ IETF - AVT Working Group (2009-05-08) RTP Payload Format for the CELT Codec, Retrieved 2009-09-01
16. ↑ Jean-Marc Valin (2011-02-15). "CELT decoder complexity". CELT-dev. Xiph.Org. http://lists.xiph.org/pipermail/celt-dev/2011-February/000580.html.
17. ↑ Jean-Marc Valin, Koen Vos (October 2010). "Definition of the Opus Audio Codec". IETF Internet-Drafts. IETF Network Working Group. http://tools.ietf.org/html/draft-ietf-codec-opus-00.
18. ↑ Ekiga 3.1.0 available
19. ↑ FreeSWITCH: New Release For The New Year
20. ↑ 20.0 20.1 "Software that uses or supports CELT". CELT website. Xiph.Org. http://celt-codec.org/software/.
21. ↑ George, Nicolas (April 20, 2011). "[FFmpeg-devel [PATCH] Support for Xiph CELT/Opus decoding using libcelt"]. http://ffmpeg.org/pipermail/ffmpeg-devel/2011-April/110850.html.
22. ↑ "git.videolan.org Git - ffmpeg.git/commit". http://git.videolan.org/?p=ffmpeg.git;h=89451dd6e4da40ed73b8bbee2d48d8d8be1d5b0c.
23. ↑ "www.gablarski.org". http://www.gablarski.org/.
24. ↑ "Patch Notes - Dota2 Dev". http://dev.dota2.com/showthread.php?t=43087.
25. ↑ "Team Fortress 2". https://www.teamfortress.com/post.php?id=25766.

## External links

* Official homepage

* v
* t
* e

Xiph.Org Foundation

Ogg Project|

* Vorbis
* Daala
* Theora
* FLAC
* Opus
* CELT
* Speex
* Tremor
* OggPCM
* Ogg Writ

Other projects|

* XSPF
* Annodex
* cdparanoia
* Icecast

Related articles|

* Chris Montgomery
* CMML
* Ogg page
* Ogg Squish
* Use of Ogg formats in HTML5
* Vorbis comment

* v
* t
* e

Multimedia compression and container formats

Video
compression|

| ISO, IEC, MPEG|

* MJPEG
* Motion JPEG 2000
* MPEG-1
* MPEG-2
* Part 2
* MPEG-4
* Part 2 / ASP
* Part 10 / AVC
* MPEG-H
* Part 2 / HEVC
* MPEG-I
* Part 3 / VVC

|

ITU-T, VCEG|

* H.120
* DCT
* H.261
* H.262
* H.263
* H.264 / AVC
* H.265 / HEVC
* H.266 / VVC
* DV

SMPTE|

* VC-1
* VC-2
* VC-3
* VC-5

TrueMotion|

* TrueMotion S
* DCT
* VP3
* VP6
* VP7
* VP8
* VP9
* AV1

Others|

* Apple Video
* AVS
* Bink
* Cinepak
* Daala
* DVI
* EVC
* FFV1
* Huffyuv
* Indeo
* Lagarith
* Microsoft Video 1
* MSU Lossless
* OMS Video
* Pixlet
* ProRes 422
* ProRes 4444
* QuickTime
* Animation
* Graphics
* RealVideo
* RTVideo
* SheerVideo
* Smacker
* Sorenson Video/Spark
* Theora
* Thor
* WMV
* XEB
* YULS

Audio
compression|

| ISO, IEC, MPEG|

* MPEG-1 Layer II
* Multichannel
* MPEG-1 Layer I
* MPEG-1 Layer III (MP3)
* AAC
* HE-AAC
* AAC-LD
* MPEG Surround
* MPEG-4 ALS
* MPEG-4 SLS
* MPEG-4 DST
* MPEG-4 HVXC
* MPEG-4 CELP
* MPEG-D USAC
* MPEG-H 3D Audio

|

ITU-T|

* G.711
* A-law
* µ-law
* G.718
* G.719
* G.722
* G.722.1
* G.722.2
* G.723
* G.723.1
* G.726
* G.728
* G.729
* G.729.1

IETF|

* Opus
* iLBC
* Speex
* Vorbis

3GPP|

* AMR
* AMR-WB
* AMR-WB+
* EVRC
* EVRC-B
* EVS
* GSM-HR
* GSM-FR
* GSM-EFR

ETSI|

* AC-3
* AC-4
* DTS

Others|

* ACELP
* ALAC
* Asao
* ATRAC
* AVS
* CELT
* Codec 2
* DRA
* FLAC
* iSAC
* Monkey's Audio
* TTA
* True Audio
* MT9
* Musepack
* OptimFROG
* OSQ
* QCELP
* RCELP
* RealAudio
* RTAudio
* SD2
* SHN
* SILK
* Siren
* SMV
* SVOPC
* TwinVQ
* VMR-WB
* VSELP
* WavPack
* WMA
* MQA
* aptX
* aptX HD
* aptX Low Latency
* aptX Adaptive
* LDAC
* LHDC
* LLAC

Image
compression|

| IEC, ISO,
IETF, W3C,
ITU-T, JPEG|

* CCITT Group 4
* DCT
* HEIF
* HEVC
* JPEG
* JPEG XR
* JPEG XT
* TIFF/EP
* Arithmetic
* JBIG
* JBIG2
* JPEG-LS
* JPEG 2000
* LZ
* GIF
* PNG
* TIFF
* TIFF/IT

|

Others|

* APNG
* BPG
* DjVu
* EXR
* FLIF
* ICER
* MNG
* PGF
* QTVR
* WBMP
* WebP

Containers|

| ISO, IEC|

* MPEG-ES
* MPEG-PES
* MPEG-PS
* MPEG-TS
* ISO base media file format
* MPEG-4 Part 14 (MP4)
* Motion JPEG 2000
* MPEG-21 Part 9
* MPEG media transport

|

ITU-T|

* H.222.0
* T.802

IETF|

* RTP
* Ogg

SMPTE|

* GXF
* MXF

Others|

* 3GP and 3G2
* AMV
* ASF
* AIFF
* AVI
* AU
* BPG
* Bink
* Smacker
* BMP
* DivX Media Format
* EVO
* Flash Video
* IFF
* M2TS
* Matroska
* WebM
* QuickTime File Format
* RatDVD
* RealMedia
* RIFF
* WAV
* MOD and TOD
* VOB, IFO and BUP

Collaborations|

* NETVC
* MPEG LA
* HEVC Advance

Methods|

* Discrete cosine transform
* DCT
* MDCT
* Entropy
* Arithmetic
* Huffman
* Modified
* FFT
* LPC
* ACELP
* CELP
* LSP
* WLPC
* Lossless
* Lossy
* LZ
* DEFLATE
* LZW
* PCM
* A-law
* µ-law
* ADPCM
* DPCM
* Transform
* Wavelet
* Daubechies
* DWT
* Transform

Lists|

* Comparison of audio coding formats
* Comparison of video codecs
* List of codecs

See Compression methods for techniques and Compression software for codecs

* v
* t
* e

Data compression software

Archivers with
compression
(comparison)|

| Free software|

* 7-Zip
* Archive Manager
* Ark
* Expander
* FreeArc
* Info-ZIP
* KGB Archiver
* PAQ
* PeaZip
* tar
* XAD (decompression only)
* Xarchiver
* Zipeg
* ZPAQ

|

Freeware|

* Filzip
* LHA
* StuffIt Expander (decompression only)
* The Unarchiver (decompression only)
* TUGZip
* ZipGenius

Commercial|

* ARC
* ALZip
* Archive Utility
* ARJ
* BetterZip
* JAR
* MacBinary
* PKZIP/SecureZIP
* PowerArchiver
* StuffIt
* WinAce
* WinRAR
* WinZip

Non-archiving
compressors|

| Generic|

* bzip2
* compress
* gzip
* lzip
* lzop
* pack
* rzip
* Snappy
* XZ Utils

|

For code|

UPX

Audio
compression
(comparison)|

| Lossy|

* Fraunhofer FDK AAC
* Nero AAC Codec
* Freeware Advanced Audio Coder (FAAC)
* Helix DNA Producer
* l3enc
* LAME
* TooLAME
* libavcodec
* libcelt
* libopus
* libspeex
* Musepack
* libvorbis
* Windows Media Encoder

|

Lossless|

* ALAC
* FLAC
* libavcodec
* Monkey's Audio
* mp4als
* OptimFROG
* Shorten
* TTA (True Audio)
* WavPack

Video
compression
(comparison)|

| Lossy|

| MPEG-4 ASP|

* 3ivx
* DivX
* Nero Digital
* FFmpeg
* HDX4
* Xvid

|

H.264 /
MPEG-4 AVC|

* CoreAVC
* Blu-code
* DivX
* FFmpeg
* Nero Digital
* OpenH264
* QuickTime
* x264

HEVC|

* DivX
* x265

Others|

* CineForm
* Cinepak
* Daala
* DNxHD
* Helix DNA Producer
* Indeo
* libavcodec
* Schrödinger (Dirac)
* SBC
* Sorenson
* VP7
* libtheora
* libvpx
* Windows Media Encoder

Lossless|

* FFV1
* Huffyuv
* Lagarith
* MSU Lossless
* YULS

* See also: compression methods and compression formats

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/CELT. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:CELT&oldid=747974"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template