well, there is pd's PD_BADFLOAT macro that _should_ to that, too, but this has only effect if the nubers are already denormal, so maybe it's a good idea to reset the value to flush every number a 24 / 32 bit dac would consider to be zero to zero...
Can you tell me a bit more about this? How and where should I start with that?
i changed the PD_BADFLOAT macro to detect small, almost denormal numbers (devel_0_37 branch). i had 3 evenings of several hours of performance without cpu spikes ... and i'd be interested if it works ok for you...
cheers...
Tim mailto:TimBlechmann@gmx.de ICQ: 96771783 -- The only people for me are the mad ones, the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn, like fabulous yellow roman candles exploding like spiders across the stars and in the middle you see the blue centerlight pop and everybody goes "Awww!" Jack Kerouac