Revision: 10063 http://pure-data.svn.sourceforge.net/pure-data/?rev=10063&view=rev Author: lukeiannini Date: 2008-06-21 11:30:40 -0700 (Sat, 21 Jun 2008)
Log Message: ----------- cleaned up sft.commun.sc, added multiplication support to scaling
Modified Paths: -------------- trunk/abstractions/senderfruit/semento/sft.commun.sc.ez.pd trunk/abstractions/senderfruit/semento/sft.commun.sc.pd
Modified: trunk/abstractions/senderfruit/semento/sft.commun.sc.ez.pd =================================================================== --- trunk/abstractions/senderfruit/semento/sft.commun.sc.ez.pd 2008-06-21 17:34:17 UTC (rev 10062) +++ trunk/abstractions/senderfruit/semento/sft.commun.sc.ez.pd 2008-06-21 18:30:40 UTC (rev 10063) @@ -3,11 +3,11 @@ #X obj 106 95 s $1$3R; #X text 47 201 Receives from $0paramName and sends to $0paramNameR ; -#X text 46 153 [sft.commun.sc.ez $0 $3 paramName 0 5000 btn* hide*] -; #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; +#X text 46 153 [sft.commun.sc.ez $0 $3 paramName 0 5000 round* hide*] +; +#X connect 0 0 4 0; +#X connect 4 0 1 0;
Modified: trunk/abstractions/senderfruit/semento/sft.commun.sc.pd =================================================================== --- trunk/abstractions/senderfruit/semento/sft.commun.sc.pd 2008-06-21 17:34:17 UTC (rev 10062) +++ trunk/abstractions/senderfruit/semento/sft.commun.sc.pd 2008-06-21 18:30:40 UTC (rev 10063) @@ -1,134 +1,185 @@ -#N canvas 268 124 938 618 10; +#N canvas 286 32 505 662 10; #X obj 12 11 inlet; -#X obj 76 584 outlet; +#X obj 108 565 outlet; #X text 5 93 RRADICAL_MEMENTO is also in originator; -#X obj 76 557 list; -#X obj 670 372 spigot 1; -#X msg 800 355 0; -#X obj 520 166 unpack 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 13 453 demultiplex; -#X obj 76 478 round; -#X obj 13 389 expr_scale 0 1 $3 $4; +#X obj 108 538 list; +#X obj 132 318 expr_scale 0 1 $3 $4; +#X obj 289 318 expr_scale 0 1 $3 $4; +#X obj 176 371 hotpack f f; +#X obj 45 437 demultiplex; +#X obj 108 459 round; +#X obj 45 370 expr_scale 0 1 $3 $4; #X obj 156 11 inlet; #X obj 286 11 inlet; -#X text 513 486 Use to constrain input to a smaller subset of the full +#X text 63 590 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 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 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 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 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 800 332 r $0hide?; -#X text 145 512 Read $1-OSC (== $0-OSC) , filter by argument $2 +#X obj 162 252 r $0boundLowFull; +#X obj 329 252 r $0boundHighFull; +#X obj 132 229 r $0constrainLow; +#X obj 289 230 r $0constrainHigh; +#X obj 329 277 t b a; +#X obj 162 279 t b a; +#X obj 108 415 r $0round?; +#X obj 45 459 t a; +#X text 186 548 Read $1-OSC (== $0-OSC) , filter by argument $2 ; -#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 45 188 deeprouteOSC $2-normalized; +#X obj 187 521 deeprouteOSC $2; +#X obj 187 497 r $1-RRADICAL-OSC; +#X obj 45 165 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 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 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 obj 670 399 list append $2-normalized; -#X text 151 499 ^; -#X connect 0 0 49 0; +#X obj 108 513 route $2; +#X obj 108 489 r $1-in; +#X text 191 538 ^; +#N canvas 0 22 221 199 handleArgs 0; +#X obj 26 26 loadbang; +#X msg 26 127 1; +#X obj 26 102 sel round hide; +#X obj 26 149 s $0round?; +#X obj 26 78 list-drip; +#X obj 95 149 s $0hide?; +#X obj 26 53 list append $5 $6; +#X connect 0 0 6 0; +#X connect 1 0 3 0; +#X connect 2 0 1 0; +#X connect 2 1 5 0; +#X connect 4 0 2 0; +#X connect 6 0 4 0; +#X restore 297 108 pd handleArgs; +#N canvas 0 22 390 211 listParams 0; +#X obj 31 79 spigot 1; +#X msg 161 62 0; +#X obj 161 39 r $0hide?; +#X obj 31 49 r $1/listParams; +#X obj 31 136 s $1/returnParams; +#X obj 31 106 list append $2-normalized; +#X text 16 161 listParams is used by Controctopus , so we return a +special address for 0-1 data input only; +#X connect 0 0 5 0; +#X connect 1 0 0 1; +#X connect 2 0 1 0; +#X connect 3 0 0 0; +#X connect 5 0 4 0; +#X restore 297 133 pd listParams; +#N canvas 0 22 352 303 receiveConstraints 0; +#X obj 80 156 unpack f f; +#X obj 80 200 s $0constrainLow; +#X obj 137 178 s $0constrainHigh; +#X obj 16 50 loadbang; +#X msg 16 75 0 1; +#X obj 80 115 list; +#X obj 131 115 t a a; +#X obj 80 87 route get; +#X text 62 264 Used to recall the 0-1 ranged constraint; +#X obj 80 20 r $1-RRADICAL-OSC; +#X obj 64 245 s $1-COMMUN-RESPONSE; +#X obj 80 43 deeprouteOSC $2-constrain; +#X obj 64 224 prepent $2-constrained-to-0-1; +#X text 145 68 Save the constraints; +#X obj 147 87 commun $2-constraints $1; +#X connect 0 0 1 0; +#X connect 0 1 2 0; +#X connect 3 0 4 0; +#X connect 4 0 0 0; +#X connect 4 0 5 1; +#X connect 5 0 0 0; +#X connect 5 0 12 0; +#X connect 6 0 0 0; +#X connect 6 1 5 1; +#X connect 7 0 5 0; +#X connect 7 1 6 0; +#X connect 7 1 14 0; +#X connect 9 0 11 0; +#X connect 11 0 7 0; +#X connect 12 0 10 0; +#X connect 14 0 6 0; +#X restore 297 157 pd receiveConstraints; +#N canvas 323 119 442 277 constraintsFeedback 0; +#X obj 19 35 inlet; +#X obj 19 63 t a a b; +#X msg 58 85 1; +#X obj 19 128 spigot; +#X obj 38 107 s $1$2/constraint/lookup/call; +#X obj 67 129 r $1$2/constraint/lookup/response; +#X obj 67 151 t a b; +#X msg 94 173 0; +#X obj 19 234 s $1-COMMUN-RESPONSE; +#X obj 19 213 prepent $2-constrained-to; +#X text 126 164 Only allow one or the other; +#X text 79 31 Allows one to replace the "scaled output" response with +something prettier (e.g. , if it actually corresponds to a waveform +selector , you can return the names); +#X connect 0 0 1 0; +#X connect 1 0 3 0; +#X connect 1 1 4 0; +#X connect 1 2 2 0; +#X connect 2 0 3 1; +#X connect 3 0 9 0; +#X connect 5 0 6 0; +#X connect 6 0 9 0; +#X connect 6 1 7 0; +#X connect 7 0 3 1; +#X connect 9 0 8 0; +#X restore 176 396 pd constraintsFeedback; +#N canvas 488 62 303 238 receiveMultiplier 0; +#X obj 133 63 commun $2-multiplier $1; +#X obj 72 15 r $1-RRADICAL-OSC; +#X obj 72 38 deeprouteOSC $2-multiplier; +#X obj 72 63 route get; +#X obj 72 98 f; +#X obj 38 171 prepent $2-multiplier-is; +#X obj 38 194 s $1-COMMUN-RESPONSE; +#X obj 72 134 s $0multiplier; +#X obj 123 98 t a a; +#X obj 7 17 loadbang; +#X msg 7 42 1; +#X connect 0 0 8 0; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 3 0 4 0; +#X connect 3 1 0 0; +#X connect 3 1 8 0; +#X connect 4 0 7 0; +#X connect 4 0 5 0; +#X connect 5 0 6 0; +#X connect 8 0 7 0; +#X connect 8 1 4 1; +#X connect 9 0 10 0; +#X connect 10 0 7 0; +#X restore 297 181 pd receiveMultiplier; +#X connect 0 0 28 0; #X connect 3 0 1 0; -#X connect 4 0 65 0; -#X connect 5 0 4 1; -#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 4 0 6 0; +#X connect 4 0 9 3; +#X connect 5 0 6 1; +#X connect 5 0 9 4; +#X connect 6 0 36 0; +#X connect 7 0 22 0; +#X connect 7 1 8 0; +#X connect 8 0 22 0; +#X connect 9 0 7 0; +#X connect 10 0 13 0; +#X connect 11 0 14 0; +#X connect 15 0 20 0; #X connect 16 0 19 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 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 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; +#X connect 17 0 4 0; +#X connect 18 0 5 0; +#X connect 19 0 5 0; +#X connect 19 1 5 4; +#X connect 19 1 4 4; +#X connect 20 0 4 0; +#X connect 20 1 5 3; +#X connect 20 1 4 3; +#X connect 21 0 7 1; +#X connect 22 0 3 0; +#X connect 24 0 9 0; +#X connect 25 0 3 0; +#X connect 26 0 25 0; +#X connect 27 0 24 0; +#X connect 28 0 29 0; +#X connect 30 0 3 0; +#X connect 31 0 30 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.