mu2lin
Convert mu-law audio signal to linear
Syntax
y = mu2lin(mu)
Description
y = mu2lin(mu)
converts mu
,
a mu-law encoded 8-bit audio signal with amplitudes in the range [0,255]
,
to a linear audio signal with amplitudes in the range
[-
, where
s
,s
]
. The input argument
s
= 8031/8192 ≅ 0.9803mu
is often obtained using fread(...,"uchar")
to
read byte-encoded audio files.
Version History
Introduced before R2006a