home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / music / 5260 < prev    next >
Encoding:
Text File  |  1992-11-17  |  2.3 KB  |  67 lines

  1. Newsgroups: comp.music
  2. Path: sparky!uunet!wri!dragonfly.wri.com!arunc
  3. From: arunc@dragonfly.wri.com (Arun Chandra)
  4. Subject: Re: What is mulaw format?
  5. Message-ID: <1992Nov17.212016.17569@wri.com>
  6. Keywords: audio format files
  7. Sender: news@wri.com
  8. Nntp-Posting-Host: dragonfly.wri.com
  9. Organization: Wolfram Research, Inc.
  10. References: <1221@zogwarg.etl.army.mil> <pwilson.721604483@charm.gandalf.ca> <1230@zogwarg.etl.army.mil>
  11. Distribution: na
  12. Date: Tue, 17 Nov 1992 21:20:16 GMT
  13. Lines: 52
  14.  
  15. In article <1230@zogwarg.etl.army.mil> mike@zogwarg.etl.army.mil (Mike McDonnell) writes:
  16. >
  17. >Okay, I knew mu-law and a-law were logarithmic, but I still don't know
  18. >what they >>ARE<<.  I would like precise engineering definitions, not
  19. >generalities.  In particular, enough information to be able to write
  20. >my own encoders and decoders.  A reference would do.
  21.  
  22. here's the answer given in comp.dsp.faq:
  23.  
  24. -------------------------------------------------------
  25.  
  26.  
  27. Q2.6: What is mu-law encoding?  Where can I get source for it?
  28.  
  29. Mu-law (also "u-law") encoding is a form of logarithmic quantization or
  30. companding.  It's based on the observation that many signals are
  31. statistically more likely to be near a low signal level than a high
  32. signal level.  Therefore, it makes more sense to have more quantization
  33. points near a low level than a high level.  In a typical mu-law system,
  34. linear samples of 14 to 16 bits are companded to 8 bits.  Most
  35. telephone quality codecs (including the Sparcstation's audio codec) use
  36. mu-law encoded samples.
  37.  
  38. Desktop Sparc machines come with routines to convert between linear and
  39. mu-law samples.  On a desktop Sparc, see the man page for
  40. audio_ulaw2linear in /usr/demo/SOUND/man.
  41.  
  42. Craig Reese posted the source of similar routines to comp.dsp in August '92.
  43.  
  44. References:
  45.  
  46. CCITT Recommendation G.711 (very difficult to follow).
  47.  
  48. Michael Villeret, et. al, "A New Digital Technique for Implementation
  49. of Any Continuous PCM Companding Law,", IEEE Int. Conf. on Communications,
  50. 1973, vol. 1, pp. 11.12-11.17.
  51.  
  52. MIL-STD-188-113, "Interoperability and Performance Standards
  53. for Analog-to-Digital Conversion Techniques," 17 February 1987.
  54.  
  55. "TI Digital Signal Processing Applications with the TMS320 Family",
  56. pp. 169-198.
  57.  
  58. [From Joe Campbell; Craig Reese, cfreese@super.org; Sepehr Mehrabanzad,
  59. sepehr@falstaff.dev.cdx.mot.com]
  60.  
  61.  
  62.  
  63.  
  64. --
  65. Arun Chandra
  66. arunc@wri.com
  67.