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


_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list



_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


#N canvas 3265 809 450 300 10;
#X obj 77 77 text define -k instance;
#A set 1 \; 2 \; 3 \; 4 \; 5 \; 44 \; 55 \; 66 \; 77 \; 88 \;;
#N canvas 532 61 658 327 10;
#X obj 317 48 text size instance;
#X msg 317 23 bang;
#X floatatom 317 76 5 0 0 0 - - -;
#X obj 19 90 singleton instance;
#X obj 20 23 singleton instance;
#X obj 144 23 singleton instance;
#X obj 144 90 singleton instance;
#X floatatom 20 43 5 0 0 0 - - -;
#X floatatom 19 111 5 0 0 0 - - -;
#X floatatom 144 44 5 0 0 0 - - -;
#X floatatom 144 112 5 0 0 0 - - -;
#X connect 0 0 2 0;
#X connect 1 0 0 0;
#X connect 3 0 8 0;
#X connect 4 0 7 0;
#X connect 5 0 9 0;
#X connect 6 0 10 0;
#N canvas 932 465 543 515 10;
#X obj 70 13 loadbang;
#X obj 13 13 inlet;
#N canvas 1466 740 450 300 \$0-container 0;
#X obj 20 20 hex-tunings;
#X restore 268 14 pd \$0-container;
#X obj 70 277 f \$0;
#X obj 70 300 makefilename pd-%d-container;
#X obj 337 58 f \$0;
#X obj 337 78 makefilename pd-%d-container;
#X msg 70 323 \; \$1 obj 20 20 hex-tunings;
#X msg 337 100 \; \$1 clear;
#X obj 235 246 outlet;
#X obj 203 58 s \$1-singleton-knock;
#X obj 87 246 s \$1-singleton-response;
#X obj 87 178 r \$1-singleton-knock;
#X obj 85 83 r \$1-singleton-response;
#X msg 235 178 1;
#X obj 70 128 sel 0;
#X obj 70 36 t b b b, f 45;
#X obj 70 152 t b b, f 28;
#X obj 70 105 f;
#X obj 87 224 f;
#X connect 0 0 16 0;
#X connect 3 0 4 0;
#X connect 4 0 7 0;
#X connect 5 0 6 0;
#X connect 6 0 8 0;
#X connect 12 0 19 0;
#X connect 13 0 18 1;
#X connect 14 0 9 0;
#X connect 14 0 19 1;
#X connect 15 0 17 0;
#X connect 16 0 18 0;
#X connect 16 1 10 0;
#X connect 16 2 5 0;
#X connect 17 0 3 0;
#X connect 17 1 14 0;
#X connect 18 0 15 0;
#X connect 19 0 11 0;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to