diff options
author | Luke Iannini <lukeiannini@users.sourceforge.net> | 2008-07-25 08:58:52 +0000 |
---|---|---|
committer | Luke Iannini <lukeiannini@users.sourceforge.net> | 2008-07-25 08:58:52 +0000 |
commit | 7d3d21431ff710a5dd84c8198f7018862595d2e2 (patch) | |
tree | a13620f5c1591310bbddf255ce979d00a0cc7b11 /memento-p | |
parent | af6ebfa77c12c2aa70b0ab9c62f5a48f3c78bf4e (diff) |
added bang/empty list filter as per recent sssad discussion
svn path=/trunk/abstractions/senderfruit/; revision=10218
Diffstat (limited to 'memento-p')
-rw-r--r-- | memento-p/commun-c-constrain.pd | 8 | ||||
-rw-r--r-- | memento-p/commun-c-ez.pd | 4 | ||||
-rw-r--r-- | memento-p/commun-c-scale.pd | 43 | ||||
-rw-r--r-- | memento-p/commun-c.pd | 8 |
4 files changed, 34 insertions, 29 deletions
diff --git a/memento-p/commun-c-constrain.pd b/memento-p/commun-c-constrain.pd index 0336c48..27a1329 100644 --- a/memento-p/commun-c-constrain.pd +++ b/memento-p/commun-c-constrain.pd @@ -1,6 +1,6 @@ #N canvas 286 32 505 662 10; #X obj 12 11 inlet; -#X obj 108 565 outlet; +#X obj 108 585 outlet; #X text 5 93 RRADICAL_MEMENTO is also in originator; #X obj 108 538 list; #X obj 132 318 expr_scale 0 1 \$3 \$4; @@ -11,7 +11,7 @@ #X obj 45 370 expr_scale 0 1 \$3 \$4; #X obj 156 11 inlet; #X obj 286 11 inlet; -#X text 63 590 Use to constrain input to a smaller subset of the full +#X text 63 610 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; @@ -153,8 +153,9 @@ selector \, you can return the names); #X restore 297 181 pd receiveMultiplier; #X obj 81 391 r \$0multiplier; #X obj 45 408 *; +#X obj 108 562 route bang; #X connect 0 0 28 0; -#X connect 3 0 1 0; +#X connect 3 0 40 0; #X connect 4 0 6 0; #X connect 4 0 9 3; #X connect 5 0 6 1; @@ -187,3 +188,4 @@ selector \, you can return the names); #X connect 31 0 30 0; #X connect 38 0 39 1; #X connect 39 0 7 0; +#X connect 40 1 1 0; diff --git a/memento-p/commun-c-ez.pd b/memento-p/commun-c-ez.pd index da1c549..f9e4992 100644 --- a/memento-p/commun-c-ez.pd +++ b/memento-p/commun-c-ez.pd @@ -2,12 +2,12 @@ #X obj 21 62 commun-c \$2-\$3 \$1; #X obj 21 28 r \$1\$3; #X obj 21 92 s \$1\$3R; -#X text 154 18 Use like commun-c.ez \$0 "uniqueID" paramName; +#X text 154 18 Use like commun-c-ez \$0 "uniqueID" paramName; #X text 154 34 UniqueID is a /ID used to allow multiple units of one type; #X text 174 53 e.g. sft.cfm /sfs1 /busA /unitA = unitA is the uniqueID ; -#X text 205 68 thus you'd call as commun-c.ez \$0 \$3 paramName; +#X text 205 68 thus you'd call as commun-c-ez \$0 \$3 paramName; #X text 157 123 paramName is mapped to the local xers* that would usually be defined in the GUIcontrol. So a paramName of "baseFreq" will result in "\$0baseFreq" and "\$0baseFreqR" \, which is 99% of cases.; diff --git a/memento-p/commun-c-scale.pd b/memento-p/commun-c-scale.pd index 0efb334..f3ed13d 100644 --- a/memento-p/commun-c-scale.pd +++ b/memento-p/commun-c-scale.pd @@ -1,6 +1,6 @@ #N canvas 286 32 505 662 10; #X obj 12 11 inlet; -#X obj 108 565 outlet; +#X obj 108 585 outlet; #X text 5 93 RRADICAL_MEMENTO is also in originator; #X obj 108 538 list; #X obj 45 437 demultiplex; @@ -8,9 +8,6 @@ #X obj 45 370 expr_scale 0 1 \$3 \$4; #X obj 156 11 inlet; #X obj 286 11 inlet; -#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 132 252 r \$0boundLowFull; @@ -58,22 +55,26 @@ special address for 0-1 data input only; #X connect 3 0 0 0; #X connect 5 0 4 0; #X restore 347 143 pd listParams; -#X connect 0 0 21 0; -#X connect 3 0 1 0; -#X connect 4 0 15 0; +#X text 63 610 Use to constrain input to a smaller subset of the full +range. Input as relative to 0-1.; +#X obj 108 562 route bang; +#X connect 0 0 20 0; +#X connect 3 0 28 0; +#X connect 4 0 14 0; #X connect 4 1 5 0; -#X connect 5 0 15 0; +#X connect 5 0 14 0; #X connect 6 0 4 0; -#X connect 7 0 10 0; -#X connect 8 0 11 0; -#X connect 12 0 6 3; -#X connect 13 0 6 4; -#X connect 14 0 4 1; -#X connect 15 0 3 0; -#X connect 17 0 6 0; -#X connect 18 0 3 0; -#X connect 19 0 18 0; -#X connect 20 0 17 0; -#X connect 21 0 22 0; -#X connect 23 0 3 0; -#X connect 24 0 23 0; +#X connect 7 0 9 0; +#X connect 8 0 10 0; +#X connect 11 0 6 3; +#X connect 12 0 6 4; +#X connect 13 0 4 1; +#X connect 14 0 3 0; +#X connect 16 0 6 0; +#X connect 17 0 3 0; +#X connect 18 0 17 0; +#X connect 19 0 16 0; +#X connect 20 0 21 0; +#X connect 22 0 3 0; +#X connect 23 0 22 0; +#X connect 28 1 1 0; diff --git a/memento-p/commun-c.pd b/memento-p/commun-c.pd index a623e69..5acc0a9 100644 --- a/memento-p/commun-c.pd +++ b/memento-p/commun-c.pd @@ -1,9 +1,9 @@ #N canvas 560 190 666 338 10; #X obj 162 41 inlet; -#X obj 161 260 outlet; +#X obj 161 280 outlet; #X obj 161 158 r \$2-in; #X obj 161 208 route \$1; -#X text 22 282 Read \$2-OSC (== \$0-OSC) \, filter by argument \$1 +#X text 22 312 Read \$2-OSC (== \$0-OSC) \, filter by argument \$1 ; #X obj 162 99 s \$2-RRADICAL-MEMENTO; #X text 95 123 RRADICAL_MEMENTO is also in originator; @@ -19,6 +19,7 @@ #X obj 429 129 list append \$3; #X obj 49 207 deeprouteOSC \$1; #X obj 299 251 s \$2/returnParams; +#X obj 161 253 route bang; #X connect 0 0 10 0; #X connect 2 0 3 0; #X connect 3 0 11 0; @@ -26,10 +27,11 @@ #X connect 8 0 12 0; #X connect 9 0 18 0; #X connect 10 0 5 0; -#X connect 11 0 1 0; +#X connect 11 0 19 0; #X connect 12 0 9 0; #X connect 13 0 16 0; #X connect 14 0 15 0; #X connect 15 0 12 1; #X connect 16 0 14 0; #X connect 17 0 11 0; +#X connect 19 1 1 0; |