how does the a-law algorithm look like? What's the difference to the mu-law algorithm? --Abdull 17:08, 4 Apr 2005 (UTC)
equation
This needs finishing:
A-law expansion is then given by the inverse equation:
It's not quite right. Check the external links and such. - Omegatron 15:12, May 24, 2005 (UTC)
retransformation wrong ?
I know these formulas are in many documents but I'm afraid the 2nd is wrong.
I tried to build a VoIP (SIP) phone with A-Law audio codec. And I was very
surprised because the decoded A-Law stream was very silent. I used exactly
these formulas. And I think there is a mistake. Assume x = 1 then:
But the retransformation gives
I think the A must be the denominator in both cases: