diff scripts/audio/mu2lin.m @ 2325:b5568c31ee2c

[project @ 1996-07-15 22:20:21 by jwe]
author jwe
date Mon, 15 Jul 1996 22:20:21 +0000
parents 5ca126254d15
children 8b262e771614
line wrap: on
line diff
--- a/scripts/audio/mu2lin.m
+++ b/scripts/audio/mu2lin.m
@@ -21,7 +21,7 @@
 ##
 ## If x is a vector of audio data with mu-law encoding, mu2lin (x)
 ## holds the same data with linear encoding.
-## The optional argument bit specifies whether the input data is 
+## The optional argument bit specifies whether the input data is
 ## 8 bit (default) or 16 bit.
 
 ## Author: AW <Andreas.Weingessel@ci.tuwien.ac.at>
@@ -29,7 +29,7 @@
 ## Adapted-By: jwe
 
 function y = mu2lin (x, bit)
-  
+
   if (nargin == 1)
     bit = 8;
   elseif (nargin == 2)
@@ -43,7 +43,7 @@
   if (! is_vector (x))
     error ("mu2lin: x must be a vector");
   endif
-  
+
   exp_lut = [0; 132; 396; 924; 1980; 4092; 8316; 16764];
 
   ## invert x bitwise