Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

mu2lin

Convert audio data from mu-law to linear signal.

Syntax

  • y = mu2lin(mu)

Input argument

  • mu - mu-law encoded 8-bit audio signals, with 0 ≤ mu ≤ 255.

Output argument

  • y - linear signal.

Description

y = mu2lin(mu) converts audio data from mu-law to linear.

Bibliography

"A New Digital Technique for Implementation of Any Continuous PCM Companding Law," Villeret, Michel, et al. 1973 IEEE Int. Conf. on Communications, Vol 1, 1973, pg. 11.12-11.17.

Example

l = mu2lin([0:20:255])

See also

audioplayer, lin2mu.

History

VersionDescription
1.0.0initial version

Author

Allan CORNET