MATLAB 帮助中心
将 mu-law 音频信号转换为线性格式
y = mu2lin(mu)
y = mu2lin(mu) 将 mu(振幅在 [0,255] 范围内的 mu-law 编码的 8 位音频信号)转换为振幅在 [-s,s] 范围内的线性音频信号,其中 s = 8031/8192 ≅ 0.9803。mu 输入参量通常是使用 fread(...,"uchar") 读取字节编码的音频文件而获得的。
mu
[0,255]
[-s,s]
s
s = 8031/8192 ≅ 0.9803
fread(...,"uchar")
在 R2006a 之前推出
audioread | lin2mu
audioread
lin2mu
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
选择网站
选择网站以获取翻译的可用内容,以及查看当地活动和优惠。根据您的位置,我们建议您选择:。
您也可以从以下列表中选择网站:
如何获得最佳网站性能
选择中国网站(中文或英文)以获得最佳网站性能。其他 MathWorks 国家/地区网站并未针对您所在位置的访问进行优化。
美洲
欧洲
亚太
联系您当地的办事处