Main Content

lin2mu

Convert linear audio signal to mu-law

Syntax

mu = lin2mu(y)

Description

mu = lin2mu(y) converts y, a linear audio signal with amplitudes in the range [-1,1], to a mu-law encoded 8-bit audio signal with amplitudes in the range [0,255].

Version History

Introduced before R2006a

See Also