hello,
is there an object/external, that let messages pass only when they
changed to the previous one?
(as demonstrated in the patch below and in the example message list)
rainer.
--
0 --> pass 0 0 1 --> pass 1 1 1 1 0 --> pass 0
--
#N canvas 171 58 404 435 10; #X obj 191 341 spigot; #X msg 203 172 1; #X msg 242 171 2; #X obj 242 194 alternate; #X floatatom 242 218 5 0 0 0 - - -; #X floatatom 300 218 5 0 0 0 - - -; #X msg 243 341 0; #X msg 128 126 do this; #X msg 191 126 do that; #X obj 126 64 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 ; #X obj 203 62 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 ; #X obj 190 378 print; #X msg 125 32 1; #X msg 157 32 0; #X msg 204 31 1; #X msg 234 30 0; #X obj 127 2 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 206 2 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X obj 126 88 metro 200; #X obj 203 87 metro 200; #X obj 242 239 !=; #X obj 231 290 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X connect 0 0 6 0; #X connect 0 0 11 0; #X connect 1 0 3 0; #X connect 2 0 3 0; #X connect 3 0 4 0; #X connect 3 1 5 0; #X connect 4 0 20 0; #X connect 5 0 4 0; #X connect 5 0 20 1; #X connect 6 0 0 1; #X connect 7 0 0 0; #X connect 7 0 1 0; #X connect 8 0 0 0; #X connect 8 0 2 0; #X connect 9 0 18 0; #X connect 10 0 19 0; #X connect 12 0 9 0; #X connect 13 0 10 0; #X connect 14 0 10 0; #X connect 15 0 9 0; #X connect 16 0 12 0; #X connect 16 0 13 0; #X connect 17 0 14 0; #X connect 17 0 15 0; #X connect 18 0 7 0; #X connect 19 0 8 0; #X connect 20 0 21 0; #X connect 21 0 0 1;