<html><head></head><body>Awesome! <br><br><div class="gmail_quote">On May 18, 2016 8:01:24 PM PDT, Miller Puckette <msp@ucsd.edu> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">OK... I'm talked into it.  Should appear (as a "-x" optional flag) once 0.47-1<br />is ready.<br /><br />cheers<br />Miller<br /><br />On Wed, May 18, 2016 at 11:07:36PM +0200, Christof Ressi wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> Do you mean something like you have 1-baz.pd, 2-baz.pd, etc. and then inside your [clone] abstraction you've got [$1-baz]? I suppose this is a potential use case.​<br /></blockquote> <br /> Haha, sorry bad wording from my side, but this also an interesting use case! <br /> <br /> I rather meant projects where everything is broken into modules which themselves contain other modules etc. The first module in the tree takes an ID as an *creation argument* and passes it down do its submodules. Something like that. <br />  <br />
 <br /> <br /> Gesendet: Mittwoch, 18. Mai 2016 um 22:40 Uhr<br /> Von: "Matt Barber" <brbrofsvl@gmail.com><br /> An: "Christof Ressi" <christof.ressi@gmx.at><br /> Cc: "Miller Puckette" <msp@ucsd.edu>, Pd-list <pd-list@lists.iem.at><br /> Betreff: Re: [PD] [clone]'s instance number<br /> <br /> BTW: I guess, it's mostly a design question, whether to work with instance numbers inside abstractions and or to work with dispatching via the inlets and outlets. However, I can think of at least two cases where it's necessary to have immediate access to instance numbers inside an abstraction:<br /> a) [send~ foo-$1] or [catch~ bar-$1] to disambiguate audio inputs/outputs, because you can't set these two dynamically like [r~] and [throw~]<br />  <br /> <br /> ​Where do you envision the corresponding [r~ foo-$1] or [throw~ bar-$1] to reside? If it's in the same abstraction, then $0 ought to work just as well.​<br />  b) instantiate another abstraction by
the instance number (nested abstractions)<br />  <br /> <br /> ​Do you mean something like you have 1-baz.pd, 2-baz.pd, etc. and then inside your [clone] abstraction you've got [$1-baz]? I suppose this is a potential use case.​<br />  <br /> So the current behaviour of [clone] (passing the instance number as $1) can be important and very useful. The alternative mode I proposed is mainly for convenience but I'm sure it would pay off in the long run!<br /> <br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> Gesendet: Mittwoch, 18. Mai 2016 um 18:45 Uhr<br /> Von: "Miller Puckette" <msp@ucsd.edu><br /> An: "Alex Norman" <x37v.alex@gmail.com[x37v.alex@gmail.com]><br /></blockquote> <br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ad7fa8; padding-left: 1ex;"> Cc: "Christof Ressi" <christof.ressi@gmx.at[christof.ressi@gmx.at]>, Pd-list
<pd-list@lists.iem.at[pd-list@lists.iem.at]><br /> Betreff: Re: [PD] [clone]'s instance number<br /><br /> OK... sounds like it's worth putting in.  I guess with the one-letter it<br /> already takes (-s) I should also add something like a -e flag to put the<br /> number argument at the end of the list instead of the beginning, or something<br /> like that.<br /><br /> cheers<br /> Miller<br /><br /> On Wed, May 18, 2016 at 07:20:29AM -0700, Alex Norman wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #8ae234; padding-left: 1ex;"> I see your point, the abstraction need not know it's instance number since only the messages meant for it would be dispatched to it.. If you don't care about using sends directed to a specific abstraction then the $1 does nothing for you and if the flag to clone could ditch the $1 to instance setting and just set the arguments to the abstraction [clone -flag blah 20 1 2 3] makes 20 copies of blah
with args $1=1 $2=2.. You could use more of your existing abstractions as is, using their args the same way with or without clone.<br /><br /> I'm warming up to that idea.<br /><br /> Alex<br /><br /> On May 17, 2016 6:44:51 PM PDT, Christof Ressi <christof.ressi@gmx.at[christof.ressi@gmx.at]> wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #fcaf3e; padding-left: 1ex;">you can still disambiguate, because incoming messages are dispatched by<br />the instance number and outgoing messages are prepended with it!<br /><br />My suggestion was mainly concerning all abstractions that work with<br />inlets and outlets (as opposed to sends and receives), where you<br />basically pass a message and get something out. This could be anything,<br />from simple message filtering to a perlin noise generator. Or also<br />existing audio modules that work with a message inlet. If there was<br />such a flag, you could take any of these
abstractions as they are,<br />control them separately by prepending the instance number and route the<br />message output (or use the sum of the audio output).<br /><br />I guess, people will use [clone] mainly for voice management for<br />synthesizers, granular synthesis, complicated nested patches etc., but<br />I also see a great potential for massive data generation by using<br />existing simple abstractions and cloning them.<br /><br />Personally, I have many abstractions I would like to use with [clone],<br />but either I'd have to rewrite them or make a wrapper abstraction. It's<br />not a big deal, it's just that an alternative forwarding mode would<br />provide some additional convenience (and could also encourage other<br />usages for [clone]).<br /><br />Anyway, I can totally live without this feature, but would be happy to<br />have it :-).<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;">
Gesendet: Mittwoch, 18. Mai 2016 um 02:35 Uhr<br /> Von: "Miller Puckette" <msp@ucsd.edu[msp@ucsd.edu]><br /> An: "Christof Ressi" <christof.ressi@gmx.at[christof.ressi@gmx.at]><br /> Cc: Pd-list <pd-list@lists.iem.at[pd-list@lists.iem.at]><br /> Betreff: Re: [PD] [clone]'s instance number<br /><br /> I'm not sure... would anyone ever use this feature?  The patch in<br /></blockquote>question<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"> would ahve to take arguments (if not, thre's no problem) but not use<br /></blockquote>them to<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"> disambiguate the instances (because clone will set them all equal<br /></blockquote>anyway).<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"> I have trouble
imaginig anyone building a patch like that.<br /><br /> cheers<br /> Miller<br /><br /> On Wed, May 18, 2016 at 12:54:16AM +0200, Christof Ressi wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> What do you think about the idea with a flag for changing the way<br /></blockquote></blockquote>creation arguments are forwarded? It would be really handy if you could<br />write something like<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> [clone -flag 100 my-abstraction 5 6 7] and $1 $2 $3 will be<br /></blockquote></blockquote>substituted by 5 6 7 instead of [N] 5 6. This way you could use<br />existing abstractions as they are, without the need for writing a<br />wrapper abstraction to handle the creation argument
forwarding.<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><br /> Christof<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> Gesendet: Dienstag, 17. Mai 2016 um 04:05 Uhr<br /> Von: "Miller Puckette" <msp@ucsd.edu[msp@ucsd.edu]><br /> An: "Jaime Oliver" <jaime.oliver2@gmail.com[jaime.oliver2@gmail.com]><br /> Cc: "Christof Ressi" <christof.ressi@gmx.at[christof.ressi@gmx.at]>, Pd-list<br /></blockquote></blockquote></blockquote><pd-list@lists.iem.at[pd-list@lists.iem.at]><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc;
padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> Betreff: Re: [PD] [clone]'s instance number<br /><br /> Cool, taking this suggestion.  At least for now it will work<br /></blockquote></blockquote></blockquote>either way,<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> but it's much more readable with the abstraction name first so I<br /></blockquote></blockquote></blockquote>changed the<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid
#ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> help file to invoke it that way.<br /><br /> cheers<br /> Miller<br /><br /> On Wed, May 11, 2016 at 01:13:37PM -0400, Jaime Oliver wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> Well,<br /><br /> What would happen if instead of calling clone like:<br /><br /> [clone 16 my-abstraction 1 5 9]<br /><br /> we called it with:<br /><br /> [clone my-abstraction 16 1 5 9]<br /><br /> and then $1 seems quite appropriate.<br /><br /> ?<br /><br /> J<br /><br /><br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> On May 11, 2016, at 12:17 PM, Christof Ressi<br /></blockquote></blockquote></blockquote></blockquote></blockquote><christof.ressi@gmx.at[christof.ressi@gmx.at]> wrote:<br
/><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><br /> I agree that $1 is most natural!<br /><br /> However, what about adding an additional flag -foo for<br /></blockquote></blockquote></blockquote></blockquote></blockquote>[clone], which changes the way creation arguments are parsed?<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt
1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> Passing -foo could ignore the object ID and rather forward<br /></blockquote></blockquote></blockquote></blockquote></blockquote>creation arguments just as they are.<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex;
border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><br /> This wouldn't break the current behaviour of [clone], but<br /></blockquote></blockquote></blockquote></blockquote></blockquote>provide some functionality to deal with ordinary abstractions more<br />conveniently.<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><br /> Christof<br /><br
/><br /><br /><br /><br /><br /><br /> Gesendet: Mittwoch, 11. Mai 2016 um 18:06 Uhr<br /> Von: "Ivica Bukvic" <ico@vt.edu[ico@vt.edu]><br /> An: "Miller Puckette" <msp@ucsd.edu[msp@ucsd.edu]><br /> Cc: "IOhannes m zmoelnig" <zmoelnig@iem.at[zmoelnig@iem.at]>, Pd-list<br /></blockquote></blockquote></blockquote></blockquote></blockquote><pd-list@lists.iem.at[pd-list@lists.iem.at]>, "Christof Ressi" <christof.ressi@gmx.at[christof.ressi@gmx.at]><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt
0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> Betreff: Re: [PD] [clone]'s instance number<br /> What about having an if statement that detects clone object<br /></blockquote></blockquote></blockquote></blockquote></blockquote>and if so, compensates for $2 discrepancy and assigns $1 to it instead<br />and increments from there? This way the discrepancy is internalized as<br />opposed to something user needs to deal with.<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px
solid #ccc; padding-left: 1ex;"> --<br /> Ivica Ico Bukvic, D.M.A.<br /> Associate Professor<br /> Computer Music<br /> ICAT Senior Fellow<br /> Director -- DISIS, L2Ork<br /> Virginia Tech<br /> School of Performing Arts – 0141<br /> Blacksburg, VA 24061<br /> (540) 231-6139<br /> ico@vt.edu[ico@vt.edu]<br /> <a href="http://www.performingarts.vt.edu">www.performingarts.vt.edu</a>[<a href="http://www.performingarts.vt.edu">http://www.performingarts.vt.edu</a>][<a href="http://www.performingarts.vt.edu">http://www.performingarts.vt.edu</a>[<a href="http://www.performingarts.vt.edu">http://www.performingarts.vt.edu</a>]]<br /> <a href="http://disis.icat.vt.edu">disis.icat.vt.edu</a>[<a href="http://disis.icat.vt.edu">http://disis.icat.vt.edu</a>][<a href="http://disis.icat.vt.edu">http://disis.icat.vt.edu</a>[<a href="http://disis.icat.vt.edu">http://disis.icat.vt.edu</a>]]<br /> <a href="http://l2ork.icat.vt.edu">l2ork.icat.vt.edu</a>[<a
href="http://l2ork.icat.vt.edu">http://l2ork.icat.vt.edu</a>][<a href="http://l2ork.icat.vt.edu">http://l2ork.icat.vt.edu</a>[<a href="http://l2ork.icat.vt.edu">http://l2ork.icat.vt.edu</a>]]<br /> <a href="http://ico.bukvic.net">ico.bukvic.net</a>[<a href="http://ico.bukvic.net">http://ico.bukvic.net</a>][<a href="http://ico.bukvic.net">http://ico.bukvic.net</a>[<a href="http://ico.bukvic.net">http://ico.bukvic.net</a>]]<br /><br /> On May 11, 2016 11:50, "Miller Puckette"<br /></blockquote></blockquote></blockquote></blockquote></blockquote><msp@ucsd.edu[msp@ucsd.edu][msp@ucsd.edu[msp@ucsd.edu]]> wrote:I gave this some thought but<br />couldn't come up with anything more natural than<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex
0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> the "$1" idea.  It allows for changing the other arguments<br /></blockquote></blockquote></blockquote></blockquote></blockquote>more easily than<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc;
padding-left: 1ex;"> it would have been if the instance number were passed last.<br /></blockquote></blockquote></blockquote></blockquote></blockquote>Also, somehow<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> it felt more natural to have the instance number first.<br /><br /> If there's interest in the idea, I could add arrguments to<br /></blockquote></blockquote></blockquote></blockquote></blockquote>change the<br /><blockquote class="gmail_quote"
style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> behavior (such as putting $1 last instead of first)...<br /></blockquote></blockquote></blockquote></blockquote></blockquote>Offhand I doubt that<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex;
border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> would get used much though.<br /><br /> cheers<br /> Miller<br /><br /><br /><br /> On Wed, May 11, 2016 at 05:26:21PM +0200, Christof Ressi<br /></blockquote></blockquote></blockquote></blockquote></blockquote>wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote"
style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> There's also a pitfall: additional creation arguments for<br /></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>the cloned abstraction will start with $2.<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote"
style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> For example, in [clone 16 my-abstraction 1 5 9] '1' will be<br /></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>parsed as $2, '5' as $3, '9' as $4 etc.<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> No problem, if the abstraction
was written for being used<br /></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>with [clone], but bad when cloning existing abstractions.<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><br /> I'm wondering if there could be a way to get the abstraction<br
/></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>ID without messing up existing abstractions... Maybe have a dedicated<br />object?<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><br /> For now, I think it's important to mention the parsing of<br
/></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>additional creation arguments in the help file.<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><br /> Christof<br /><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> Gesendet: Mittwoch, 11. Mai
2016 um 16:25 Uhr<br /> Von: "IOhannes m zmoelnig"<br /></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><zmoelnig@iem.at[zmoelnig@iem.at][zmoelnig@iem.at[zmoelnig@iem.at]]><br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex;
border-left: 1px solid #ccc; padding-left: 1ex;"> An: pd-list@lists.iem.at[pd-list@lists.iem.at][pd-list@lists.iem.at[pd-list@lists.iem.at]]<br /> Betreff: Re: [PD] [clone]'s instance number<br /><br /> On 2016-05-11 16:18, Liam Goodacre wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"> Would it be possible to access [clone]'s unique instance<br /></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote>number from within the patch, a bit like a creation argument? This<br />could be used to achieve differentiation between the abstractions, ie.<br />if the abstraction contains "tabread4~ $-1.array" and the $-1 is<br />replaced with the instance number, then each instance could read a<br />different file. Of course there are other ways of doing this, but it<br />would be neat to do it with clone, and I'm wondering if there's a way.<br /><blockquote
class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><br /><br /> isn't this what $1 is already doing in clone's instances?<br /><br /><br /> fgasdmr<br /> IOhannes<br /><br /><hr /><br />
Pd-list@lists.iem.at[Pd-list@lists.iem.at][Pd-list@lists.iem.at[Pd-list@lists.iem.at]] mailing list<br /> UNSUBSCRIBE and account-management -><br /></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>[<a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>][<a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>[<a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>]]<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc;
padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><br /></blockquote><br /><hr /><br /> Pd-list@lists.iem.at[Pd-list@lists.iem.at][Pd-list@lists.iem.at[Pd-list@lists.iem.at]] mailing list<br /> UNSUBSCRIBE and account-management -><br /></blockquote></blockquote></blockquote></blockquote></blockquote></blockquote><a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>[<a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>][<a
href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>[<a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>]]<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><br /><hr /><br /> Pd-list@lists.iem.at[Pd-list@lists.iem.at][Pd-list@lists.iem.at[Pd-list@lists.iem.at]] mailing list<br /> UNSUBSCRIBE and account-management -><br
/></blockquote></blockquote></blockquote></blockquote></blockquote><a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>[<a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>][<a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>[<a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>]]<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote"
style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><br /><hr /><br /> Pd-list@lists.iem.at[Pd-list@lists.iem.at] mailing list<br /> UNSUBSCRIBE and account-management -><br /></blockquote></blockquote></blockquote></blockquote></blockquote><a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>[<a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>]<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><br /><br /><hr /><br />
Pd-list@lists.iem.at[Pd-list@lists.iem.at] mailing list<br /> UNSUBSCRIBE and account-management -><br /></blockquote></blockquote></blockquote></blockquote><a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>[<a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>]<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #ccc; padding-left: 1ex;"><br /></blockquote><br /><hr /><br /> Pd-list@lists.iem.at[Pd-list@lists.iem.at] mailing list<br /> UNSUBSCRIBE and account-management -><br /></blockquote></blockquote><a
href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>[<a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>]<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #e9b96e; padding-left: 1ex;"><br /></blockquote><br /><hr /><br />Pd-list@lists.iem.at[Pd-list@lists.iem.at] mailing list<br />UNSUBSCRIBE and account-management -><br /><a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>[<a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>]<br /></blockquote></blockquote><br /></blockquote> <br /><hr /><br /> Pd-list@lists.iem.at[Pd-list@lists.iem.at] mailing list<br /> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>[<a
href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a>]<br /> <br /><hr /><br /> Pd-list@lists.iem.at mailing list<br /> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a><br /></blockquote><br /><hr /><br />Pd-list@lists.iem.at mailing list<br />UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list">https://lists.puredata.info/listinfo/pd-list</a><br /></pre></blockquote></div></body></html>