🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: sci.electronics.design
Article #2429

Re: DSP for audio work

#2429
From: robert bristow-johnson
Date: Mon, 25 Mar 2002 15:59
104 lines
5571 bytes
In article 3c9f0b75.31395314@news.optusnet.com.au, Johnny at
john_wr100@yahoo.com wrote on 03/25/2002 06:50:

> On 24 Mar 2002 22:13:10 -0800, robert@wavemechanics.com (robert
> bristow-johnson) wrote:
> 
>> Al Clark <dsp@danvillesignal.com> wrote in message
>> news:<Xns91DB81B2F6D2aclarkdanvillesignal@209.249.90.101>...
>>> john_wr100@yahoo.com (Johnny) wrote in news:3c9db1ea.6888487
>>> @news.optusnet.com.au:
>>> 
>>>> On Sun, 24 Mar 2002 10:18:32 GMT, john_wr100@yahoo.com (Johnny) wrote:
>>>> 
>>>> I am planning on doing some experimentation with digital fitlers. I
>>>> want to make an active crossover for my audio system. I was looking at
>>>> one of the following kits:
>>>> 
>>>> Motorola DSP5636X Evaluation module.
>>>> or
>>>> Analog devices ADSP-21065L Ez-Kit lite
>>>> 
>>>> I probably need about 80 Million multiply/accumate per second and at
>>>> least 24bit fixed point. Faster is better though.
>>>> 
>>>> I dont mind programming in Assembly or C language.  I figure that
>>>> assembly is probably fine because my code should be pretty simple just
>>>> to implement FIR filters and  I/O functions.  I was kind of scared by
>>>> roughly 1000 pages of documentation for the motorola development
>>>> system and DSP programmers guide.
> 
> 
>> in either case, i would perform any FIR kernals in fixed-point.
> 
> Yes..  It seems like the Motorola is well suited to FIR audio filters
> with 24bit fixed point maths and 56bit accumulator.  (IIRC)

the SHArC also can do fixed-point (32x32 into an 80-bit accumulator).
that's what i meant be "either case".

> I also Think that 24bit is plenty good enough for audio.  But 32bit
> bit floating point is a lot like 24bit fixed point with an 8-bit
> exponent term.

well, it's *exactly* like a 25 bit fixed-point (there's a "hidden 1 bit")
with an 8 bit exponent.

>  Not sure how bit the SHARC accumulator is,

the fixed-point accumulator is 80 bits wide so you have no rounding error
until you cast your FIR result back to a smaller word size.  the
floating-point registers have 40 bits (so there are 8 "guard bits" below the
LSB to help reduce accumulated quantization error), but as my SHArC bitch
says, don't use the same floating-point register be used for both interrupt
handlers and for FIR accumulation lest you spuriously lose those 8 guard
bits in the middle of an FIR accumlation.  (probably a similar problem for
IIR, Direct Form 1, also.)

> but I  will
> check it out..The SHARC processors are a lot faster than the Motorola
> 56300 series.

yeah, i know.  and with the ADSP-21065L series (or whatever is newer) it's
pretty clear that Mot has not been keeping up.  it's sad because, as Al
said, Mot used to own the audio market.

>  So its not a problem for me that they do 32bit maths
> insted of 24bit.
> 
> The problem I normally have with Motorola processors is that they
> normally have 3rd party development tools which are far too expensive
> for the hobbiest.

what 3rd party tool do you need??  the assembler comes with the EVM, right?
i thought you were comfortable with asm.  the Tasking C compiler *is* very
costly but i don't know anyone who has it so i'm not sure how much it is
needed.

>  Based on past experience with Motorola embedded
> processors, the Evaluation boards are normally also super pricey.

never bought anything newer than the DSP56002EVM, that was US$150 in 1996.
i heard that the newer ones based on the 563xx something with stereo codecs
were around $200 in the U.S.  that might not be current.

>  To
> be honest, i have been too scared to even call the local Motorola
> distributer as they don't have a reputation for good pricing either.
> Maybe the 56000 dsps are an exception to the Motorola norm and worth
> checking out.

dunno.  you're in Australia, correct?  things might cost more down there.

-- 

r b-j

Wave Mechanics, Inc.
45 Kilburn St.
Burlington        VT  05401-4750

tel: 802/951-9700  ext. 207          http://www.wavemechanics.com/
fax: 802/951-9799                    robert@wavemechanics.com

--
Technical Details
Message-ID: <B8C4B37E.3336%robert@wavemechanics.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc03.gnilink.net.POSTED!53ab2750!not-for-mail
References: <3c9da171.2670537@news.optusnet.com.au> <3c9db1ea.6888487@news.optusnet.com.au> <Xns91DB81B2F6D2aclarkdanvillesignal@209.249.90.101> <71f9eeeb.0203242213.38c15576@posting.google.com><3c9f0b75.31395314@news.optusnet.com.au>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 112d1e,d43e8f202cc9402f
X-Google-Attributes: gid112d1e,public
X-Google-Thread: f8fcc,ad386b215662caf0
X-Google-Attributes: gidf8fcc,public
X-Google-Thread: 103407,d43e8f202cc9402f
X-Google-Attributes: gid103407,public
X-Google-ArrivalTime: 2002-03-25 07:59:20 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed1.cidera.com!Cidera!cyclone1.gnilink.net!spamfinder.gnilink.net!nwrddc03.gnilink.net.POSTED!53ab2750!not-for-mail
User-Agent: Microsoft Outlook Express Macintosh Edition - 5.01 (1630)
Subject: Re: DSP for audio work
From: robert bristow-johnson <robert@wavemechanics.com>
Newsgroups: sci.electronics.design,aus.electronics,comp.dsp
Message-ID: <B8C4B37E.3336%robert@wavemechanics.com>
References: <3c9da171.2670537@news.optusnet.com.au> <3c9db1ea.6888487@news.optusnet.com.au> <Xns91DB81B2F6D2aclarkdanvillesignal@209.249.90.101> <71f9eeeb.0203242213.38c15576@posting.google.com><3c9f0b75.31395314@news.optusnet.com.au>
Mime-version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-transfer-encoding: 7bit
Lines: 105
Date: Mon, 25 Mar 2002 15:59:19 GMT
NNTP-Posting-Host: 64.222.82.246
X-Complaints-To: abuse@verizon.net
X-Trace: nwrddc03.gnilink.net 1017071959 64.222.82.246 (Mon, 25 Mar 2002 10:59:19 EST)
NNTP-Posting-Date: Mon, 25 Mar 2002 10:59:19 EST