aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--semento/sft.commun.sc-help.pd55
-rw-r--r--semento/sft.commun.sc.pd192
2 files changed, 124 insertions, 123 deletions
diff --git a/semento/sft.commun.sc-help.pd b/semento/sft.commun.sc-help.pd
index 1e7006b..80d7785 100644
--- a/semento/sft.commun.sc-help.pd
+++ b/semento/sft.commun.sc-help.pd
@@ -1,33 +1,36 @@
-#N canvas 731 31 580 522 10;
-#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 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
+#N canvas 731 31 478 597 10;
+#X text 130 258 Inlet 2 changes the lower scaling bound;
+#X text 228 288 Inlet 3 changes the upper scaling bound;
+#X floatatom 131 273 5 0 0 0 - - -;
+#X floatatom 232 304 5 0 0 0 - - -;
+#X floatatom 31 253 5 0 0 0 - - -;
+#X floatatom 31 363 5 0 0 0 - - -;
+#X text 29 236 Inlet 1 is the standard commun input;
+#X text 340 552 2008 Luke Iannini;
+#X text 2 573 Originally based on [commun-scale] by Frank Barknecht
;
#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
-(useful to pare down the options to just the most interesting inputs).
-;
-#X text 194 416 "round" rounds up from 0.5 increments so that an integer
-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 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;
+#X obj 31 327 sft.commun.sc \$0 \$3/parameter 5 37;
+#X text 13 109 Don't use this for communs that are meant to store symbolic
+or list data (use regular sft.commun for that).;
+#X text 34 404 * Argument 5 and 6 can be "round" and/or "hide" (the
+order doesn't matter).;
+#X text 34 434 * "hide" hides the parameter from Controctopus sniffing
+(useful to pare down the options to just the most interesting inputs).
+;
+#X text 34 476 * "round" rounds up from 0.5 increments so that an integer
+is always output (useful for communs connected to v/hdials and toggles).
+;
+#X text 14 62 0-1 data should be directed to /paramatername-normalized.
+The address /parametername still exists and will output arbitrary data.
+;
+#X text 328 537 made more confusing by;
+#X connect 2 0 12 1;
+#X connect 3 0 12 2;
+#X connect 4 0 12 0;
+#X connect 12 0 5 0;
diff --git a/semento/sft.commun.sc.pd b/semento/sft.commun.sc.pd
index 75cc8f6..ab7e29d 100644
--- a/semento/sft.commun.sc.pd
+++ b/semento/sft.commun.sc.pd
@@ -1,136 +1,134 @@
-#N canvas 405 191 1017 621 10;
+#N canvas 268 124 938 618 10;
#X obj 12 11 inlet;
-#X obj 111 584 outlet;
+#X obj 76 584 outlet;
#X text 5 93 RRADICAL_MEMENTO is also in originator;
-#X obj 111 557 list;
-#X obj 750 392 spigot 1;
-#X msg 880 375 0;
+#X obj 76 557 list;
+#X obj 670 372 spigot 1;
+#X msg 800 355 0;
#X obj 520 166 unpack f f;
-#X text 629 515 Have an [OSCroute \$1-normalized] and leave the regular
-[OSCroute \$1] directly connected. Yes. Do that after this is confirmed
-working!;
-#X obj 191 335 expr_scale 0 1 \$3 \$4;
-#X obj 254 388 expr_scale 0 1 \$3 \$4;
-#X obj 241 473 hotpack f f;
+#X obj 191 315 expr_scale 0 1 \$3 \$4;
+#X obj 318 315 expr_scale 0 1 \$3 \$4;
+#X obj 221 373 hotpack f f;
#X obj 766 26 loadbang;
#X msg 766 127 1;
-#X obj -24 509 demultiplex;
-#X obj 39 534 round;
-#X obj 73 482 expr_scale 0 1 \$3 \$4;
+#X obj 13 453 demultiplex;
+#X obj 76 478 round;
+#X obj 13 389 expr_scale 0 1 \$3 \$4;
#X obj 156 11 inlet;
#X obj 286 11 inlet;
-#X text 628 559 Use to constrain input to a smaller subset of the full
+#X text 513 486 Use to constrain input to a smaller subset of the full
range. Input as relative to 0-1. Reports back what the result will
be when scaled fully;
#X obj 156 59 s \$0boundLowFull;
#X obj 286 59 s \$0boundHighFull;
#X obj 520 210 s \$0constrainLow;
#X obj 577 188 s \$0constrainHigh;
-#X obj 281 227 r \$0boundLowFull;
-#X obj 331 248 r \$0boundHighFull;
-#X obj 191 306 r \$0constrainLow;
-#X obj 254 357 r \$0constrainHigh;
+#X obj 191 229 r \$0boundLowFull;
+#X obj 318 229 r \$0boundHighFull;
+#X obj 191 294 r \$0constrainLow;
+#X obj 318 294 r \$0constrainHigh;
#X obj 456 30 loadbang;
#X msg 456 55 0 1;
-#X obj 331 273 t b a;
-#X obj 281 273 t b a;
+#X obj 318 254 t b a;
+#X obj 191 256 t b a;
#X obj 520 125 list;
#X obj 571 125 t a a;
#X obj 520 97 route get;
-#X obj 241 497 t a a;
-#X text 318 466 Allows one to replace the scaled output with something
+#X obj 221 397 t a a;
+#X text 277 394 Allows one to replace the scaled output with something
prettier;
#X text 502 274 Used to recall the 0-1 ranged constraint;
#X obj 766 102 sel round hide;
#X obj 766 149 s \$0round?;
-#X obj 0 483 r \$0round?;
-#X obj -24 534 t a;
+#X obj 37 427 r \$0round?;
+#X obj 13 478 t a;
#X obj 766 78 list-drip;
#X obj 835 149 s \$0hide?;
#X obj 766 53 list append \$5 \$6;
-#X obj 880 352 r \$0hide?;
-#X text 38 193 Read \$1-OSC (== \$0-OSC) \, filter by argument \$2
+#X obj 800 332 r \$0hide?;
+#X text 145 512 Read \$1-OSC (== \$0-OSC) \, filter by argument \$2
;
-#X obj 153 171 deeprouteOSC \$2-normalized;
-#X obj 30 172 deeprouteOSC \$2;
-#X obj 30 148 r \$1-RRADICAL-OSC;
-#X obj 153 148 r \$1-RRADICAL-OSC;
+#X obj 13 257 deeprouteOSC \$2-normalized;
+#X obj 125 477 deeprouteOSC \$2;
+#X obj 125 453 r \$1-RRADICAL-OSC;
+#X obj 13 234 r \$1-RRADICAL-OSC;
#X obj 12 42 prepent \$2;
#X obj 12 69 s \$1-RRADICAL-MEMENTO;
#X obj 520 30 r \$1-RRADICAL-OSC;
#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 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 670 342 r \$1/listParams;
+#X obj 670 429 s \$1/returnParams;
+#X obj 275 427 s \$1\$2/constraint/lookup/call;
+#X obj 275 447 r \$1\$2/constraint/lookup/response;
+#X obj 248 490 s \$1-COMMUN-RESPONSE;
+#X obj 76 532 route \$2;
+#X obj 76 508 r \$1-in;
#X obj 520 53 deeprouteOSC \$2-constrain;
-#X obj 268 559 prepent \$2-constrained-to;
+#X obj 248 469 prepent \$2-constrained-to;
#X obj 504 234 prepent \$2-constrained-to-0-1;
#X text 585 78 Save the constraints;
#X obj 587 97 commun \$2-constraints \$1;
-#X connect 0 0 50 0;
+#X obj 670 399 list append \$2-normalized;
+#X text 151 499 ^;
+#X connect 0 0 49 0;
#X connect 3 0 1 0;
-#X connect 4 0 61 0;
+#X connect 4 0 65 0;
#X connect 5 0 4 1;
-#X connect 6 0 21 0;
-#X connect 6 1 22 0;
-#X connect 8 0 10 0;
-#X connect 8 0 15 3;
-#X connect 9 0 10 1;
-#X connect 9 0 15 4;
-#X connect 10 0 34 0;
-#X connect 11 0 43 0;
-#X connect 12 0 38 0;
-#X connect 13 0 40 0;
-#X connect 13 1 14 0;
-#X connect 14 0 40 0;
-#X connect 15 0 13 0;
+#X connect 6 0 20 0;
+#X connect 6 1 21 0;
+#X connect 7 0 9 0;
+#X connect 7 0 14 3;
+#X connect 8 0 9 1;
+#X connect 8 0 14 4;
+#X connect 9 0 33 0;
+#X connect 10 0 42 0;
+#X connect 11 0 37 0;
+#X connect 12 0 39 0;
+#X connect 12 1 13 0;
+#X connect 13 0 39 0;
+#X connect 14 0 12 0;
+#X connect 15 0 18 0;
#X connect 16 0 19 0;
-#X connect 17 0 20 0;
-#X connect 23 0 30 0;
-#X connect 24 0 29 0;
+#X connect 22 0 29 0;
+#X connect 23 0 28 0;
+#X connect 24 0 7 0;
#X connect 25 0 8 0;
-#X connect 26 0 9 0;
-#X connect 27 0 28 0;
-#X connect 28 0 6 0;
-#X connect 29 0 9 0;
-#X connect 29 1 9 4;
-#X connect 29 1 8 4;
-#X connect 30 0 8 0;
-#X connect 30 1 9 3;
-#X connect 30 1 8 3;
+#X connect 26 0 27 0;
+#X connect 27 0 6 0;
+#X connect 28 0 8 0;
+#X connect 28 1 8 4;
+#X connect 28 1 7 4;
+#X connect 29 0 7 0;
+#X connect 29 1 8 3;
+#X connect 29 1 7 3;
+#X connect 30 0 6 0;
+#X connect 30 0 62 0;
#X connect 31 0 6 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 33 1 66 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;
-#X connect 40 0 3 0;
-#X connect 41 0 37 0;
-#X connect 43 0 41 0;
-#X connect 44 0 5 0;
-#X connect 46 0 15 0;
-#X connect 47 0 15 0;
-#X connect 48 0 47 0;
-#X connect 49 0 46 0;
-#X connect 50 0 51 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;
-#X connect 66 0 32 0;
+#X connect 31 1 30 1;
+#X connect 32 0 30 0;
+#X connect 32 1 31 0;
+#X connect 32 1 64 0;
+#X connect 33 0 55 0;
+#X connect 33 1 61 0;
+#X connect 36 0 11 0;
+#X connect 36 1 41 0;
+#X connect 38 0 12 1;
+#X connect 39 0 3 0;
+#X connect 40 0 36 0;
+#X connect 42 0 40 0;
+#X connect 43 0 5 0;
+#X connect 45 0 14 0;
+#X connect 46 0 3 0;
+#X connect 47 0 46 0;
+#X connect 48 0 45 0;
+#X connect 49 0 50 0;
+#X connect 51 0 60 0;
+#X connect 53 0 4 0;
+#X connect 56 0 61 0;
+#X connect 58 0 3 0;
+#X connect 59 0 58 0;
+#X connect 60 0 32 0;
+#X connect 61 0 57 0;
+#X connect 62 0 52 0;
+#X connect 64 0 31 0;
+#X connect 65 0 54 0;