[chuck-users] Bug; Delay floating point denormalisation

Ge Wang gewang at CS.Princeton.EDU
Tue Aug 7 02:28:36 EDT 2007

Hi Kassen!

> "Delay" definately has a floatingpoint denormalisation issue (well,  
> either Delay or Envelope).
> My feedbackloop went something like this;
> soundsource => Delay del => dac;
> del => Envelope feedback => del:
> .9 => feedback.gain;

I wasn't able to reproduce the denormalization symptoms even with a  
much smaller feedback gain (.1 and .001), and looking through the  
code for Delay and Envelope didn't raise any immediate red (or  
orange) flags.  However, the gain on the Envelope itself is an  
unchecked multiplicant.  I've added the check to de-denormalize on  
that gain, which means it should affect all UGen.gain.  Hopefully  
this will keep things under control.  The fixed version is in CVS.

Rock on.


More information about the chuck-users mailing list