home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / dsp / 1991 < prev    next >
Encoding:
Text File  |  1992-08-22  |  1.7 KB  |  46 lines

  1. Newsgroups: comp.dsp
  2. Path: sparky!uunet!ftpbox!motsrd!mothost!lmpsbbs!isu6!ronzu
  3. From: ronzu@comm.mot.com (Ron Zuckerman)
  4. Subject: Re: mu-law encoding - definition?
  5. Reply-To: ronzu@comm.mot.com
  6. Organization: Motorola
  7. Date: Sun, 23 Aug 1992 00:18:13 GMT
  8. Message-ID: <1992Aug23.001813.20623@lmpsbbs.comm.mot.com>
  9. References: <1992Aug22.190716.2600@athena.mit.edu>
  10. Sender: news@lmpsbbs.comm.mot.com (Net News)
  11. Nntp-Posting-Host: 145.12.232.8
  12. Lines: 32
  13.  
  14. In article 2600@athena.mit.edu, parasite@athena.mit.edu (Vince) writes:
  15. >
  16. >Does anyone out there know the definitions of the 
  17. >encoding algorithm and wish to tell me what it is?
  18. >If it makes a difference, this data was taken off 
  19. >of the audio port of a Sun Sparcstation (/dev/audio).
  20. >
  21.  
  22. If you have the directory "/usr/demo/SOUND", you already have
  23. the means to convert mu-law to linear and vise-versa.  If your
  24. manipulating data using a C program, you'll need to include the
  25. following:
  26.  
  27. #include <multimedia/ulaw2linear.h>
  28.  
  29. For a description of the conversion functions, execute:
  30.  
  31. man -M /usr/demo/SOUND audio_ulaw2linear
  32.  
  33. To compile, you'll need to add /usr/demo/SOUND to your include
  34. path.  To link, you'll need link in /usr/demo/SOUND/libaudio.a
  35.  
  36. Hope this helps.
  37. ---
  38. ------------------------------------------------------------------
  39. | Ron Zuckerman          E-mail: ronzu@isu.comm.mot.com          |
  40. | Phone: (708)538-3134   FAX: (708)538-2818                      |
  41. ------------------------------------------------------------------
  42. | "A madman got us into this, and it's beginning to look as if   |
  43. |  only a madman can get us out." -- Chekov                      |
  44. ------------------------------------------------------------------
  45.  
  46.