diff options
Diffstat (limited to 'puremapping')
-rw-r--r-- | puremapping/fchange-help.pd | 19 | ||||
-rwxr-xr-x | puremapping/fchange.pd | 21 |
2 files changed, 40 insertions, 0 deletions
diff --git a/puremapping/fchange-help.pd b/puremapping/fchange-help.pd new file mode 100644 index 0000000..ba18430 --- /dev/null +++ b/puremapping/fchange-help.pd @@ -0,0 +1,19 @@ +#N canvas 526 272 527 246 10; +#X floatatom 44 189 5 0 0 0 - - -; +#X floatatom 67 149 5 0 0 0 - - -; +#X obj 44 72 random 111; +#X obj 44 50 metro 50; +#X obj 44 30 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1 +; +#X obj 67 123 fchange 0.5; +#X text 139 12 change for float (with tolerence); +#X obj 44 94 / 111; +#X text 139 32 output a new value only if |input - output| > tolerence +; +#X text 162 124 Arg1 : tolerence (defaut is 0); +#X connect 2 0 7 0; +#X connect 3 0 2 0; +#X connect 4 0 3 0; +#X connect 5 0 1 0; +#X connect 7 0 5 0; +#X connect 7 0 0 0; diff --git a/puremapping/fchange.pd b/puremapping/fchange.pd new file mode 100755 index 0000000..aedbd1c --- /dev/null +++ b/puremapping/fchange.pd @@ -0,0 +1,21 @@ +#N canvas 17 257 494 459 10; +#X obj 163 327 outlet; +#X obj 163 120 f; +#X obj 46 250 spigot; +#X obj 46 114 t f f; +#X obj 73 168 -; +#X obj 73 190 abs; +#X obj 46 92 inlet; +#X obj 178 89 inlet; +#X obj 73 211 >= \$1; +#X connect 1 0 0 0; +#X connect 1 0 4 1; +#X connect 2 0 1 0; +#X connect 3 0 2 0; +#X connect 3 1 4 0; +#X connect 4 0 5 0; +#X connect 5 0 8 0; +#X connect 6 0 3 0; +#X connect 7 0 1 1; +#X connect 7 0 4 1; +#X connect 8 0 2 1; |