Main Content

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 range0mu255, to linear signal amplitude in the range-s < Y < swheres = 32124/32768 ~= .9803. The inputmuis often obtained usingfread(...,'uchar')to read byte-encoded audio files. "Flints" are MATLAB®integers — floating-point numbers whose values are integers.

Version History

Introduced before R2006a

See Also

|