帮助中心帮助中心
将 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
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office