Hi,
how would I be able to set [clone]'s instance number, currently an argument, using a message? I am trying to create voices dynamically, which furthermore would introduce clicks, but make the number of voices dependent on some other conditions/calculations in an abstraction at creation time.
thanks, P
So far, it's not possible (without dynamic patching), but there's a WIP PR which I should probably reactivate: https://github.com/pure-data/pure-data/pull/1069
In the meantime, just set the maximum number of instances you would possibly need and then deactivate the ones you don't need (e.g. every instance with a number >= N).
Christof
On 25.01.2021 12:54, Peter P. wrote:
Hi,
how would I be able to set [clone]'s instance number, currently an argument, using a message? I am trying to create voices dynamically, which furthermore would introduce clicks, but make the number of voices dependent on some other conditions/calculations in an abstraction at creation time.
thanks, P
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
So far, it's not possible (without dynamic patching), but there's a WIP PR which I should probably reactivate: https://github.com/pure-data/pure-data/pull/1069
Yes, please reactivate! DSP switching itself is not so much of an issue as you say yourself in the PR, but a settabe number of instances would be fantastique!
In the meantime, just set the maximum number of instances you would possibly need and then deactivate the ones you don't need (e.g. every instance with a number >= N).
Not a bad idea, thanks Christof!
P
It would be quite useful to be able to do that. For now the only workaround is to allocate the maximum number of voices, and switch off audio/data to the ones that aren't active.
Hi,
how would I be able to set [clone]'s instance number, currently an argument, using a message? I am trying to create voices dynamically, which furthermore would introduce clicks, but make the number of voices dependent on some other conditions/calculations in an abstraction at creation time.
thanks, P
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list