Maybe the clear message you put inside each abstraction clears the subpatch after pd throws the error message...<br><br><div class="gmail_quote"><div dir="ltr">Em Ter, 1 de jan de 2019 09:55, Max <<a href="mailto:abonnements@revolwear.com">abonnements@revolwear.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a patch with the singleton abstraction inside an abstraction <br>
called with clone 14 times. There is a [text declare -k g_major] created <br>
once. Yet I get 14 Warnings in the Pd console like this:<br>
warning: g_major: multiply defined<br>
when looking into the other instances of the cloned abstraction with <br>
[vis 8 1( etc. I can see however that the singleton patch worked, only <br>
in instance 0 of clone is the abstraction which holds the text declare.<br>
<br>
Likewise, the Pd search only finds one instance of the text declare.<br>
<br>
It's this patch:<br>
<a href="https://github.com/chairaudio/tickle-examples/blob/master/Pd/A11.karplus-division.pd" rel="noreferrer" target="_blank">https://github.com/chairaudio/tickle-examples/blob/master/Pd/A11.karplus-division.pd</a><br>
<br>
On 31.12.18 17:50, Max wrote:<br>
> I found Enriques patch in the archive and solved it like he did.<br>
> Attached just in case someone is wondering. It's probably some <br>
> depth-first thing why my first approach didn't work as expected.<br>
> <br>
> m.<br>
> <br>
> <br>
> On 30.12.18 22:10, Max wrote:<br>
>> Ah, cool. Thanks IOhannes.<br>
>><br>
>> I tried a Pd implementation but can't get it to work. Do you know why <br>
>> my approach fails?<br>
>><br>
>> I see that NetPd has a singleton message, will try to analyze how it's <br>
>> done there.<br>
>><br>
>> m.<br>
>><br>
>><br>
>> On 24.12.18 11:40, IOhannes m zmölnig wrote:<br>
>>> On 12/23/18 9:06 PM, Max wrote:<br>
>>>><br>
>>>> Is there a smart way to solve this kind of issue?<br>
>>>><br>
>>><br>
>>> search for "singleton".<br>
>>><br>
>>> gadsmr<br>
>>> IOhannes<br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
>>> UNSUBSCRIBE and account-management -> <br>
>>> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
>>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
>> UNSUBSCRIBE and account-management -> <br>
>> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
>><br>
> <br>
> <br>
> _______________________________________________<br>
> <a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
> UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
> <br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">https://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div>