Lably
Skip to content

Codec 2

Low-bitrate speech encoding format

  • 5 min read
  • 4 chapters

Related on Lably

Through Patent, Open-source software and Speech

Overview

The codec was developed by David Grant Rowe, with support and cooperation of other researchers (e.g., Jean-Marc Valin from Opus).

Codec 2 consists of 3200, 2400, 1600, 1400, 1300, 1200, 700 and 450 bit/s codec modes. It outperforms most other low-bitrate speech codecs. For example, it uses half the bandwidth of Advanced Multi-Band Excitation to encode speech with similar quality. The speech codec uses 16-bit PCM sampled audio, and outputs packed digital bytes. When sent packed digital bytes, it outputs PCM sampled audio. The audio sample rate is fixed at 8 kHz.

The reference implementation is open source and is freely available in a GitHub repository. The source code is released under the terms of version 2.1 of the GNU Lesser General Public License (LGPL). It is programmed in C and current source code requires floating-point arithmetic, although the algorithm itself does not require this. The reference software package also includes a frequency-division multiplex digital voice software modem and a graphical user interface based on WxWidgets. The software is developed on Linux and a port for Microsoft Windows created with Cygwin is offered in addition to an Apple MacOS version.

The codec has been presented in various conferences and has received the 2012 ARRL Technical Innovation Award, and the Linux Australia Conference's Best Presentation Award.

Sign in to keep reading

3 more chapters are free with a Lably account.

More in Computing and communication