Update of /cvsroot/pure-data/externals/mapping/help In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5114/help
Modified Files: segment-help.pd Added Files: stepper-help.pd desegment-help.pd Log Message: implemented using 2 element lists, first the segment number, next the value; this seems to work better and makes the patches simple
Index: segment-help.pd =================================================================== RCS file: /cvsroot/pure-data/externals/mapping/help/segment-help.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** segment-help.pd 29 Jan 2006 05:43:33 -0000 1.1 --- segment-help.pd 15 Jun 2006 02:09:22 -0000 1.2 *************** *** 1,21 **** ! #N canvas 15 380 668 314 10; ! #X obj 62 198 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 ! -1 -1 11010 1; ! #X obj 195 198 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 ! -1 -1 97 1; ! #X obj 328 198 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 ! -1 -1 21 1; ! #X obj 461 198 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 ! -1 -1 8322 1; #X obj 62 28 hsl 527 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 ! -1 -1 11400 1; #X msg 189 88 2; #X msg 250 87 6; #X msg 219 87 4; ! #X floatatom 60 222 5 0 0 0 - - -; ! #X floatatom 196 220 5 0 0 0 - - -; ! #X floatatom 328 222 5 0 0 0 - - -; ! #X floatatom 459 220 5 0 0 0 - - -; #X floatatom 46 51 5 0 0 0 - - -; #X obj 154 123 segment 4; #X connect 0 0 8 0; --- 1,22 ---- ! #N canvas 389 127 680 326 10; ! #X obj 66 238 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 ! -1 -1 6674 1; ! #X obj 199 238 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 ! -1 -1 4029 1; ! #X obj 332 238 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 ! -1 -1 3204 1; ! #X obj 465 238 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 ! -1 -1 2986 1; #X obj 62 28 hsl 527 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 ! -1 -1 7700 1; #X msg 189 88 2; #X msg 250 87 6; #X msg 219 87 4; ! #X floatatom 64 262 5 0 0 0 - - -; ! #X floatatom 200 260 5 0 0 0 - - -; ! #X floatatom 332 262 5 0 0 0 - - -; ! #X floatatom 463 260 5 0 0 0 - - -; #X floatatom 46 51 5 0 0 0 - - -; + #X obj 153 182 route 0 1 2 3; #X obj 154 123 segment 4; #X connect 0 0 8 0; *************** *** 24,33 **** #X connect 3 0 11 0; #X connect 4 0 12 0; ! #X connect 4 0 13 0; ! #X connect 5 0 13 1; ! #X connect 6 0 13 1; ! #X connect 7 0 13 1; #X connect 13 0 0 0; #X connect 13 1 1 0; #X connect 13 2 2 0; #X connect 13 3 3 0; --- 25,35 ---- #X connect 3 0 11 0; #X connect 4 0 12 0; ! #X connect 4 0 14 0; ! #X connect 5 0 14 1; ! #X connect 6 0 14 1; ! #X connect 7 0 14 1; #X connect 13 0 0 0; #X connect 13 1 1 0; #X connect 13 2 2 0; #X connect 13 3 3 0; + #X connect 14 0 13 0;
--- NEW FILE: desegment-help.pd --- #N canvas 490 146 676 322 10; #X obj 66 28 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 12700 1; #X obj 199 28 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 12700 1; #X obj 332 28 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 12700 1; #X obj 465 28 hsl 128 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 10800 1; #X obj 62 248 hsl 527 15 0 1 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 40987 1; #X msg 331 138 2; #X msg 392 137 6; #X msg 361 137 4; #X floatatom 74 50 5 0 0 0 - - -; #X floatatom 210 50 5 0 0 0 - - -; #X floatatom 339 49 5 0 0 0 - - -; #X floatatom 472 50 5 0 0 0 - - -; #X floatatom 46 271 5 0 0 0 - - -; #X obj 242 166 desegment 4; #X msg 56 76 0 $1; #X msg 190 71 1 $1; #X msg 331 70 2 $1; #X msg 462 69 3 $1; #X connect 0 0 8 0; #X connect 0 0 14 0; #X connect 1 0 9 0; #X connect 1 0 15 0; #X connect 2 0 10 0; #X connect 2 0 16 0; #X connect 3 0 11 0; #X connect 3 0 17 0; #X connect 4 0 12 0; #X connect 5 0 13 1; #X connect 6 0 13 1; #X connect 7 0 13 1; #X connect 13 0 4 0; #X connect 14 0 13 0; #X connect 15 0 13 0; #X connect 16 0 13 0; #X connect 17 0 13 0;
--- NEW FILE: stepper-help.pd --- #N canvas 263 162 512 393 10; #X obj 5 2 cnv 15 450 20 empty empty [stepper] 2 11 1 18 -233017 -66577 0; #X msg 422 3 pddp; #X text 27 320 (C) Copyright 2004 Hans-Christoph Steiner hans@at.or.at ; #X text 244 334 released under the GNU GPL; #X floatatom 25 133 8 0 0 0 - - -; #X floatatom 25 264 8 0 0 0 - - -; #X obj 28 281 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -262144 -1 -1 0 1; #X obj 28 113 hsl 200 15 0 1 0 0 empty empty empty 22 8 1 12 -225271 -1 -1 0 1; #N canvas 0 22 450 300 graph1 0; #X array $0_ 200 float 0; #X coords 0 1 199 0 200 200 1; #X restore 261 111 graph; #N canvas 266 69 439 429 draw_array 0; #X msg 54 82 bang; #X obj 54 103 until; #X text 85 82 start; #X obj 54 125 f; #X obj 83 125 + 1; #X obj 54 43 loadbang; #X obj 298 9 receive $0-type; #X obj 54 180 trigger float float; #X obj 127 127 select 0; #X obj 53 343 tabwrite $0_; #X text 96 257 mapping output range: 0 to 1; #X obj 16 5 inlet; #X obj 299 32 float; #X obj 54 257 / 200; #X obj 83 147 mod 200; #X obj 53 313 stepper; #X obj 149 34 receive $0-segments; #X obj 299 53 trigger bang float; #X obj 149 53 trigger bang float; #X connect 0 0 1 0; #X connect 1 0 3 0; #X connect 3 0 4 0; #X connect 3 0 7 0; #X connect 4 0 14 0; #X connect 5 0 0 0; #X connect 6 0 12 0; #X connect 7 0 13 0; #X connect 7 1 9 1; #X connect 8 0 1 1; #X connect 11 0 0 0; #X connect 12 0 17 0; #X connect 13 0 15 0; #X connect 14 0 3 1; #X connect 14 0 8 0; #X connect 15 0 9 0; #X connect 16 0 18 0; #X connect 17 0 0 0; #X connect 17 1 15 2; #X connect 18 0 0 0; #X connect 18 1 15 1; #X restore 321 79 pd draw_array; #X msg 321 59 bang; #X obj 72 199 hsl 128 15 -1 1 0 0 $0-type empty curve_factor 5 8 1 11 -257472 -1 -1 8000 1; #X floatatom 81 219 5 0 0 0 - - -; #X obj 25 243 stepper; #X obj 50 159 hsl 128 15 1 64 0 1 $0-segments empty segments 5 8 1 11 -262131 -1 -1 2217 1; #X floatatom 56 180 5 0 0 0 - - -; #X connect 4 0 13 0; #X connect 5 0 6 0; #X connect 7 0 4 0; #X connect 10 0 9 0; #X connect 11 0 12 0; #X connect 11 0 13 2; #X connect 13 0 5 0; #X connect 14 0 15 0; #X connect 14 0 13 1;