Frank Barknecht wrote:
Hallo, Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
I just wrote a quick test of what happens when you play hundreds of
oscillators. Thanks to nqpoly4, its quite easy.
nqpoly4 is great fun, warts and all. I look forward to playing with this when I get home, hc.
Okay, this inspired me to finally do something I wanted to do for a loooong time: I think, nqpoly4 is a very useful patch, however I always found it hard to see what's going on, I didn't like the use of the non-deprecated namecanvas, where a subpatch would be enough, and most of all I found the editing restrictions awkward to say the least.
Attached is a reworked version of nqpoly4, which should be compatible but I only tested it with your many-osc.pd so far.
Changes besides cleanup include an additional inlet that lets you change the degree of polyphony on the fly. Further editing of nqpoly4 does not need to follow the old instructions about counting object indices and creating connections in a certain order etc. You can edit the patch without such hassles now just like any other Pd patch.
Excellent!
A final change I didn't do yet is to change the name to something other than "nqpoly4", which I find a bit hard to type and to memorize. Suggestions welcome.
How about "pgpoly" for "pretty good polyphony"?
I dream of a polyphony object with the dynamic-subpatch-creating advantages of nqpoly4, combined with the capacity to match up note-offs with previous note-ons, which is necessary for live (i.e., indeterminate duration) polyphonic music. Such a beast could be called "vgpoly", for "very good polyphony". :-) This more robust nqpoly4 object you've made makes improvement and extension a little easier to contemplate -- thanks, Frank. Once I have a little more PD experience under my belt, maybe I'll give "vgpoly" a try.
Phil Stone