I can imagine adding a flag to [clone] to automatically pass the number of instances as the second argument:
[clone -n foo 20] == [clone foo 20 20]
but I'm not sure it's worth it...
On 3/3/21 9:34 PM, Christof Ressi wrote:
Yes, [clone foo 20 20] might look ugly,
well.
otoh it looks quite elegant inside the cloned abstraction:
$1 - id of current instance
$2 - number of instances
$3... - other args
i can't think of an interface to get the total number of instances inside the abstraction that is not much, much uglier.
somethiung like
[clones(
|
[pdcontrol]
|
:facepalm:
gfmards
IOhannes
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list