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.
> 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…