On Sat, 28 Feb 2009, glerm soares wrote:

I did it in with:
#X obj 38 -73 delta;
#X obj 37 -50 abs;
#X obj 141 -72 sel 1;
is that what you meant?

No, it only outputs when there is a large enough difference to the previous input that was not exactly the same. What I mean is to only output when there is a large enough difference to the previous output.

Btw, what's [delta] ? I suppose you can do it with just a [t f f] and a [-] ?

What I mean is something like this:

#N canvas 497 97 450 300 10;
#X obj 9 8 inlet;
#X obj 9 46 -;
#X obj 9 65 abs;
#X obj 9 84 moses \$1;
#X obj 60 9 inlet;
#X obj 9 27 t f f;
#X obj 80 132 f;
#X obj 80 113 b;
#X obj 80 151 outlet;
#X connect 0 0 5 0;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 1 7 0;
#X connect 4 0 3 1;
#X connect 5 0 1 0;
#X connect 5 1 6 1;
#X connect 6 0 8 0;
#X connect 6 0 1 1;
#X connect 7 0 6 0;

 _ _ __ ___ _____ ________ _____________ _____________________ ...
| Mathieu Bouchard - tél:+1.514.383.3801, Montréal, Québec
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to