mu2lin
Convert mu-law audio signal to linear
Syntax
y = mu2lin(mu)
Description
y = mu2lin(mu)
convertsmu-law encoded 8-bit audio signals, stored as “flints” in the range0
≤mu
≤255
, to linear signal amplitude in the range-s < Y < s
wheres = 32124/32768 ~= .9803
. The inputmu
is often obtained usingfread(...,'uchar')
to read byte-encoded audio files. "Flints" are MATLAB®integers — floating-point numbers whose values are integers.