aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--semento/sft.commun.sc-help.pd24
-rw-r--r--semento/sft.commun.sc.ez.pd20
-rw-r--r--semento/sft.commun.sc.pd32
3 files changed, 39 insertions, 37 deletions
diff --git a/semento/sft.commun.sc-help.pd b/semento/sft.commun.sc-help.pd
index d77ac90..1e7006b 100644
--- a/semento/sft.commun.sc-help.pd
+++ b/semento/sft.commun.sc-help.pd
@@ -1,20 +1,19 @@
#N canvas 731 31 580 522 10;
-#X text 234 238 Inlet 2 changes the lower scaling bound;
-#X text 326 278 Inlet 3 changes the upper scaling bound;
-#X floatatom 235 253 5 0 0 0 - - -;
-#X floatatom 330 294 5 0 0 0 - - -;
-#X floatatom 141 223 5 0 0 0 - - -;
+#X text 240 248 Inlet 2 changes the lower scaling bound;
+#X text 338 278 Inlet 3 changes the upper scaling bound;
+#X floatatom 241 263 5 0 0 0 - - -;
+#X floatatom 342 294 5 0 0 0 - - -;
+#X floatatom 141 243 5 0 0 0 - - -;
#X floatatom 141 353 5 0 0 0 - - -;
#X text 13 77 Obviously \, don't use this for communs that are meant
to store symbolic or list data (use regular sft.commun for that). (That
is \, only use this for OSC-control-intended stuff);
-#X text 139 206 Inlet 1 is the standard commun input;
+#X text 139 226 Inlet 1 is the standard commun input;
#X text 194 344 Argument 5 and 6 can be "round" and/or "hide" (the
order doesn't matter).;
#X text 454 497 2008 Luke Iannini;
#X text 10 494 Originally based on [commun-scale] by Frank Barknecht
;
-#X obj 141 317 sft.commun.sc \$0 /parameter 5 37;
#X text 13 26 Use sft.commun.sc(ale) so that 0-1 values coming out
of OSC stuff (like Controctopus) can be rescaled appropriately.;
#X text 194 374 "hide" hides the parameter from Controctopus sniffing
@@ -25,7 +24,10 @@ is always output (useful for communs connected to v/hdials and toggles).
;
#X text 14 145 sft.commun.sc's first and second args are swapped from
sft.commun (i.e. \$0 and /parametername);
-#X connect 2 0 11 1;
-#X connect 3 0 11 2;
-#X connect 4 0 11 0;
-#X connect 11 0 5 0;
+#X text 15 182 Optionally prepend a unique ID to the parameter when
+using with an abstraction that will have multiple copies;
+#X obj 141 317 sft.commun.sc \$0 \$3/parameter 5 37;
+#X connect 2 0 16 1;
+#X connect 3 0 16 2;
+#X connect 4 0 16 0;
+#X connect 16 0 5 0;
diff --git a/semento/sft.commun.sc.ez.pd b/semento/sft.commun.sc.ez.pd
index 50efdd9..dad7616 100644
--- a/semento/sft.commun.sc.ez.pd
+++ b/semento/sft.commun.sc.ez.pd
@@ -1,13 +1,13 @@
#N canvas 33 512 438 278 10;
-#X obj 106 66 r \$1\$3;
-#X obj 106 125 s \$1\$3R;
-#X text 47 201 \$3 is like /chptrA. In Bathyscaphe that's \$3 \, in
-FXS it's \$2.;
-#X text 47 231 Receives from \$0paramName and sends to \$0paramNameR
+#X obj 106 36 r \$1\$3;
+#X obj 106 95 s \$1\$3R;
+#X text 47 201 Receives from \$0paramName and sends to \$0paramNameR
;
-#X text 46 183 [sft.commun.sc.ez \$0 \$3 paramName 0 5000 btn* hide*]
+#X text 46 153 [sft.commun.sc.ez \$0 \$3 paramName 0 5000 btn* hide*]
;
-#X text 46 250 *optional;
-#X obj 106 96 sft.commun.sc \$1 \$2/\$3 \$4 \$5 \$6 \$7;
-#X connect 0 0 6 0;
-#X connect 6 0 1 0;
+#X text 330 223 *optional;
+#X obj 106 66 sft.commun.sc \$1 \$2/\$3 \$4 \$5 \$6 \$7;
+#X text 47 171 \$3 is uniqueID like /chptrA. In Bathyscaphe that's
+\$3 \, in FXS it's \$2.;
+#X connect 0 0 5 0;
+#X connect 5 0 1 0;
diff --git a/semento/sft.commun.sc.pd b/semento/sft.commun.sc.pd
index 7864b93..f637606 100644
--- a/semento/sft.commun.sc.pd
+++ b/semento/sft.commun.sc.pd
@@ -58,21 +58,21 @@ prettier;
#X obj 12 42 prepent \$2;
#X obj 12 69 s \$1-RRADICAL-MEMENTO;
#X obj 520 30 r \$1-RRADICAL-OSC;
-#X obj 520 53 routeOSC \$2-constrain;
-#X obj 504 234 prepent \$2-constrained-to-0-1;
#X obj 504 255 s \$1-COMMUN-RESPONSE;
#X obj 750 362 r \$1/listParams;
#X obj 750 449 s \$1/returnParams;
#X obj 295 497 s \$1\$2/constraint/lookup/call;
#X obj 295 517 r \$1\$2/constraint/lookup/response;
-#X obj 268 559 prepent \$2-constrained-to;
#X obj 268 580 s \$1-COMMUN-RESPONSE;
#X obj 111 532 route \$2;
#X obj 111 505 r \$1-in;
#X obj 750 419 list append \$2;
+#X obj 520 53 deeprouteOSC \$2-constrain;
+#X obj 268 559 prepent \$2-constrained-to;
+#X obj 504 234 prepent \$2-constrained-to-0-1;
#X connect 0 0 50 0;
#X connect 3 0 1 0;
-#X connect 4 0 64 0;
+#X connect 4 0 61 0;
#X connect 5 0 4 1;
#X connect 6 0 21 0;
#X connect 6 1 22 0;
@@ -102,13 +102,13 @@ prettier;
#X connect 30 1 9 3;
#X connect 30 1 8 3;
#X connect 31 0 6 0;
-#X connect 31 0 54 0;
+#X connect 31 0 64 0;
#X connect 32 0 6 0;
#X connect 32 1 31 1;
#X connect 33 0 31 0;
#X connect 33 1 32 0;
-#X connect 34 0 58 0;
-#X connect 34 1 60 0;
+#X connect 34 0 56 0;
+#X connect 34 1 63 0;
#X connect 37 0 12 0;
#X connect 37 1 42 0;
#X connect 39 0 13 1;
@@ -121,12 +121,12 @@ prettier;
#X connect 48 0 47 0;
#X connect 49 0 46 0;
#X connect 50 0 51 0;
-#X connect 52 0 53 0;
-#X connect 53 0 33 0;
-#X connect 54 0 55 0;
-#X connect 56 0 4 0;
-#X connect 59 0 60 0;
-#X connect 60 0 61 0;
-#X connect 62 0 3 0;
-#X connect 63 0 62 0;
-#X connect 64 0 57 0;
+#X connect 52 0 62 0;
+#X connect 54 0 4 0;
+#X connect 57 0 63 0;
+#X connect 59 0 3 0;
+#X connect 60 0 59 0;
+#X connect 61 0 55 0;
+#X connect 62 0 33 0;
+#X connect 63 0 58 0;
+#X connect 64 0 53 0;