App下载 微信公众号

音频压缩算法ALaw,uLaw

技术 · 移动开发 · Android/ 作者【吾非言】/ 发布于2022-12-19/ 659次浏览
2022 12/19 9:52
摘要: 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.

A-Law
A-Law的编码公式如下:

图片描述

其中x为输入,F(x)为编码结果,A为压缩参数一般取值为87.6 .

A-Law解码公式,也就上述函数的反函数如下:

图片描述

其中y为上述函数的结果编码.

u-Law详解

uLaw的编解码公式分别如下:

图片描述

图片描述

其中u通常取值255.

相关参考:
https://codeantenna.com/a/4LHAhZdCMD
https://www.21ic.com/evm/audiolist/201705/721797.htm

感谢您使用伴职平台,如有侵权,请投诉删除!

全部评价

最新
查看更多评论 加载

猜你喜欢

换一批