[PD] Problems stopping strange signal path

Claude Heiland-Allen claudiusmaximus at goto10.org
Fri Jan 5 03:49:22 CET 2007


Vreahli the Audio Bandit wrote:
> Hiya - I'm having some issues with this patch I've been working on. I 
> just baked up some fancy bit crushing using expr~ and I'd like to turn 
> it off. On the linear version on the right it stops just fine,
> however on the left the noise continues to flow out.

What is happening, is that you are getting some "inf" or "nan" output 
from this:

> #X obj 44 320 expr~ pow((int(pow(($v1*$i2) \, 3))) \, -3);

and "inf" or "nan" multiplied by 0 is "nan".

"nan" <-> 0 transitions appear to be audible from [dac~], which may or 
may not be a bug.  (tested with JACK and OSS on Linux with Pd-0.39-2 and 
Pd-0.40-1, both from Miller's site).

See attached patch for an example.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nan-noise.pd
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20070105/0b602079/attachment.txt>

More information about the Pd-list mailing list