aboutsummaryrefslogtreecommitdiff
path: root/semento/sft.commun.sc-help.pd
blob: 1e7006b4849b85c5b56e157c60e1a66e4a72b838 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#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
;
#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;