[PD] [PD-dev] denormals: svf, freeverb (was Re: bug in freeverb???)

Ed Kelly morph_2016 at yahoo.co.uk
Sat Aug 15 15:48:53 CEST 2009


Hi Damon,

I have tried to implement this technique, to fix the svf~ and I am still getting denormal errors pegging the CPU. Is there anything I have missed do you think? After reading a little bit about unions and uint32_t I think I've used them correctly...

If this bug can be zapped for good then I'd like to eliminate denormal errors from the svn for good!

Best,
Ed

--- On Fri, 14/8/09, Damon Chaplin <damon at karuna.eclipse.co..uk> wrote:

> From: Damon Chaplin <damon at karuna.eclipse.co.uk>
> Subject: Re: [PD-dev] denormals: svf, freeverb (was Re: [PD] bug in freeverb???)
> To: "Ed Kelly" <morph_2016 at yahoo.co.uk>
> Cc: "PD List" <pd-list at iem.at>, "pddev" <pd-dev at iem.at>
> Date: Friday, 14 August, 2009, 1:51 PM
> 
> On Fri, 2009-08-14 at 13:06 +0100, Damon Chaplin wrote:
> > On Fri, 2009-08-14 at 13:03 +0100, Damon Chaplin
> wrote:
> > 
> > >   if (u.int_value &
> 0x7f800000)
> > >      fv = 0.0f;
> > 
> > Oops. That should be:
> > 
> >  if (u.int_value & 0x7f800000 == 0)
> >      fv = 0.0f;
> 
> Or even better:
> 
>  if ((u.int_value & 0x7f800000) == 0)
>     fv = 0.0f;
> 
> Damon
> 
> 
>


      
-------------- next part --------------
A non-text attachment was scrubbed...
Name: svftest.tgz
Type: application/x-gtar
Size: 4912 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090815/2112bcd8/attachment.tgz>


More information about the Pd-list mailing list