G.711

G.711

G.711 is an ITU-T standard for audio companding. It is primarily used in telephony. The standard was released for usage in 1972.

G.711 represents logarithmic pulse-code modulation (PCM) samples for signals of voice frequencies, sampled at the rate of 8000 samples/second.

Types

There are two main compression algorithms defined in the standard, the µ-law algorithm (used in North America & Japan) and A-law algorithm (used in Europe and the rest of the world). Both are logarithmic, but A-law was specifically designed to be simpler for a computer to process. The standard also defines a sequence of repeating code values which defines the power level of 0 dB.

The µ-law and A-law algorithms encode 14-bit and 13-bit signed linear PCM samples (respectively) to logarithmic 8-bit samples. Thus, the G.711 encoder will create a 64 kbit/s bitstream for a signal sampled at 8 kHz.

G.711, also known as Pulse Code Modulation (PCM), is a very commonly used waveform codec. G.711 uses a sampling rate of 8,000 samples per second, with the tolerance on that rate 50 parts per million (ppm). Non-uniform quantization with 8 bits is used to represent each sample, resulting in a 64 kbit/s bit rate. There are two slightly different versions; μ-law, which is used primarily in North America, and A-law, which is in use in most other countries outside North America. G.711 μ-law tends to give more resolution to higher range signals while G.711 A-law provides more quantization levels at lower signal levels. When using μ-law G.711 in networks where suppression of the all 0 character signal is required, the character signal corresponding to negative input values between decision values numbers 127 and 128 should be 00000010 and the value at the decoder output is -7519. The corresponding decoder output value number is 125.

G.711 A-Law

A-law encoding thus takes a 13-bit signed linear audio sample as input and converts it to an 8 bit value as follows:

Where "s" is the sign bit. So for example, 1000000010101111 maps to 10001010 (according to the first row of the table), and 0000000110101111 maps to 00011010 (according to the second).

This can be seen as a floating point number with 4 bits of mantissa and 3 bits of exponent.

In addition, the standard specifies that all resulting even bits are inverted before the octet is transmitted. This is to provide plenty of 0/1 transitions to facilitate the clock recovery process in the PCM receivers. Thus, a silent A-law encoded PCM channel has the 8 bit samples coded 0x55 instead of 0x00 in the octets (or 0xD5 if the sign bit happens to be set), and a silent μ-law encoded PCM has 0xFF in the 8 bit samples.

Note that the ITU define bit 1 to have the value 128 and bit 8 to have the value 1, i.e. 'big-endian'.

The more widely accepted convention has bit 7 = 128 and bit 0 = 1, which is known as 'little-endian'.

Note that when data is sent over E0 (G.703), MSB (signbit) is sent first and LSB is sent last.

Features

* Sampling frequency 8 kHz
* 64 kbit/s bitrate (8 kHz sampling frequency x 8 bits per sample)
* Typical algorithmic delay is 0.125 ms, with no look-ahead delay
* G.711 is a waveform speech coder
* G.711 Appendix I defines a Packet Loss Concealment (PLC) algorithm to help hide transmission losses in a packetized network
* G.711 Appendix II defines a Discontinuous Transmission (DTX) algorithm which uses Voice Activity Detection (VAD) and Comfort Noise Generation (CNG) to reduce bandwidth usage during silence periods
* PSQM testing under ideal conditions yields Mean Opinion Scores of 4.45 for G.711 u-law, 4.45 for G.711 a-law
* PSQM testing under network stress yields Mean Opinion Scores of 4.13 for G.711 u-law, 4.11 for G.711 a-law

G.711.1

A recent extension to G.711, G.711.1, allows the addition of narrowband and/or wideband (16000 samples/s) enhancements, each at 25 % of the bitrate of the (included) base G.711 bitstream, leading to data rates of 64, 80 or 96 kbit/s.

References

* [http://www.itu.int/rec/dologin_pub.asp?lang=e&id=T-REC-G.711-198811-I!!PDF-E&type=items ITU-T Recommendation G.711] - (STD.ITU-T RECMN G.711-ENGL 1989)

See also

*G.718
*G.719
*G.722
*G.722.1
*G.722.2
*G.723
*G.723.1
*G.726
*G.728
*G.729
*G.729a
*List of codecs

External links

* [http://www.itu.int/rec/recommendation.asp?type=folders&lang=e&parent=T-REC-G.711 ITU-T G.711 page]
* [http://www.codeproject.com/csharp/g711audio.asp Code Project C# implementation of G.711 with source code]


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • 711-я пехотная дивизия (Германия) — 711 я пехотная дивизия …   Википедия

  • 711 Miette Ave — (Джаспер,Канада) Категория отеля: Адрес: Box 1612, T0E 1E0 Джаспер, Канада …   Каталог отелей

  • 711 Marmulla — Name Name Marmulla Designations 1911 LN; 1927 AB Discovery Discoverer J. Palisa Discovery date March 1, 1911 Discovery site Vienna …   Wikipedia

  • 711 (disambiguation) — 711 may refer to:* the year 711 * 7 1 1, the telephone number of the Telecommunications Relay Service * 7 Eleven, the chain of convenience stores * #711, a comics superheroee also* 7 Eleven (disambiguation) …   Wikipedia

  • (711) Marmulla — Descubrimiento Descubridor Johann Palisa Fecha 1 de marzo de 1911 Nombre Provisional 1911 LN …   Wikipedia Español

  • 711 (Quality Comics) — Superherobox caption = character name =#711 publisher =Quality Comics debut = Police Comics #1 (August 1941) creators =George Brenner alter ego =Daniel Dyce full name = species = homeworld = alliances = aliases =Jacob Horn supports= powers =… …   Wikipedia

  • 711 год — Годы 707 · 708 · 709 · 710 711 712 · 713 · 714 · 715 Десятилетия 690 е · 700 е 710 е 720 е · 730 е …   Википедия

  • 711 Squadron (Portugal) — Infobox Military Unit unit name= Esquadra 711 (711 Squadron) caption= dates= October 19, 1993 country= flag|Portugal branch= Air Force type= role= Search and rescue size= garrison=Air Base 4 garrison label=Home Base nickname=Albatrozes… …   Wikipedia

  • 711 — Années : 708 709 710  711  712 713 714 Décennies : 680 690 700  710  720 730 740 Siècles : VIIe siècle  VIIIe sièc …   Wikipédia en Français

  • 711 — Portal Geschichte | Portal Biografien | Aktuelle Ereignisse | Jahreskalender ◄ | 7. Jahrhundert | 8. Jahrhundert | 9. Jahrhundert | ► ◄ | 680er | 690er | 700er | 710er | 720er | 730er | 740er | ► ◄◄ | ◄ | 707 | 708 | 709 | …   Deutsch Wikipedia

  • -711 — Cette page concerne l année 711 du calendrier julien proleptique. Années : 714 713 712   711  710 709 708 Décennies : 740 730 720   710  700 690 680 Siècles : IX …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”