I have a patch with the singleton abstraction inside an abstraction
called with clone 14 times. There is a [text declare -k g_major] created
once. Yet I get 14 Warnings in the Pd console like this:
warning: g_major: multiply defined
when looking into the other instances of the cloned abstraction with
[vis 8 1( etc. I can see however that the singleton patch worked, only
in instance 0 of clone is the abstraction which holds the text declare.
Likewise, the Pd search only finds one instance of the text declare.
It's this patch:
https://github.com/chairaudio/tickle-examples/blob/master/Pd/A11.karplus-division.pd
On 31.12.18 17:50, Max wrote:
I found Enriques patch in the archive and solved it like he did.
Attached just in case someone is wondering. It's probably some
depth-first thing why my first approach didn't work as expected.
m.
On 30.12.18 22:10, Max wrote:
Ah, cool. Thanks IOhannes.
I tried a Pd implementation but can't get it to work. Do you know why
my approach fails?
I see that NetPd has a singleton message, will try to analyze how it's
done there.
m.
On 24.12.18 11:40, IOhannes m zmölnig wrote:
On 12/23/18 9:06 PM, Max wrote:
Is there a smart way to solve this kind of issue?
search for "singleton".
gadsmr
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
_______________________________________________
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