#N canvas 47 52 678 446 12;
#X text 460 422 updated for Pd version 0.26;
#X text 35 28 Use the "random" object to make pseudo-random integers. To get continuously variable random numbers \, make a random number in a large range and divide:;
#X obj 123 119 random 5;
#X msg 123 93 bang;
#X floatatom 123 145;
#X text 157 145 outputs from 0 to 4;
#X msg 327 88 bang;
#X floatatom 326 166;
#X obj 327 114 random 1000;
#X obj 326 142 / 1000;
#X text 360 166 from 0 to 0.999;
#X obj 71 324 random 5;
#X msg 142 256 bang;
#X floatatom 71 350;
#X text 25 200 If you don't want repeatable behavior \, use the time from load to first click as a seed:;
#X obj 71 244 loadbang;
#X obj 71 274 timer;
#X text 184 256 <-- click to seed;
#X msg 71 299 seed \$1;
#X msg 143 300 bang;
#X text 176 301 <-- click to get random numbers;
#X text 24 382 If you give two randoms the same seed they give the same sequence. If you never seed them \, you'll get different sequences out of each one.;
#X connect 2 0 4 0;
#X connect 3 0 2 0;
#X connect 6 0 8 0;
#X connect 8 0 9 0;
#X connect 9 0 7 0;
#X connect 11 0 13 0;
#X connect 12 0 16 1;
#X connect 15 0 16 0;
#X connect 16 0 18 0;
#X connect 18 0 11 0;
#X connect 19 0 11 0;
