hello list, hello miller,
is there any known way to dynamically change the number of instances associated with a clone object, e.g. via message? i know, the dsp graph would need to be rebulit, but for a project i am contemplating that would be less of a concern.
if not, can i suggest this for consideration as a feature request?
thanks for the object anyway, very helpful
hans
hans w. koch wrote:
hello list, hello miller,
is there any known way to dynamically change the number of instances associated with a clone object, e.g. via message? i know, the dsp graph would need to be rebulit, but for a project i am contemplating that would be less of a concern.
hi, hans !
you are aware of the "messages to PD" examples ?
afaict they are not mentioned in the latest official PD release, but i attached one exmaple from PD-extended, that's still valid and documenting this feature. this way you can easily change the instances of a clone object, simply by deleting it and creating a new one with the right arguments.
if you put your clone object as a single item into a subpatch, it's just a "clear" message and a "obj ... " message to the subpatch.
coming from MAX/MSP (where this object is called [poly~]), my experience is that assigning a new number of voices via a message does pretty much the same thing: it clears all former instances and reloads the new instances, all loadbang messages sent anew, no values are kept.
so i guess (while i too would appreciate a "voices" message for [clone]) in the end the result would probably be pretty much the same.
but mind you, this is no in-depth knowledge, just personal experience
best
oliver
Hi all, if it's not for conceptual reasons or for a very small memory footprint, a possible take would be to switch off DSP processing for superfluous voices using a switch~ object within the loaded abstraction. best, Thomas
Am 06.03.2018 um 09:59 schrieb oliver oliver@klingt.org:
hans w. koch wrote:
hello list, hello miller,
is there any known way to dynamically change the number of instances associated with a clone object, e.g. via message? i know, the dsp graph would need to be rebulit, but for a project i am contemplating that would be less of a concern.
hi, hans !
you are aware of the "messages to PD" examples ?
afaict they are not mentioned in the latest official PD release, but i attached one exmaple from PD-extended, that's still valid and documenting this feature. this way you can easily change the instances of a clone object, simply by deleting it and creating a new one with the right arguments.
if you put your clone object as a single item into a subpatch, it's just a "clear" message and a "obj ... " message to the subpatch.
coming from MAX/MSP (where this object is called [poly~]), my experience is that assigning a new number of voices via a message does pretty much the same thing: it clears all former instances and reloads the new instances, all loadbang messages sent anew, no values are kept.
so i guess (while i too would appreciate a "voices" message for [clone]) in the end the result would probably be pretty much the same.
but mind you, this is no in-depth knowledge, just personal experience
best
oliver
<MESSAGES TO PD.pd>_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On 2018-03-06 00:58, hans w. koch wrote:
is there any known way to dynamically change the number of instances associated with a clone object, e.g. via message? i know, the dsp graph would need to be rebulit, but for a project i am contemplating that would be less of a concern.
if not, can i suggest this for consideration as a feature request?
https://lists.puredata.info/pipermail/pd-dev/2018-01/021422.html
fgmasdr IOhannes
someone with a better memory…or searching skills… :-) lets hope it gets upped on the to do list this way.
Am 06.03.2018 um 10:38 schrieb IOhannes m zmoelnig zmoelnig@iem.at:
On 2018-03-06 00:58, hans w. koch wrote:
is there any known way to dynamically change the number of instances associated with a clone object, e.g. via message? i know, the dsp graph would need to be rebulit, but for a project i am contemplating that would be less of a concern.
if not, can i suggest this for consideration as a feature request?
https://lists.puredata.info/pipermail/pd-dev/2018-01/021422.html
fgmasdr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
This is indeed on my dolist... at least to receive a message to change the number of voices, perhaps not to be able to do so automatically (that seems to raise problems I donlt know how to solve :)
M
On Tue, Mar 06, 2018 at 11:04:15AM +0100, hans w. koch wrote:
someone with a better memory…or searching skills… :-) lets hope it gets upped on the to do list this way.
Am 06.03.2018 um 10:38 schrieb IOhannes m zmoelnig zmoelnig@iem.at:
On 2018-03-06 00:58, hans w. koch wrote:
is there any known way to dynamically change the number of instances associated with a clone object, e.g. via message? i know, the dsp graph would need to be rebulit, but for a project i am contemplating that would be less of a concern.
if not, can i suggest this for consideration as a feature request?
https://lists.puredata.info/pipermail/pd-dev/2018-01/021422.html
fgmasdr IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list