hi list,
how to *do nothing* when expr if is FALSE?
like this: [expr if ($f1 > 0, 1, *do_nothing*)]
thanks, jonghyun
I don't think this is really possible. What you can do is use this [expr if($f1 > 0, 1, 0)] and connect it to [sel 0] and use [sel]'s right outlet only...
On Fri, Feb 19, 2016 at 6:17 PM, Jonghyun Kim agitato816@gmail.com wrote:
hi list,
how to *do nothing* when expr if is FALSE?
like this: [expr if ($f1 > 0, 1, *do_nothing*)]
thanks, jonghyun
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
if you want the object to not output anything, instead of what I proposed, then, well, it is not possible, it will always output something
2016-02-19 14:43 GMT-02:00 Jonghyun Kim agitato816@gmail.com:
I don't think this is really possible. What you can do is use this [expr
if($f1 > 0, 1, 0)] and connect it to [sel 0] and use [sel]'s right outlet only...
Thanks, but I want no [select] after expr.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Is it specifically [select] that you don't want after [expr], or is it any object? You could put [moses 0] after Alexandre's solution.
On Fri, Feb 19, 2016 at 11:55 AM, Alexandre Torres Porres porres@gmail.com wrote:
if you want the object to not output anything, instead of what I proposed, then, well, it is not possible, it will always output something
2016-02-19 14:43 GMT-02:00 Jonghyun Kim agitato816@gmail.com:
I don't think this is really possible. What you can do is use this [expr
if($f1 > 0, 1, 0)] and connect it to [sel 0] and use [sel]'s right outlet only...
Thanks, but I want no [select] after expr.
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[expr if ($f1 > 0, 1, $f1)] ?
2016-02-19 14:17 GMT-02:00 Jonghyun Kim agitato816@gmail.com:
hi list,
how to *do nothing* when expr if is FALSE?
like this: [expr if ($f1 > 0, 1, *do_nothing*)]
thanks, jonghyun
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list