This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.


Convert mu-law audio signal to linear


y = mu2lin(mu)


y = mu2lin(mu) converts mu-law encoded 8-bit audio signals, stored as "flints" in the range 0 ≤ mu ≤ 255, to linear signal amplitude in the range -s < Y < s where s = 32124/32768 ~= .9803. The input mu is often obtained using fread(...,'uchar') to read byte-encoded audio files. "Flints" are MATLAB® integers — floating-point numbers whose values are integers.

See Also


Introduced before R2006a

Was this topic helpful?