<div>Hi Mirko,</div><div>The attached nsend and nreceive patches do what you're looking for, I think? It is annoying to do since one has to count the objects in their patch, but it certainly works and is quite reliable. 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> <<a href="mailto:ild0012@londonmet.ac.uk">
ild0012@londonmet.ac.uk</a>> 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>> one possibility is to use python.<br>> another possibility would be to use some weird dynamic patching.<br>> it is not possible without tricks. but in general it is possible. and it<br>> also depends on how you want to connect the abstraction.
<br>> another way to deal with multilength lists is to use send and receive<br>> and list abstractions...<br>> marius.<br>><br>> Mirko Maier wrote:<br>> > hi list,<br>> > i wonder if it's possible to write an abstraction that has a variable number of inlets or outlets, given as argument.
<br>> ><br>> > i've tried it with messages like<br>> ><br>> > ;pd-[argument file name] inlet 10 10<br>> ><br>> > and so on, but then you always get asked if you want to discard changes, cause of course you shouldn't save these changes in the abstraction.
<br>> ><br>> > impossible?<br>may be you could create 1-inlet -->> 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'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. so basicly you need to set that up .. i'd like to have<br>something similar .. i was actually think of this before ..but didn'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 ..<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 'chain 6 vcf~'
<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't tried it there ..
<br>may be will try to use tkcons now .. i'll post if any success.<br><br>--<br>cheers,.<br>ilya .d<br><br><br>> > greets,<br>> > mirko<br>><br>><br>> _______________________________________________
<br>> <a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>> UNSUBSCRIBE and account-management -> <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 ->
<a href="http://lists.puredata.info">http://lists.puredata.info</a>/listinfo/pd-list<br></blockquote></div><br></div>