view README @ 640:e0e5905261e2 default tip

document tw5b-dump and tw5c-dump
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Mar 2026 06:43:50 +0000
parents d71ef85036e4
children
line wrap: on
line source

Themyscira Wireless GSM codec libraries & utilities package
===========================================================

Themyscira Wireless, a technical initiative of the Women's Republic of
Themyscira, is proud to present this package of GSM codec libraries and
associated command line test and development utilities.  The present package
provides the following linkable C libraries, intended to be usable by any
application that needs GSM codec functionality:

libgsmfr2	This library implements the original GSM-FR codec, consisting
		of not only the basic transcoding functions of GSM 06.10, but
		also all Rx DTX handler functions that are required for a speech
		decoder receiving a stream of frames from a radio interface,
		either MS or network side.  This library is a replacement for
		classic libgsm, providing proper reset logic, homing functions
		and the Rx DTX handler block.

libgsmefr	This library implements GSM-EFR codec, based on the reference
		code from ETSI (GSM 06.53).  The bit-exact version of GSM-EFR
		implemented here is the original one, not the AMR-EFR hybrid
		that was made into a permissible implementation option after
		the development of AMR.

libgsmhr1	This library implements GSM-HR codec, based on the reference
		code from ETSI (GSM 06.06).  In addition to standard speech
		encoder and decoder functions, our library includes many
		supporting utility functions and a TFO transform implementation.

libtwamr	This library implements 3GPP AMR-NB codec, based on the official
		reference code (TS 26.073).  Both VAD versions are included,
		selected by the user application at run time, and I/O functions
		are provided for both 3GPP test sequence format and the more
		practical format of IETF RFC 4867.  This library can also be
		used to implement AMR-EFR hybrid operation if no DTX is needed
		in the encoder and if the input to the decoder contains no SID
		frames.

The libraries provided here are intended for multiple purposes - here are some
of them:

* They are used as part of Themyscira Wireless MGW (media gateway)
  implementation, providing the necessary speech transcoder between a GSM
  network and G.711-based PSTN.

* TFO transforms implemented in these libraries are needed in order to make a
  proper interface from an incoming RTP stream to an Abis-DL link driving a
  traditional E1 BTS.

* They are useful in many varied study and exploration workings, as part of
  experiments where it becomes necessary to model, simulate or replicate
  bit-exact operation of someone else's network element.

Each of our Themyscira core libraries is free-standing and independent of the
others.  The dependency on classic libgsm (by way of <gsm.h> header file) that
existed in previous versions of Themyscira gsm-codec-lib suite has been
eliminated; the present version has zero dependencies.

Included command line utilities
===============================

In addition to the set of core libraries, the present package includes a number
of command line utilities, falling into the following groups:

* Some utilities specifically exercise and test our core libraries;

* Some utilities are not specifically for library testing but make use of
  these libraries;

* Some utilities are included because they implement some closely related and
  relevant debug and development functionality, even though they don't link
  with any of the included core libraries.

Please see the included documentation in the doc subdirectory.