[PD] array vs text, avoiding duplication
Max
abonnements at revolwear.com
Tue Jan 1 16:34:45 CET 2019
That sounds like a good lead. I've tried to strip it down to the issue,
but in the minimal example the issue isn't showing.
On 01.01.19 13:53, José de Abreu wrote:
> Maybe the clear message you put inside each abstraction clears the
> subpatch after pd throws the error message...
>
> Em Ter, 1 de jan de 2019 09:55, Max <abonnements at revolwear.com
> <mailto:abonnements at revolwear.com>> escreveu:
>
> 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 at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list
> >>> UNSUBSCRIBE and account-management ->
> >>> https://lists.puredata.info/listinfo/pd-list
> >>>
> >>
> >>
> >> _______________________________________________
> >> Pd-list at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list
> >> UNSUBSCRIBE and account-management ->
> >> https://lists.puredata.info/listinfo/pd-list
> >>
> >
> >
> > _______________________________________________
> > Pd-list at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list
> > UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
> >
>
>
>
>
> _______________________________________________
> Pd-list at lists.iem.at <mailto:Pd-list at lists.iem.at> mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abstraction.pd
Type: text/x-puredata
Size: 103 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20190101/2f0d27ca/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abstraction2.pd
Type: text/x-puredata
Size: 121 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20190101/2f0d27ca/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hex-tunings.pd
Type: text/x-puredata
Size: 132 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20190101/2f0d27ca/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.pd
Type: text/x-puredata
Size: 390 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20190101/2f0d27ca/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: singleton.pd
Type: text/x-puredata
Size: 1139 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20190101/2f0d27ca/attachment-0004.bin>
More information about the Pd-list
mailing list