Update of /cvsroot/pure-data/abstractions/footils/list-abs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv559
Modified Files: list-wrandom-help.pd Log Message: markov example to weighted random added
Index: list-wrandom-help.pd =================================================================== RCS file: /cvsroot/pure-data/abstractions/footils/list-abs/list-wrandom-help.pd,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** list-wrandom-help.pd 8 Jul 2007 13:28:31 -0000 1.1 --- list-wrandom-help.pd 8 Jul 2007 13:51:49 -0000 1.2 *************** *** 13,22 **** #X floatatom 204 406 5 0 0 1 length - -; #N canvas 0 0 450 300 (subpatch) 0; ! #X array $0-rand 4 float 0; ! #X coords 0 1 3 0 200 140 1; #X restore 310 409 graph; #N canvas 0 0 450 300 (subpatch) 0; ! #X array $0-dist 4 float 0; ! #X coords 0 1 3 0 200 140 1; #X restore 310 409 graph; #X obj 251 336 t a a; --- 13,22 ---- #X floatatom 204 406 5 0 0 1 length - -; #N canvas 0 0 450 300 (subpatch) 0; ! #X array $0-rand 10 float 0; ! #X coords 0 1 9 0 200 140 1; #X restore 310 409 graph; #N canvas 0 0 450 300 (subpatch) 0; ! #X array $0-dist 10 float 0; ! #X coords 0 1 9 0 200 140 1; #X restore 310 409 graph; #X obj 251 336 t a a; *************** *** 59,62 **** --- 59,115 ---- #X text 131 109 0: connected to [random] internally. "bang" to make random choice , "seed X" to seed; + #N canvas 262 240 530 406 markov-example 0; + #X text 32 19 Simple markov chain; + #X obj 77 208 list-wrandom; + #X obj 170 208 list-wrandom; + #X obj 263 208 list-wrandom; + #X obj 77 172 select 0 1 2; + #X obj 77 150 f; + #X obj 93 127 r $0-state; + #X obj 77 279 s $0-state; + #X obj 170 279 s $0-state; + #X obj 263 277 s $0-state; + #X obj 163 328 hradio 32 1 0 3 empty $0-state state 0 -8 1 10 -262144 + -1 -1 0; + #X obj 239 98 loadbang; + #X obj 77 97 bng 24 250 50 0 empty empty empty 17 7 0 10 -262144 -1 + -1; + #X floatatom 91 242 5 0 0 0 - - -; + #X obj 91 259 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 + -1; + #X floatatom 185 240 5 0 0 0 - - -; + #X obj 185 257 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 + -1 -1; + #X floatatom 277 239 5 0 0 0 - - -; + #X obj 277 256 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 + -1 -1; + #X obj 37 74 metro 200; + #X obj 37 55 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1 + ; + #X msg 239 125 s0 10 20 70 , s1 80 10 10 , s2 50 25 25; + #X obj 239 159 route s0 s1 s2; + #X connect 1 0 7 0; + #X connect 1 0 13 0; + #X connect 2 0 8 0; + #X connect 2 0 15 0; + #X connect 3 0 9 0; + #X connect 3 0 17 0; + #X connect 4 0 1 0; + #X connect 4 1 2 0; + #X connect 4 2 3 0; + #X connect 5 0 4 0; + #X connect 6 0 5 1; + #X connect 11 0 21 0; + #X connect 12 0 5 0; + #X connect 13 0 14 0; + #X connect 15 0 16 0; + #X connect 17 0 18 0; + #X connect 19 0 5 0; + #X connect 20 0 19 0; + #X connect 21 0 22 0; + #X connect 22 0 1 1; + #X connect 22 1 2 1; + #X connect 22 2 3 1; + #X restore 125 563 pd markov-example; #X connect 0 0 22 0; #X connect 2 0 5 0;