AnA-law algorithmis a standardcompandingalgorithm, used inEuropean8-bitPCMdigital communicationssystems to optimize, i.e. modify, thedynamic rangeof ananalog signalfor digitizing. It is one of the two companding algorithms in theG.711standard fromITU-T,the other being the similarμ-law,used in North America and Japan.

Comparison ofA-law(blue) andμ-law(red)compressionon an input signal (green). Both axis uselogarithmic scaleindecibels.
Plot ofF(x) for A-Law forA= 87.6

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

whereis the compression parameter. In Europe,.

A-law expansion is given by the inverse function:

The reason for this encoding is that the widedynamic rangeofspeechdoes not lend itself well to efficient linear digital encoding. A-law encoding effectively reduces the dynamic range of the signal, thereby increasing thecodingefficiency and resulting in a signal-to-distortionratio that is superior to that obtained by linear encoding for a given number of bits.

Comparison to μ-law

edit

Theμ-law algorithmprovides 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.

See also

edit
edit