how many outlet can an object handle

May 24, 2006 at 2:01pm

how many outlet can an object handle

Hi there !
Let’s say i create an object with the scripting methode…
how many outlet can an object handle ?
It seems like i cannot more than… a lot..

Thanks if you can help.
Seb

#26138
May 25, 2006 at 3:31am

There was a thread on this oh, about two years ago maybe? Mostly between JKC and meiner Wenigkeit.

Anyway, I empirically determined that the maximum number of outlets I could create with C code was about 2100. It seems that the actual limiting factor is that the object cannot grow to more than about 32,767 pixels in width.

Whether JScript or Java will put any additional limitations on you is a question I cannot answer. But why don’t you do what I did? Just try it! You can hone in on the exact number with maybe a half-dozen experiments.

BTW, if you want to see those +2000 outlets in action: ice.pump.

Good luck, Peter

#77721
May 25, 2006 at 5:30am

thank you Peter for your time.
Best.
Seb.

#77722
May 25, 2006 at 11:12am

tworowski.sebastien@laposte.net wrote:
> Hi there !
> Let’s say i create an object with the scripting methode…
> how many outlet can an object handle ?
> It seems like i cannot more than… a lot..

or none, depends how you look at it….

The only way I found I would be able to create varying numbers of
ins/outs, is to fill the patcher in advance with what I would assume to
be the maximum I want to deal with, and then delete those I don’t need.
Its because, if I create ins/outs, they show up after the patch was
looking for connections. That means all connections I make with a
patcher that creates the ins/out will be lost when I reload the patch…
(unless I would create the external connections as well, but that would
render such a patch as abstraction pretty useless)

With this technique I think it would be overkill, to create a patcher
with 1024 outlets only to delete 1023 of them again…

Stefan


Stefan Tiedje————x——-
–_____———–|————–
–(_|_ —-|—–|—–()——-
– _|_)—-|—–()————–
———-()——–www.ccmix.com

#77723

You must be logged in to reply to this topic.