[PD] can a [clone] instance determine the total number of clones?
Christof Ressi
info at christofressi.com
Wed Mar 3 21:34:36 CET 2021
> I find myself passing in the number of total clones as a parameter.
Yes, that's the only way.
> I would like to avoid this if possible.
Why? Is it only for cosmetic reasons, or for technical reasons?
Yes, [clone foo 20 20] might look ugly, but it does the job. Personally,
I haven't ever needed the number of cloned instances inside an
instance... but if you need it frequently, you can make a feature
request on GitHub.
Christof
On 03.03.2021 20:12, William Huston wrote:
> Is there a way for a clone instance to determine the total number of
> clones?
>
> Because often the behavior of a clone depends on its relative position
> within a chain of instances.
>
> "I am instance 12 of 100, therefore, I should behave like so...."
>
> I find myself passing in the number of total clones as a parameter.
> I would like to avoid this if possible.
>
> Thanks,
> BH
>
>
>
>
>
>
>
>
>
>
> --
> William Huston: WilliamAHuston at gmail.com <mailto:WilliamAHuston at gmail.com>
> Binghamton NY
>
> *Public Service Mapping / Videography / Research / Education / Safety
> Advocacy*
> Blog <http://WilliamAHuston.blogspot.com> -- Facebook
> <http://facebook.com/billhuston> -- Twitter
> <http://twitter.com/WilliamAHuston>-- Youtube
> <https://www.youtube.com/channel/UCGijK1amWOLglT3YeTyEBNQ?sub_congfirmation=1>*--
> Podcast Blog <https://billhustonpodcast.blogspot.com/>
> *
> *Document collections*: VirtualPipelines
> <http://TinyURL.com/VirtualPipelines> -- BHDCSDimockArchive
> <http://bit.ly/BHDCSDimockArchive>
> *Please support my work! -- *TinyURL.com/DonateToBillHuston
> <http://TinyURL.com/DonateToBillHuston>
>
> **
>
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20210303/93afbb1e/attachment-0001.htm>
More information about the Pd-list
mailing list