<div>Hi Mirko,</div><div>The attached nsend and nreceive patches do what you&#39;re looking for, I think? &nbsp;It is annoying to do since one has to count the objects in their patch, but it certainly works and is quite reliable. &nbsp;You do have to use [initbang] rather than [loadbang], or else the inlets/outlets will not exist in time for the parent patch to connect to them.
</div><div><br class="webkit-block-placeholder"></div><div>Cheers</div><div>Luke</div><div><br><br><div><span class="gmail_quote">On 10/6/07, <b class="gmail_sendername">ilya .d</b> &lt;<a href="mailto:ild0012@londonmet.ac.uk">
ild0012@londonmet.ac.uk</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">On Sat, Oct 06, 2007 at 03:01:29PM -0400, marius schebella wrote:
<br>&gt; one possibility is to use python.<br>&gt; another possibility would be to use some weird dynamic patching.<br>&gt; it is not possible without tricks. but in general it is possible. and it<br>&gt; also depends on how you want to connect the abstraction.
<br>&gt; another way to deal with multilength lists is to use send and receive<br>&gt; and list abstractions...<br>&gt; marius.<br>&gt;<br>&gt; Mirko Maier wrote:<br>&gt; &gt; hi list,<br>&gt; &gt; i wonder if it&#39;s possible to write an abstraction that has a variable number of inlets or outlets, given as argument.
<br>&gt; &gt;<br>&gt; &gt; i&#39;ve tried it with messages like<br>&gt; &gt;<br>&gt; &gt; ;pd-[argument file name] inlet 10 10<br>&gt; &gt;<br>&gt; &gt; and so on, but then you always get asked if you want to discard changes, cause of course you shouldn&#39;t save these changes in the abstraction.
<br>&gt; &gt;<br>&gt; &gt; impossible?<br>may be you could create 1-inlet --&gt;&gt; 1-outlet minimal abstraction for<br>what you want to do with each signal individualy,<br>and use a subpatch wich would have each one of those for each of it&#39;s
<br>inlets.<br>so you just create a subpatch with a set of arguments which will give a<br>number of inlets ..<br>actually you need an abstraction which will create [pd subpatch] and<br>make as many copies of your abs inside that with inlets and outlets for
<br>each of them.&nbsp;&nbsp;so basicly you need to set that up .. i&#39;d like to have<br>something similar .. i was actually think of this before ..but didn&#39;t<br>have something that would need it too much.<br><br>but that you can do only if you doing the same thing with each of the
<br>inlets, not doing any operations with one inlet onto another ..like<br>modulation of one over the other or similar&nbsp;&nbsp;..<br><br>but this is probaly better to do via some external , so one can get more<br>do something even more sofisticated .. like send a message &#39;chain 6 vcf~&#39;
<br>which will create 6 [vcf~]s connected one after another ..<br><br>that would be grate to have ..<br>it would probably be best to do via Tk/Tcl<br><br>i was actualy wondering how to send Tcl commands in pd ?<br><br>it is implemented in DesireData. but i haven&#39;t tried it there ..
<br>may be will try to use tkcons now .. i&#39;ll post if any success.<br><br>--<br>cheers,.<br>ilya .d<br><br><br>&gt; &gt; greets,<br>&gt; &gt; mirko<br>&gt;<br>&gt;<br>&gt; _______________________________________________
<br>&gt; <a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>&gt; UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info">http://lists.puredata.info</a>/listinfo/pd-list<br><br>Companies Act 2006 : 
<a href="http://www.londonmet.ac.uk">http://www.londonmet.ac.uk</a>/companyinfo<br><br><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">http://lists.puredata.info</a>/listinfo/pd-list<br></blockquote></div><br></div>