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:
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!
Not a bad idea, thanks Christof!
P