Update of /cvsroot/pure-data/abstractions/footils/list-abs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23030
Modified Files: list-rot-help.pd list-rot.pd Log Message: fixed it, so negtives and out-of-range rotations are possible as well.
Index: list-rot-help.pd =================================================================== RCS file: /cvsroot/pure-data/abstractions/footils/list-abs/list-rot-help.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** list-rot-help.pd 1 Nov 2005 12:41:16 -0000 1.1 --- list-rot-help.pd 28 Dec 2006 06:58:37 -0000 1.2 *************** *** 7,11 **** #X text 64 61 Rotate a list (move ROT# elements from front to back) ; ! #X text 63 81 ROT# has to be positive , negative ROT# will not rotate! ; #X connect 0 0 3 0; --- 7,11 ---- #X text 64 61 Rotate a list (move ROT# elements from front to back) ; ! #X text 63 81 Negative ROT# will rotate elements from back to front. ; #X connect 0 0 3 0;
Index: list-rot.pd =================================================================== RCS file: /cvsroot/pure-data/abstractions/footils/list-abs/list-rot.pd,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** list-rot.pd 15 Nov 2005 12:24:03 -0000 1.4 --- list-rot.pd 28 Dec 2006 06:58:37 -0000 1.5 *************** *** 1,20 **** ! #N canvas 158 147 575 357 10; ! #X obj 173 193 list prepend; #X obj 151 44 inlet; ! #X obj 259 115 inlet; ! #X text 311 115 how often to rotate; ! #X obj 151 220 list; ! #X text 198 43 list to rotate; ! #X obj 151 250 outlet; ! #X text 267 194 move right part of list to left.; ! #X obj 173 152 list-splat $1; ! #X obj 151 70 t b a b; #X connect 0 0 4 1; ! #X connect 1 0 9 0; ! #X connect 2 0 8 1; #X connect 4 0 6 0; ! #X connect 8 0 0 0; ! #X connect 8 1 0 1; ! #X connect 9 0 4 0; ! #X connect 9 1 8 0; ! #X connect 9 2 0 1; --- 1,28 ---- ! #N canvas 336 258 575 357 10; ! #X obj 170 253 list prepend; #X obj 151 44 inlet; ! #X obj 256 47 inlet; ! #X text 257 25 how often to rotate; ! #X obj 151 280 list; ! #X text 146 24 list to rotate; ! #X obj 151 310 outlet; ! #X text 278 232 move right part of list to left.; ! #X obj 256 174 mod $1; ! #X obj 256 152 f $1; ! #X obj 170 212 list split $1; ! #X obj 151 70 t b a b b a; ! #X obj 293 153 list-len; #X connect 0 0 4 1; ! #X connect 1 0 11 0; ! #X connect 2 0 9 0; #X connect 4 0 6 0; ! #X connect 8 0 10 1; ! #X connect 9 0 8 0; ! #X connect 10 0 0 0; ! #X connect 10 1 0 1; ! #X connect 11 0 4 0; ! #X connect 11 1 10 0; ! #X connect 11 2 0 1; ! #X connect 11 3 9 0; ! #X connect 11 4 12 0; ! #X connect 12 0 8 1;