[PD] can a [clone] instance determine the total number of clones?
IOhannes m zmölnig
zmoelnig at iem.at
Wed Mar 3 22:06:32 CET 2021
On 3/3/21 9:51 PM, hans w. koch wrote:
> i sometimes used the attached idiom, which works in certain circumstances.
> (using the [max] object).
for such counting i typically use [value].
as in:
[loadbang]
|
[t b b]
| [value foo]
| [+1]
| [value foo]
|
[delay 0]
[value foo]
|
with "foo" being replaced by some unique symbol shared among all instances.
this is of course more useful outside of [clone] (where christof's
suggestions is much nicer), e.g. when dealing with multiple
GOP-abstractions.
masfd
IOhannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210303/95a6e024/attachment.sig>
More information about the Pd-list
mailing list