Re: [PD] removing NaN pure-pd

2008-10-29 Thread IOhannes m zmoelnig
Damian Stewart wrote: is there a pure Pd way to remove NaNs? i can't use expr with rjdj.. i thought expr is part of the RjDj distro... but then: you can test while i cannot. and this might be one of the later this week licensing things. fgmasdr IOhannes

Re: [PD] removing NaN pure-pd

2008-10-29 Thread Frank Barknecht
Hallo, IOhannes m zmoelnig hat gesagt: // IOhannes m zmoelnig wrote: Damian Stewart wrote: is there a pure Pd way to remove NaNs? i can't use expr with rjdj.. i thought expr is part of the RjDj distro... Only the BSD parts of Pd are included in RjDj at the moment, so you cannot use expr -

Re: [PD] removing NaN pure-pd

2008-10-29 Thread Damian Stewart
Frank Barknecht wrote: Hallo, IOhannes m zmoelnig hat gesagt: // IOhannes m zmoelnig wrote: Damian Stewart wrote: is there a pure Pd way to remove NaNs? i can't use expr with rjdj.. i thought expr is part of the RjDj distro... Only the BSD parts of Pd are included in RjDj at the moment,

Re: [PD] removing NaN pure-pd

2008-10-29 Thread Gunter Geiger
Damian Stewart wrote: Frank Barknecht wrote: Hallo, IOhannes m zmoelnig hat gesagt: // IOhannes m zmoelnig wrote: Damian Stewart wrote: is there a pure Pd way to remove NaNs? i can't use expr with rjdj.. i thought expr is part of the RjDj distro... Only

Re: [PD] removing NaN pure-pd

2008-10-29 Thread Andy Farnell
On Wed, 29 Oct 2008 17:55:00 +0100 Gunter Geiger [EMAIL PROTECTED] wrote: Only the BSD parts of Pd are included in RjDj at the moment, so you cannot use expr - which is tricky, as in fact there are several math functions missing now in RjDj's Pd, for example no [pow~] yet - but this will

Re: [PD] removing NaN pure-pd

2008-10-29 Thread Charles Henry
On Wed, Oct 29, 2008 at 11:55 AM, Gunter Geiger [EMAIL PROTECTED] wrote: Adding this functionality would be trivial, if you want you can add a ticket on track regarding the issue. In the long run the correct solution would be to try to figure out why there are NaN's ... and fix it there.

Re: [PD] removing NaN pure-pd

2008-10-29 Thread Charles Henry
My best guess is that NaN's come from underflow, under normal circumstances. I wish there would be an easy way to change this behavior via a compiler flag, but I don't think there is. It seems to be a more pervasive problem, and it's unreasonable to expect to add NaN handlers in application

Re: [PD] removing NaN pure-pd

2008-10-29 Thread Martin Peach
Charles Henry wrote: My best guess is that NaN's come from underflow, under normal circumstances. I wish there would be an easy way to change this behavior via a compiler flag, but I don't think there is. It seems to be a more pervasive problem, and it's unreasonable to expect to add

Re: [PD] removing NaN pure-pd

2008-10-27 Thread Damian Stewart
is there a pure Pd way to remove NaNs? i can't use expr with rjdj.. d -- damian stewart | skype: damiansnz | [EMAIL PROTECTED] frey | live art with machines | http://www.frey.co.nz ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -

Re: [PD] removing NaN

2008-09-29 Thread Damian Stewart
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 , 0 , $f1 error: expr:

Re: [PD] removing NaN

2008-09-29 Thread Damian Stewart
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

[PD] removing NaN

2008-09-13 Thread David Brynjar Franzson
Hi, is there any simple way to replace all NaN values with Zeros or to filter them out? thanks, David Brynjar ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

Re: [PD] removing NaN

2008-09-13 Thread Thomas Mayer
David Brynjar Franzson wrote: Hi, is there any simple way to replace all NaN values with Zeros or to filter them out? If you do not have lists, then route should do the trick: [route f] | | | [0( cu Thomas -- Prisons are needed only to provide the illusion that courts and

Re: [PD] removing NaN

2008-09-13 Thread tim
[expr] contains a function 'isnan'. Not sure how to use it though. can someone give an example ? Tim ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list

Re: [PD] removing NaN

2008-09-13 Thread David Brynjar Franzson
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. thanks for the help, David Brynjar On Sat, Sep 13, 2008 at 11:05 AM, tim [EMAIL PROTECTED] wrote: [expr] contains a function 'isnan'. Not sure how to use