Update of /cvsroot/pure-data/abstractions/footils/list-abs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2883
Modified Files: list-lastx-help.pd list-lastx.pd list-math.pd Log Message: Small changes.
Index: list-lastx.pd =================================================================== RCS file: /cvsroot/pure-data/abstractions/footils/list-abs/list-lastx.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** list-lastx.pd 8 Nov 2005 09:15:45 -0000 1.1 --- list-lastx.pd 13 Sep 2006 18:40:41 -0000 1.2 *************** *** 1,6 **** ! #N canvas 0 0 615 403 10; #X obj 153 175 cnv 15 150 80 empty empty empty 20 12 0 14 -233017 -66577 0; ! #X floatatom 356 89 5 0 0 2 change-size - -; #X obj 326 112 t f b; #X text 378 110 first reset (b) , then set new length (f).; --- 1,6 ---- ! #N canvas 119 92 810 481 10; #X obj 153 175 cnv 15 150 80 empty empty empty 20 12 0 14 -233017 -66577 0; ! #X floatatom 370 79 5 0 0 2 change-size - -; #X obj 326 112 t f b; #X text 378 110 first reset (b) , then set new length (f).; *************** *** 13,23 **** #X obj 180 302 outlet; #X obj 180 228 list split $1; #X connect 1 0 2 0; #X connect 2 0 10 1; #X connect 2 1 6 1; #X connect 6 0 10 0; ! #X connect 7 0 2 0; #X connect 8 0 6 0; #X connect 10 0 6 1; #X connect 10 0 9 0; #X connect 10 2 6 1; --- 13,25 ---- #X obj 180 302 outlet; #X obj 180 228 list split $1; + #X obj 326 78 f $1; #X connect 1 0 2 0; #X connect 2 0 10 1; #X connect 2 1 6 1; #X connect 6 0 10 0; ! #X connect 7 0 11 0; #X connect 8 0 6 0; #X connect 10 0 6 1; #X connect 10 0 9 0; #X connect 10 2 6 1; + #X connect 11 0 2 0;
Index: list-lastx-help.pd =================================================================== RCS file: /cvsroot/pure-data/abstractions/footils/list-abs/list-lastx-help.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** list-lastx-help.pd 8 Nov 2005 09:15:45 -0000 1.1 --- list-lastx-help.pd 13 Sep 2006 18:40:41 -0000 1.2 *************** *** 1,3 **** ! #N canvas 446 464 569 323 10; #X floatatom 188 118 5 0 0 0 - - -; #X obj 188 174 print last_x; --- 1,3 ---- ! #N canvas 625 327 569 323 10; #X floatatom 188 118 5 0 0 0 - - -; #X obj 188 174 print last_x; *************** *** 5,9 **** --- 5,12 ---- #X text 124 52 list-lastx: make a list of the last x floats.; #X obj 188 143 list-lastx 4; + #X msg 286 143 bang; + #X text 328 142 reset stored list; #X connect 0 0 4 0; #X connect 2 0 4 1; #X connect 4 0 1 0; + #X connect 5 0 4 1;
Index: list-math.pd =================================================================== RCS file: /cvsroot/pure-data/abstractions/footils/list-abs/list-math.pd,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** list-math.pd 6 Apr 2006 06:01:11 -0000 1.3 --- list-math.pd 13 Sep 2006 18:40:41 -0000 1.4 *************** *** 7,38 **** #X obj 100 385 list prepend; #X floatatom 248 273 5 0 0 0 - - -; - #N canvas 0 0 533 407 drip 1; - #X obj 64 206 list split 1; - #X obj 64 123 until; - #X obj 64 181 list append; - #X obj 194 206 bang; - #X text 146 90 First store list , then start the loop; - #X text 163 118 "until" bangs its output until told to stop by a "bang" - to its right inlet.; - #X text 182 160 Store the remaining list.; - #X text 239 205 third outlet of "split" tells us to stop.; - #X obj 64 243 outlet; - #X obj 64 57 inlet; - #X text 237 44 From list-help.pd; - #X obj 64 86 t b a; - #X connect 0 0 8 0; - #X connect 0 1 2 1; - #X connect 0 2 3 0; - #X connect 1 0 2 0; - #X connect 2 0 0 0; - #X connect 3 0 1 1; - #X connect 9 0 11 0; - #X connect 11 0 1 0; - #X connect 11 1 2 1; - #X restore 100 242 pd drip; #X obj 78 150 t b a b; #X text 254 314 Do math only on float elements; - #X obj 122 178 s $0-reset-result; - #X obj 179 357 r $0-reset-result; #X text 260 177 clear result list; #X text 175 242 "Drip" (serialize) the list; --- 7,12 ---- *************** *** 47,66 **** #X obj 290 266 loadbang; #X obj 290 287 f $2; ! #X connect 0 0 8 0; #X connect 2 0 5 1; ! #X connect 3 0 19 0; ! #X connect 4 0 17 0; #X connect 4 1 5 0; #X connect 5 0 2 0; #X connect 5 0 3 1; ! #X connect 6 0 17 1; ! #X connect 7 0 4 0; ! #X connect 8 0 3 0; ! #X connect 8 1 7 0; ! #X connect 8 2 10 0; ! #X connect 11 0 5 1; ! #X connect 16 0 8 0; ! #X connect 17 0 5 0; ! #X connect 18 0 17 1; ! #X connect 21 0 22 0; ! #X connect 22 0 17 1; --- 21,40 ---- #X obj 290 266 loadbang; #X obj 290 287 f $2; ! #X obj 100 242 list-drip; ! #X connect 0 0 7 0; #X connect 2 0 5 1; ! #X connect 3 0 16 0; ! #X connect 4 0 14 0; #X connect 4 1 5 0; #X connect 5 0 2 0; #X connect 5 0 3 1; ! #X connect 6 0 14 1; ! #X connect 7 0 3 0; ! #X connect 7 1 20 0; ! #X connect 7 2 5 1; ! #X connect 13 0 7 0; ! #X connect 14 0 5 0; ! #X connect 15 0 14 1; ! #X connect 18 0 19 0; ! #X connect 19 0 14 1; ! #X connect 20 0 4 0;