🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.dsp
Article #14

Re: How to modify floating-point algorithm to fixed-point?

#14
From: noam.levine
Date: Wed, 28 Oct 1992 14:40
40 lines
2540 bytes
In article <1992Oct27.180855.8049@u.washington.edu> yuhong@u.washington.edu writes:
>I am currently working on coding MPEG audio algorithm on a fixed-point 
>DSP chip.  The original MPEG audio algorithm described in the Committee 
>Draft is a floating-point algorithm.  A lot of constant coefficients 
>are double precision numbers.  And in the psychoacoustic part of the 
>algorithm, the computation of logarithmic and exponential functions (base 10) 
>are required.  Can anybody tell me how to modify the MPEG audio algorithm 
>in order to fit into a fixed-point processor?  How to realize logarithmic 
>and exponential function on a fixed-point processor?  Or the general way 
>to convert a floating-point algorithm to fixed-point one.  Any information
>is appreciated.
>
>Thanks in advance.
>
>-Yuhong
>yuhong@u.washington.edu
> 

Xing Technology Corporation of Arroyo Grande, CA, has ported the decompression
side of the MPEG audio standard to the ADSP-2105 fixed-point DSP processor.
They can be reached at: P.O. Box 950, 456 Carpenter Canyon, Arroyo Grande, CA
93420. Tel: (805) 473-0145. They may be able to provide some insight into
the workings of the MPEG algorithm.

The audio encoder side is a little trickier, but if your application does not
require real-time compression, a fixed-point DSP with the appropriate hooks
for handling double precision math and two-word floating-point data
(such as the ADSP-2100 family) could probably be used with little or no
modifications to the algorithm. The logarithmic and exponential functions
can be calculated by use of Taylor-series expansions, or, if speed is
a requirement, stored in a table. 


-------------------------------------------------------------------------------
Noam Levine                                       email: noam.levine@analog.com
Analog Devices                                    tel: 617.461.3672
DSP Applications                                  fax: 617.461.3010
3 Technology Way, P.O. Box 9106
Norwood, MA  02062-9106
-------------------------------------------------------------------------------
Technical Details
Message-ID: <1992Oct28.144001.3762@analog.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!analog.com!levine
References: <1992Oct27.180855.8049@u.washington.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.dsp
Path: arc1-ca.pugleaf.net!sparky!uunet!noc.near.net!analog.com!levine
From: noam.levine@analog.com
Subject: Re: How to modify floating-point algorithm to fixed-point?
Message-ID: <1992Oct28.144001.3762@analog.com>
Originator: levine@bambam
Sender: usenet@analog.com
Organization: Analog Devices, Inc.
References: <1992Oct27.180855.8049@u.washington.edu>
Date: Wed, 28 Oct 1992 14:40:01 GMT
Lines: 43