[chuck-users] Grains make garbage:(
signal.automatique at gmail.com
Thu Sep 24 19:37:35 EDT 2009
2009/9/25 Andrew C. Smith <acsmith at willamette.edu>:
> Right, clever idea. In fact, you could just have each sporked function
> append its OWN object to the array. How about that?
> Now we just need
> to learn how to destroy...
Not really. You just need to append when you run out of voices and
otherwise recycle them. You would also need to try to make non-active
voices not take cpu, of course. Detroying elements in the middle of a
array doesn't seem like such a hot idea to me as that would defeat the
whole purpose of having them indexed.
To me that seems like a sensible middle between saving resources and
making sure you can still do everything you would like (until the cpu
That, of course, is just my opinion; there are many approaches and
your ideas may well match the exact issues you have.
More information about the chuck-users