A-law algorithm

An A-law algorithm is a standard companding algorithm, used in European 8-bit PCM digital communications systems to optimize, i.e. modify, the dynamic range of an analog signal for digitizing. It is one of two versions of the G.711 standard from ITU-T, the other version being the similar μ-law, used in North America and Japan.

Graph of μ-law & A-law algorithms
Plot of F(x) for A-Law for A = 87.6

For a given input x, the equation for A-law encoding is as follows,

where A is the compression parameter. In Europe, .

A-law expansion is given by the inverse function,

The reason for this encoding is that the wide dynamic range of speech does not lend itself well to efficient linear digital encoding. A-law encoding effectively reduces the dynamic range of the signal, thereby increasing the coding efficiency and resulting in a signal-to-distortion ratio that is superior to that obtained by linear encoding for a given number of bits.

Comparison to μ-law

The μ-law algorithm provides a slightly larger dynamic range than the A-law at the cost of worse proportional distortion for small signals. By convention, A-law is used for an international connection if at least one country uses it.

gollark: The Panic-inducing Horrible Painful Helpmeplease Personal Home Page Hypertext Preprocessor is not okay.
gollark: Badly.
gollark: How spektakular.
gollark: SwitChcraft1.
gollark: The internet inevitably made it "you wouldn't download a car".

See also

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.