diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-07-17 04:33:23 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-07-17 04:33:23 +0000 |
commit | 43c45ade1a89f39f5e0054d58fd47deb9d63669c (patch) | |
tree | 94e78e2dfc946c3070c78f914be9494eac4f7799 /disjoin.pd | |
parent | b83346e0998faf641f494d66c6d6f8018aa80c57 (diff) |
All three of these objects split a single range into multiple ranges. I added
code to all three that automatically sets each output subranges to the proper
values even if the input value skipped over a given output subrange. For
example, if the input value skipped from the first subrange to the last
subrange, then the subranges in between should all be set to 1 as if the input
stream passed smoothly thru all of the subranges.
svn path=/trunk/externals/mapping/; revision=8100
Diffstat (limited to 'disjoin.pd')
-rw-r--r-- | disjoin.pd | 44 |
1 files changed, 29 insertions, 15 deletions
@@ -1,18 +1,22 @@ -#N canvas 359 161 477 319 10; -#X obj 62 28 inlet; -#X obj 62 244 outlet; -#X obj 113 243 outlet; -#X obj 113 198 / 1; -#X msg 167 145 1; -#X obj 157 20 inlet; -#X obj 199 20 loadbang; -#X obj 167 169 -; -#X obj 113 141 -; -#X obj 62 140 /; -#X obj 62 83 moses; -#X obj 167 123 trigger bang float; -#X obj 162 48 float_argument \$1 0.5; -#X text 166 69 default to splitting down the middle (0.5); +#N canvas 564 172 573 359 10; +#X obj 176 17 inlet; +#X obj 166 331 outlet; +#X obj 217 330 outlet; +#X obj 217 265 / 1; +#X msg 391 182 1; +#X obj 271 17 inlet; +#X obj 313 17 loadbang; +#X obj 391 206 -; +#X obj 217 243 -; +#X obj 166 242 /; +#X obj 176 80 moses; +#X obj 391 160 trigger bang float; +#X obj 276 45 float_argument \$1 0.5; +#X text 280 66 default to splitting down the middle (0.5); +#X obj 276 159 purepd/once; +#X obj 276 185 float; +#X obj 76 159 purepd/once; +#X obj 76 185 float; #X connect 0 0 10 0; #X connect 3 0 2 0; #X connect 4 0 7 0; @@ -22,10 +26,20 @@ #X connect 8 0 3 0; #X connect 9 0 1 0; #X connect 10 0 9 0; +#X connect 10 0 14 0; +#X connect 10 0 16 1; #X connect 10 1 8 0; +#X connect 10 1 14 1; +#X connect 10 1 16 0; #X connect 11 0 4 0; #X connect 11 1 7 1; #X connect 12 0 8 1; #X connect 12 0 9 1; #X connect 12 0 10 1; #X connect 12 0 11 0; +#X connect 12 0 15 1; +#X connect 12 0 17 1; +#X connect 14 0 15 0; +#X connect 15 0 8 0; +#X connect 16 0 17 0; +#X connect 17 0 9 0; |