since cyrille answered my question with cat like speed and pinpoint accuracy, I have another on for the list.
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?
Ben Carney wrote:
since cyrille answered my question with cat like speed and pinpoint accuracy, I have another on for the list.
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?
something like this?
in [t f b] | X | [f ] | | | [t f f] | [- 3] [+ 3] [moses]/[moses] | out
http://claudiusmaximus.goto10.org
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
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]
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;
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 < claudiusmaximus@goto10.org> 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 Carney wrote:
I believe that this is perfect
thank you so much.
did you just whip that up or did you have it on hand?
Made freshly, so fresh that there's a bug when changing right hand inlet..
Attached is a fixed version (I hope)
Best,
On Tue, Jul 8, 2008 at 3:09 PM, Claude Heiland-Allen < claudiusmaximus@goto10.org> 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
#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 168 105 abs; #X obj 76 118 * -1; #X obj 210 14 inlet; #X obj 139 139 +; #X obj 50 217 t f f; #X obj 50 251 outlet; #X obj 140 45 t b b; #X obj 139 78 f 0; #X obj 57 145 +; #X obj 210 42 t b f; #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 14 0; #X connect 8 0 2 1; #X connect 9 0 10 0; #X connect 9 1 12 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; #X connect 14 0 12 0; #X connect 14 1 5 0;
#N canvas 0 0 450 300 10; #X floatatom 77 95 5 0 0 0 - - -; #X floatatom 77 182 5 0 0 0 - - -; #X floatatom 172 93 5 0 0 0 - - -; #X obj 77 134 differs_by_n 3; #X connect 0 0 3 0; #X connect 2 0 3 1; #X connect 3 0 1 0;