> thanks matju
>
>
>> So when you output an y, you also need to set a pair of [moses] so that
>> it
>> can find numbers outside of the interval y-c < x < y+c, or equivalently,
>> abs(x-y) < c, where c is the minimum amount of change that you want to
>> hear
>> about.
>>
>
> I did it in with:
>
> #N canvas 0 0 450 300 10;
> #X obj 38 -73 delta;
> #X obj 37 -50 abs;
> #X obj 141 -72 sel 1;
> #X obj 94 -96 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
> -1;
> #X obj 40 -100 change;
> #X obj 94 -63 f;
> #X obj 98 -30 outlet;
> #X obj 40 -127 inlet;
> #X obj 179 -126 inlet;
> #X obj 141 -94 >= \$1;
> #X connect 0 0 1 0;
> #X connect 1 0 9 0;
> #X connect 2 0 3 0;
> #X connect 3 0 5 0;
> #X connect 4 0 0 0;
> #X connect 4 0 5 1;
> #X connect 5 0 6 0;
> #X connect 7 0 4 0;
> #X connect 8 0 9 1;
> #X connect 9 0 2 0;
>
>
> is that what you meant?
>
>
> salut
>
> glerm

Hi glerm,

I'd put a [t b b] after your [change]

gr,
Tim

#N canvas 323 179 450 263 10;
#X obj 40 -43 delta;
#X obj 40 -20 abs;
#X obj 40 33 sel 1;
#X obj 40 -100 change;
#X obj 40 65 f;
#X obj 40 88 outlet;
#X obj 40 -127 inlet;
#X obj 140 -127 inlet;
#X obj 40 11 >= \$1;
#X obj 40 -72 t b b;
#X text 82 -75 first store the value \, then evaluate if it qualifies
to be sent out (enough difference to previous);
#X connect 0 0 1 0;
#X connect 1 0 8 0;
#X connect 2 0 4 0;
#X connect 3 0 9 0;
#X connect 4 0 5 0;
#X connect 6 0 3 0;
#X connect 7 0 8 1;
#X connect 8 0 2 0;
#X connect 9 0 0 0;
#X connect 9 1 4 1;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to