Hi hard-off, Frank, all!<br><br>Thanks for your comments.<br>The main problem was that all arrays have the same name, and I know, dynamic patching is not necessary here, but I was playing nowadays with that, so I tried to implemented it in this way. I&#39;m going to remade the abstraction in a simpler way.
<br><br>Another question is: why can&#39;t I change canvas size dynamically?<br><br>Look at attached patch!<br><br>Saludos.<br><br><br><div><span class="gmail_quote">2007/12/30, Frank Barknecht &lt;<a href="mailto:fbar@footils.org">
fbar@footils.org</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hallo,<br>raul diaz hat gesagt: // raul diaz wrote:<br><br>&gt; I&#39;m working on a patch as interface for Pulsar Grain Synthesis based on a
<br>&gt; variation of nullpointer abstractions (good work Tom!):<br>&gt;<br>&gt; - <a href="http://www.nullpointer.co.uk/-/pd.htm">http://www.nullpointer.co.uk/-/pd.htm</a><br>&gt; - <a href="http://www.nullpointer.co.uk/-/files/pulse-grain-generator.zip">
http://www.nullpointer.co.uk/-/files/pulse-grain-generator.zip</a><br>&gt;<br>&gt; I&#39;m making some functions (constant, ramp up/down, triangle, sine, gaussian,<br>&gt; etc) to store on tables for parameters control.<br>
&gt; I&#39;ve made an abstraction to store an array with selected name which stored<br>&gt; this functions [p-table1].<br>&gt; [p-tables] abstraction dynamically create six of this abstractions.<br><br>Do you really need to do this dynamically? I don&#39;t see any compelling
<br>reason for dynamic patching here.<br><br>The [p-tables] abstraction will always be the same patch after it is<br>loaded.&nbsp;&nbsp;Additionally if you really want to create two or more<br>instances of [p-tables], like [p-tables 1] and [p-tables 2] your
<br>current approach may break anyway unless you use [namecanvas] and as<br>soon as you introduce that, I would rather recommend to use a [pd<br>$0-something] subpatch for dynamic patching, and with that, you could<br>could then send a message &quot;loadbang&quot; to [s pd-$0-something] to
<br>initiate another loadbang for the newly created objects without<br>getting into a loadbang-loop, as you would if you use [namcanvas] in<br>your current patch.<br><br>So basically my recommendation would be to forgo dynamic patching in
<br>your case, it does more harm than good here.<br><br>(Here I also get lots of crashes when trying to open a created<br>[p-tables] instances. Anyone else gets this?)<br><br>Ciao<br>--<br> Frank Barknecht&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; _ ______footils.org__
<br><br>_______________________________________________<br><a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list">
http://lists.puredata.info/listinfo/pd-list</a><br></blockquote></div><br><br clear="all"><br>-- <br>Raul Diaz Poblete<br>*************************<br><a href="mailto:raul.lete@gmail.com">raul.lete@gmail.com</a><br>Barcelona [Spain]