Jump to content

Talk:A-law algorithm

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 134.109.192.216 (talk) at 15:47, 8 September 2005 (retransformation wrong ?). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

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:

i.e.


Joerg Anders (GERMANY)