Skip to main content

This is a package for G.722 module

Project description

libg722

Build & Test

Introduction

The G.722 module is a bit exact implementation of the ITU G.722 specification for all three specified bit rates - 64000bps, 56000bps and 48000bps. It passes the ITU tests.

To allow fast and flexible interworking with narrow band telephony, the encoder and decoder support an option for the linear audio to be an 8k samples/second stream. In this mode the codec is considerably faster, and still fully compatible with wideband terminals using G.722.

History

The code was originally written by Milton Anderson milton@thumper.bellcore.com from BELLCORE, and has been modified by the Chengxiang Lu and Alex Hauptmann from the Speech Group, School of Computer Science, Carnegie Mellon University, to be fairly fast and efficient, while retaining high fidelity.

Steve Underwood steveu@coppice.org improved the code a lot later on and contributed it into several popular open source projects.

Himanshu Soni sonihimanshu@gmail.com has adjusted some coefficients to avoid over/under-flows in the decoder.

Phil Schatzmann phil.schatzmann@gmail.com has added cmake-glue and Arduino support.

Librarized by Sippy Software, Inc.

Build and Install library:

git clone https://github.com/sippy/libg722.git
cmake -B libg722/build -S libg722
make -C ibg722/build clean all test install

Install Python module from PyPy:

pip install G722

Build and Install Python module from source code:

git clone https://github.com/sippy/libg722.git
pip install libg722/

Pull library into your Docker container:

ARG BASE_IMAGE=debian:sid-slim
ARG LIBG722_IMAGE=sippylabs/libg722:latest-debian_sid-slim
FROM ${LIBG722_IMAGE} AS libg722
FROM ${BASE_IMAGE} AS build
COPY --from=libg722 /usr/local/lib/libg722.* /usr/local/lib/
COPY --from=libg722 /usr/local/include/g722* /usr/local/include/

License

This code is mostly Public Domain. Library test code is under BSD 2-clause license.

See LICENSE for copyright details and each individual file for specifics.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

g722-1.2.0.tar.gz (12.9 kB view details)

Uploaded Source

File details

Details for the file g722-1.2.0.tar.gz.

File metadata

  • Download URL: g722-1.2.0.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for g722-1.2.0.tar.gz
Algorithm Hash digest
SHA256 17eb5cadc5896e8c245a88427df229addccf8fc7f45097298c77b6c77c547e57
MD5 971d66034f12fada63d8b1419ea677c6
BLAKE2b-256 3218359844f2c439e794fbac8bbe129c67647a1400f2a0d8478a6811cc710e4c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page