On 8/7/07, <b class="gmail_sendername">Ge Wang</b> <<a href="mailto:gewang@cs.princeton.edu">gewang@cs.princeton.edu</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Kassen!</blockquote><div><br>Hi Ge, long time no read, hope you are well!<br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
I wasn't able to reproduce the denormalization symptoms even with a<br>much smaller feedback gain (.1 and .001), and looking through the<br>code for Delay and Envelope didn't raise any immediate red (or<br>orange) flags.
</blockquote><div><br>That's odd, I was able to spike the CPU, then take it out again with a HID command so I would be very surprised if that CPU spike came from anything else. Also; I didn't see any spikes at all untill I added this delay/ envelope combo to my code.
<br><br>Perhaps my Pentium4 deals with this matter differently then your Mac? This would be a issue where CPU architecture matters quite a bit, I imagine.<br><br> </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
However, the gain on the Envelope itself is an<br>unchecked multiplicant. I've added the check to de-denormalize on<br>that gain, which means it should affect all UGen.gain. Hopefully<br>this will keep things under control. The fixed version is in CVS.
</blockquote><div><br>Ok. Then I'll keep this code like this and get into the habbit of manually switching off the feedback every once in a while and see wether the update fixes this.<br><br>BTW, I don't think I saw a reply from you on those issues (from a while back) with array instantiations and larger arays of Ugens in classes yet, did you perhaps find some time to look into those as well?
<br><br>Thanks,<br>Kas.<br> </div><br></div><br>