Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

A-law algorithm

From Wikipedia, the free encyclopedia
Audio companding in communications
This article includes alist of references,related reading, orexternal links,but its sources remain unclear because it lacksinline citations. Please helpimprove this article byintroducing more precise citations.(February 2013) (Learn how and when to remove this message)
Comparison ofA-law (blue) andμ-law (red)compression on an input signal (green). Both axes uselogarithmic scale indecibels.
Plot ofF(x) for A-Law forA = 87.6

Problems playing these files? Seemedia help.

AnA-law algorithm is a standardcompanding algorithm, used inEuropean 8-bitPCMdigital communications systems to optimize, i.e. modify, thedynamic range of ananalog signal for digitizing. It is one of the two companding algorithms in theG.711 standard fromITU-T, the other being the similarμ-law, used in North America and Japan.

For a given inputx{\displaystyle x}, the equation for A-law encoding is as follows:F(x)=sgn(x){A|x|1+ln(A),|x|<1A,1+ln(A|x|)1+ln(A),1A|x|1,{\displaystyle F(x)=\operatorname {sgn}(x){\begin{cases}{\dfrac {A|x|}{1+\ln(A)}},&|x|<{\dfrac {1}{A}},\\[1ex]{\dfrac {1+\ln(A|x|)}{1+\ln(A)}},&{\dfrac {1}{A}}\leq |x|\leq 1,\end{cases}}}

whereA{\displaystyle A} is the compression parameter. In Europe,A=87.6{\displaystyle A=87.6}.

A-law expansion is given by the inverse function:F1(y)=sgn(y){|y|(1+ln(A))A,|y|<11+ln(A),e1+|y|(1+ln(A))A,11+ln(A)|y|<1.{\displaystyle F^{-1}(y)=\operatorname {sgn}(y){\begin{cases}{\dfrac {|y|(1+\ln(A))}{A}},&|y|<{\dfrac {1}{1+\ln(A)}},\\{\dfrac {e^{-1+|y|(1+\ln(A))}}{A}},&{\dfrac {1}{1+\ln(A)}}\leq |y|<1.\end{cases}}}

The reason for this encoding is that the widedynamic range ofspeech does not lend itself well to efficient linear digital encoding. A-law encoding effectively reduces the dynamic range of the signal, thereby increasing thecoding 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

[edit]

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.

See also

[edit]

External links

[edit]
Lossless
type
Entropy
Dictionary
Other
Hybrid
Lossy
type
Transform
Predictive
Audio
Concepts
Codec
parts
Image
Concepts
Methods
Video
Concepts
Codec
parts
Theory
Community
People
Retrieved from "https://en.wikipedia.org/w/index.php?title=A-law_algorithm&oldid=1322145586"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp