[PD] abstraction with variable number of inlets/outlets

ilya .d ild0012 at londonmet.ac.uk
Sat Oct 6 22:14:24 CEST 2007

On Sat, Oct 06, 2007 at 03:01:29PM -0400, marius schebella wrote:
> one possibility is to use python.
> another possibility would be to use some weird dynamic patching.
> it is not possible without tricks. but in general it is possible. and it 
> also depends on how you want to connect the abstraction.
> another way to deal with multilength lists is to use send and receive 
> and list abstractions...
> marius.
> Mirko Maier wrote:
> > hi list,
> > i wonder if it's possible to write an abstraction that has a variable number of inlets or outlets, given as argument.
> > 
> > i've tried it with messages like
> > 
> > ;pd-[argument file name] inlet 10 10
> > 
> > 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.
> > 
> > impossible?
may be you could create 1-inlet -->> 1-outlet minimal abstraction for
what you want to do with each signal individualy,
and use a subpatch wich would have each one of those for each of it's
so you just create a subpatch with a set of arguments which will give a
number of inlets ..
actually you need an abstraction which will create [pd subpatch] and
make as many copies of your abs inside that with inlets and outlets for
each of them.  so basicly you need to set that up .. i'd like to have
something similar .. i was actually think of this before ..but didn't
have something that would need it too much.

but that you can do only if you doing the same thing with each of the
inlets, not doing any operations with one inlet onto another ..like
modulation of one over the other or similar  ..

but this is probaly better to do via some external , so one can get more
do something even more sofisticated .. like send a message 'chain 6 vcf~'
which will create 6 [vcf~]s connected one after another ..

that would be grate to have ..
it would probably be best to do via Tk/Tcl

i was actualy wondering how to send Tcl commands in pd ?

it is implemented in DesireData. but i haven't tried it there ..
may be will try to use tkcons now .. i'll post if any success.

ilya .d

> > greets,
> > mirko
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

Companies Act 2006 : http://www.londonmet.ac.uk/companyinfo

More information about the Pd-list mailing list