I believe that this is perfect
thank you so much. did you just whip that up or did you have it on hand? Best, On Tue, Jul 8, 2008 at 3:09 PM, Claude Heiland-Allen < [EMAIL PROTECTED]> wrote: > Claude Heiland-Allen wrote: > >> Ben Carney wrote: >> >>> I know change doesnt let same numbers pass on. Is there a way to only let >>> numbers pass on if they are say... plus or minus 3 of the current value? >>> >> > Arg, sorry - I was too hasty. > > The attached works ok for me (although with some minor quirks regarding "<" > vs "<="). > > something like this? >> > > [snip nonsense] > > > Claude > -- > http://claudiusmaximus.goto10.org > > #N canvas 0 0 450 300 10; > #X obj 23 17 inlet; > #X obj 26 171 moses; > #X obj 78 172 moses; > #X obj 140 15 loadbang; > #X obj 169 78 f \$1; > #X obj 169 104 abs; > #X obj 76 118 * -1; > #X obj 212 17 inlet; > #X obj 112 146 +; > #X obj 50 217 t f f; > #X obj 51 250 outlet; > #X obj 140 45 t b b; > #X obj 139 67 f 0; > #X obj 57 145 +; > #X connect 0 0 1 0; > #X connect 1 0 9 0; > #X connect 1 1 2 0; > #X connect 2 1 9 0; > #X connect 3 0 11 0; > #X connect 4 0 5 0; > #X connect 5 0 6 0; > #X connect 5 0 8 1; > #X connect 6 0 13 1; > #X connect 7 0 5 0; > #X connect 8 0 2 1; > #X connect 9 0 10 0; > #X connect 9 1 8 0; > #X connect 9 1 13 0; > #X connect 11 0 12 0; > #X connect 11 1 4 0; > #X connect 12 0 8 0; > #X connect 12 0 13 0; > #X connect 13 0 1 1; > > #N canvas 0 0 450 300 10; > #X floatatom 77 95 5 0 0 0 - - -; > #X floatatom 77 182 5 0 0 0 - - -; > #X obj 77 134 differs_by_n 3; > #X floatatom 172 93 5 0 0 0 - - -; > #X connect 0 0 2 0; > #X connect 2 0 1 0; > #X connect 3 0 2 1; > > -- Ben C.
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
