[Master Index] [Index for /tools/hpmatlab/toolbox/matlab/sounds]

mu2lin

(/tools/hpmatlab/toolbox/matlab/sounds/mu2lin.m)


Function Synopsis

y = mu2lin(mu)

Help text

MU2LIN	Mu-law to linear conversion.
	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 LIN2MU, AUREAD.

Cross-Reference Information

This function calls
This function is called by

Produced by mat2html on Wed Feb 8 12:25:18 EST 1995
Cross-Directory links are: ON