From 33789244c6dbe3611607e77fa98f0f0c72f354ee Mon Sep 17 00:00:00 2001 From: "B. Bogart" Date: Sat, 26 Nov 2005 22:21:07 +0000 Subject: Initial Commit of pixelTANGO 0.3.4 svn path=/trunk/abstractions/pixelTANGO/; revision=4049 --- abstractions/invert_scale.pd | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 abstractions/invert_scale.pd (limited to 'abstractions/invert_scale.pd') diff --git a/abstractions/invert_scale.pd b/abstractions/invert_scale.pd new file mode 100644 index 0000000..5985e78 --- /dev/null +++ b/abstractions/invert_scale.pd @@ -0,0 +1,15 @@ +#N canvas 343 241 489 295 10; +#X obj 25 74 inlet; +#X obj 45 207 outlet; +#X obj 41 103 * -1; +#X obj 46 141 + \$2; +#X obj 43 172 + \$1; +#X text 83 141 Upper Limit; +#X text 78 173 Lower Limit; +#X text 22 17 Inverts a scale of numbers so that the upper and lower +limits are reversed. This works for all states inbetween limits as +well. Usage: [invert_scale lower upper]; +#X connect 0 0 2 0; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 4 0 1 0; -- cgit v1.2.1