[Sc-devel] ugen - isNaN

James Harkins jamshark70 at gmail.com
Thu May 31 23:13:54 PDT 2007


Quite simple -- if the ugen outputs 0 == false and 1 == true, just do  
(1 - CheckBadValues.ar(signal)).

Otherwise, BinaryOpUGen.ar('==', CheckBadValues.ar(signal), 0) should  
do the trick.

hjh

On May 30, 2007, at 8:51 PM, paul wrote:

> That would be really useful.
> Would there be a way to output 0 when a bad value is found to stop  
> blowups? (forgive my ignorance if this is a stupid question!)
> Thanks.
> Paul


: H. James Harkins
: jamshark70 at dewdrop-world.net
: http://www.dewdrop-world.net
.::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..:

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.create.ucsb.edu/pipermail/sc-devel/attachments/20070531/7520c3c2/attachment.htm


More information about the Sc-devel mailing list