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? ...
To my experience there will be definitely audio dropouts with dynamic voice creation. In the case of my rather complex patch (with currently only 8 voices) I have to wait up to ten seconds until the patch is ready again for playback. I am using a 3.2 GHz Athlon II X2 which is not that slow. Simpler synth voices might be faster, though.
I think it is much better to create as many voices as needed beforehand and turn unused voices off with the [switch~] object.
Ingo
Von: pd-list-bounces@iem.at [mailto:pd-list-bounces@iem.at] Im Auftrag von Ludwig Maes Gesendet: Mittwoch, 28. September 2011 17:56 An: Pd List Betreff: [PD] Variable number of objects?
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? ...
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
Anyone have a link to his paper on more/less? I coudlnt' find it.
.hc
On Sep 28, 2011, at 2:02 PM, Charles Henry wrote:
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
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Mistrust authority - promote decentralization. - the hacker ethic