[PD] [clone]'s instance number

Miller Puckette msp at ucsd.edu
Wed May 11 17:11:59 CEST 2016

However, I was also asked that - so I think I should add something to the
example to show it :)


On Wed, May 11, 2016 at 04:25:16PM +0200, IOhannes m zmoelnig wrote:
> On 2016-05-11 16:18, Liam Goodacre wrote:
> > Would it be possible to access [clone]'s unique instance number from within the patch, a bit like a creation argument? This could be used to achieve differentiation between the abstractions, ie. if the abstraction contains "tabread4~ $-1.array" and the $-1 is replaced with the instance number, then each instance could read a different file. Of course there are other ways of doing this, but it would be neat to do it with clone, and I'm wondering if there's a way.
> isn't this what $1 is already doing in clone's instances?
> fgasdmr
> IOhannes

> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list

More information about the Pd-list mailing list