I'd really hope to hear from Krzystof on this topic. His [more]/[less] objects presented at the PdCon were really interesting for creating large numbers of voices.
The difference in approach embeds the new instances (without having a graphical representation) into the same abstraction and sums their outputs on the outlets provided. It behaves a lot like MPI programming where each program instance is an exact copy, differentiated only by index. Messages piped in can be sent to specific embedded instances through [less] if I remember correctly.
Increasing or decreasing the number of voices sounds like a dynamic patching application. I don't know much about it, myself.
Chuck
On Wed, Sep 28, 2011 at 10:55 AM, Ludwig Maes ludwig.maes@gmail.com wrote:
Im not sure what the best way is to instantiate variable number of objects, for example consider polysynth.pd:
Theres a fixed number of manually placed voices, suppose I want to have the top patch to contain a counter through which one may increase or decrease the number of voices, how would I go about that (without manually placing a load of voices and disabling them...)?
Whats the vanilla way to do this? Whats the pd-extended way to do this? ...
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list