home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.dsp
- Path: sparky!uunet!ftpbox!motsrd!mothost!lmpsbbs!isu6!ronzu
- From: ronzu@comm.mot.com (Ron Zuckerman)
- Subject: Re: mu-law encoding - definition?
- Reply-To: ronzu@comm.mot.com
- Organization: Motorola
- Date: Sun, 23 Aug 1992 00:18:13 GMT
- Message-ID: <1992Aug23.001813.20623@lmpsbbs.comm.mot.com>
- References: <1992Aug22.190716.2600@athena.mit.edu>
- Sender: news@lmpsbbs.comm.mot.com (Net News)
- Nntp-Posting-Host: 145.12.232.8
- Lines: 32
-
- In article 2600@athena.mit.edu, parasite@athena.mit.edu (Vince) writes:
- >
- >Does anyone out there know the definitions of the
- >encoding algorithm and wish to tell me what it is?
- >If it makes a difference, this data was taken off
- >of the audio port of a Sun Sparcstation (/dev/audio).
- >
-
- If you have the directory "/usr/demo/SOUND", you already have
- the means to convert mu-law to linear and vise-versa. If your
- manipulating data using a C program, you'll need to include the
- following:
-
- #include <multimedia/ulaw2linear.h>
-
- For a description of the conversion functions, execute:
-
- man -M /usr/demo/SOUND audio_ulaw2linear
-
- To compile, you'll need to add /usr/demo/SOUND to your include
- path. To link, you'll need link in /usr/demo/SOUND/libaudio.a
-
- Hope this helps.
- ---
- ------------------------------------------------------------------
- | Ron Zuckerman E-mail: ronzu@isu.comm.mot.com |
- | Phone: (708)538-3134 FAX: (708)538-2818 |
- ------------------------------------------------------------------
- | "A madman got us into this, and it's beginning to look as if |
- | only a madman can get us out." -- Chekov |
- ------------------------------------------------------------------
-
-