MATLAB Function Reference
  Go to function:
    Search    Help Desk 
mu2lin    See Also

Mu-law to linear conversion

Syntax

Description

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's integers - floating-point numbers whose values are integers.

See Also

auread      Read NeXT/SUN (.au) sound file

lin2mu      Linear to mu-law conversion



[ Previous | Help Desk | Next ]