Hallo, marius schebella hat gesagt: // marius schebella wrote:
well, nqpoly4 asks for a very special method to write your abstraction,
That's only because it's a generic helper for dynamic patching. You could of course also just do your dynamic patching the traditional way.
and I wonder if there is an overhead from additional send/receives?
There are no additional sends and receives in nqpoly4: It handles messaging from the outside through direct connections with in/outlets. I doubt that it makes much of a differnce anyway.
An alternative with Lua might be to write "polyphonic" pdlua objects. A quick example is attached simple [linebuffer] which just draws many [curve 2]-like lines with optional aging. It can easily handle several thousands of lines. (Requires luagl, rename suffix for newest pdlua)
Frank Barknecht _ ______footils.org__