🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.dsp
Article #638

Re: mu-law encoding - definition?

#638
From: Ron Zuckerman
Date: Sun, 23 Aug 1992 00:18
31 lines
1736 bytes
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                      |
------------------------------------------------------------------
Technical Details
Message-ID: <1992Aug23.001813.20623@lmpsbbs.comm.mot.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!ftpbox!motsrd!mothost!lmpsbbs!isu6!ronzu
References: <1992Aug22.190716.2600@athena.mit.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.dsp
Path: arc1-ca.pugleaf.net!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