[jsyn] using too many units?
jsyn at music.columbia.edu
jsyn at music.columbia.edu
Mon Aug 22 15:50:13 EDT 2005
Hi there,
My application makes lots of units but I thought I was managing them well.
I'm making them all at initialization time as the application loads and
pulling them out of a factory as needed. When needed I start them and when
returning them to the factory I stop them. If all this is working as
advertised as it seems to be shouldn't the total object count returned by
Synth.getObjectCount() remain the same after I've stopped objects I've just
used? It seems to creep ever-upward leading to an inevitable "too many
tokens" error. I notice that the error comes following the start() call of
a SynthCircuit. What is the role of start()ing units, vs. instantiating
units on JSyn's internal table of units?
Thanks,
C>T>
More information about the JSyn
mailing list