🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.dsp
Article #245

converting to/from compressed form

#245
From: rusty
Date: Fri, 22 Sep 1989 00:17
18 lines
1190 bytes
We have a Sun Sparcstation 1.  The chip inside that it uses for D/A
and A/D is the AM79C30 Digital Subscriber Controller.  The chip uses a
sampling rate of 8192 samples per second, with each sample being
8-bits.  The chip uses either u-law or A-law compression.  I would
like to take uncompressed digital sound samples, say generated by a
software synthesis program (computer music for example), and feed it
to this chip.

Does anybody have any code or know where I can get my hands on some
that would convert "normal" (uncompressed) 16 bit digital audio into
the 8 bit u-law (or A-law) compressed form that the AM79C30 uses?  Or
point me at some references (that I could try and puzzle over; my math
is zip)?
--

--------------------------------------
	rusty c. wright
	rusty@violet.berkeley.edu ucbvax!violet!rusty
Technical Details
Message-ID: <RUSTY.89Sep21171741@garnet.berkeley.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!rusty

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!rusty
From: rusty@garnet.berkeley.edu
Newsgroups: comp.dsp
Subject: converting to/from compressed form
Message-ID: <RUSTY.89Sep21171741@garnet.berkeley.edu>
Date: 22 Sep 89 00:17:41 GMT
Sender: usenet@ucbvax.BERKELEY.EDU
Organization: /garnet_h/rusty/.organization
Lines: 18