home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / compress / 3829 < prev    next >
Encoding:
Text File  |  1992-11-14  |  1.7 KB  |  42 lines

  1. Newsgroups: comp.compression
  2. Path: sparky!uunet!snorkelwacker.mit.edu!ira.uka.de!fauern!fauna!mskuhn
  3. From: mskuhn@immd4.informatik.uni-erlangen.de (Markus Kuhn)
  4. Subject: Re: U-Law Encoding....HELP!!!!
  5. References: <1992Nov10.163040.27563@rmece49.upr.clu.edu>
  6. Message-ID: <BxnoxF.C72@immd4.informatik.uni-erlangen.de>
  7. Reply-To: mskuhn@immd4.informatik.uni-erlangen.de
  8. Organization: CSD., University of Erlangen, Germany
  9. Date: Fri, 13 Nov 1992 13:17:38 GMT
  10. Lines: 30
  11.  
  12. julior@rmece02.upr.clu.edu (Julio A. Rodriguez) writes:
  13.  
  14. >    I've been working with the program PLAY and RECORD.  RECORD produces a
  15. >file with a .au extension and is supposse to use the U-LAW encoding method.
  16. >I need to decode this data to be able to process this information usign FFT.
  17. >If you got any ideas on how to do so please send me your ideas.  Thanks.
  18.  
  19. The mu-law coding method (it's the greek letter mu, not a U) is defined in
  20. CCITT recommendation G.711. You should find this in the CCITT Blue Book
  21. or CCITT Red Book (old version) in a good library or perhaps an unofficial 
  22. version in some ftp cites.
  23.  
  24. The mu-law encoding is just a table (defining a funktion) that transforms
  25. a linear 12-bit sample value in a 8-bit value. This is obviously a
  26. lossy 3:2 (= 1:(2/3)) compression method. The table comes from a
  27. logarithmic quantization function.
  28.  
  29. The decoder has a smaller table that gives a 12 bit value for every
  30. of the 256 possible 8-bit input value.
  31.  
  32. G.711 defines also the a-law coder.
  33.  
  34. Hope this helped.
  35.  
  36. Markus
  37.  
  38. -- 
  39. Markus Kuhn, Computer Science student -=-=- University of Erlangen, Germany
  40. Internet: mskuhn@immd4.informatik.uni-erlangen.de  |  X.500 entry available
  41. --- Wer, wie, was? Wieso, weshalb, warum? Wer nichts fragt bleibt dumm. ---
  42.