[PD] removing NaN

Damian Stewart damian at frey.co.nz
Mon Sep 29 15:21:54 CEST 2008


Damian Stewart wrote:
> David Brynjar Franzson wrote:
>> the expr works fine with expr (isnan($f1), 0, $f1). The route f method
>> doesn't work since NaN is treated as a valid floating point "number".
> 
> on pd-0.40-3-extended (osx intel) trying to use this i get :
> 
> expr: syntax error: illegal comma

... which is because it needs to be expr ( if(isnan($f1), 0, $f1) )

-- 
damian stewart | skype: damiansnz | damian at frey.co.nz
frey | live art with machines | http://www.frey.co.nz




More information about the Pd-list mailing list