[PD] Peculiar counter behavior.....

chun lee leechun at leechun.freeserve.co.uk
Tue Dec 7 02:34:56 CET 2004


Hi there:

I am stuck on something very very simple but I can't seem to explain what
happened......

Its about making simple float accumulator/counter patches. It sometimes
work, but sometimes not and I can't figure out what makes it work or not
work.

The attached patch contains two counters, one of which works but the other
doesn't. However, the failed one is duplicated from the one that works apart
from changing [+ 0.1] to [+] afterwards. The duplicated one fails after one
cycle.

Could anyone take a look and educate me?

Many thanks

CHUN

 


#N canvas 108 177 472 229 10;
#X obj 25 88 f;
#X floatatom 86 66 5 0 0 0 - - -;
#X obj 82 147 sel 1;
#X obj 25 32 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X msg 41 60 0;
#X floatatom 25 122 5 0 0 0 - - -;
#X obj 70 88 + 0.1;
#X obj 82 124 >= 3;
#X obj 189 93 f;
#X floatatom 250 71 5 0 0 0 - - -;
#X obj 246 152 sel 1;
#X obj 189 37 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X msg 205 65 0;
#X floatatom 189 127 5 0 0 0 - - -;
#X obj 246 129 >= 3;
#X obj 234 94 +;
#X obj 250 16 loadbang;
#X msg 250 43 0.1;
#X obj 25 -5 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X text 42 -4 <-bang here;
#X text 192 176 this one fails after one cycle;
#X connect 0 0 5 0;
#X connect 0 0 6 0;
#X connect 0 0 7 0;
#X connect 1 0 6 1;
#X connect 2 0 4 0;
#X connect 3 0 0 0;
#X connect 4 0 0 0;
#X connect 6 0 0 1;
#X connect 7 0 2 0;
#X connect 8 0 13 0;
#X connect 8 0 14 0;
#X connect 8 0 15 0;
#X connect 9 0 15 1;
#X connect 10 0 12 0;
#X connect 11 0 8 0;
#X connect 12 0 8 0;
#X connect 14 0 10 0;
#X connect 15 0 8 1;
#X connect 16 0 17 0;
#X connect 17 0 9 0;
#X connect 18 0 3 0;
#X connect 18 0 11 0;





More information about the Pd-list mailing list