max v2;
#N vpatcher 404 103 917 395;
#P origin 0 2;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 429 280 87 196617 Version 1.1;
#B frgb 99 49 255;
#P objectname version;
#P hidden newex 153 263 28 196617 grab;
#N vpatcher 10 383 796 530;
#P origin -232 0;
#P window setfont "Sans Serif" 9.;
#P message 482 48 141 196617 window flags nogrow \, savewindow 1 \, window exec;
#P message 494 77 129 196617 window flags grow \, window exec;
#P comment 627 48 130 196617 These are just for convenience \, to toggle scroll bars & grow bar in the mother patch;
#P user panel 476 40 288 68;
#X brgb 255 125 125;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#N comlet window size message from thispatcher in the mother patch.;
#P inlet 225 6 15 0;
#P newex 171 70 64 196617 lp.doom.mxb 5 21;
#P comment 430 4 334 196617 Grab sends version symbol to us. Format this into a scripting message for an object named 'version' and send that to a thispatcher object in the mother patch.;
#N comlet Messages to thispatcher in mother patch;
#P outlet 408 115 15 0;
#P message 256 58 96 196617 script send version set Version;
#P button 256 38 15 0;
#P newex 408 92 38 196617 append;
#P newex 408 46 60 196617 prepend set;
#N comlet "Grabbed" version;
#P inlet 408 5 15 0;
#N comlet vers message for the object documented in this .help file;
#P outlet 117 115 15 0;
#P message 117 70 45 196617 vers 1 1;
#P newex 171 43 45 196617 loadbang;
#P comment 4 11 164 196617 Loadbang triggers a "vers" message to a grab object in the mother patcher at loadbang time \, as well as banging Judge Doom;
#P comment 245 3 155 196617 window size message from thispatcher in the mother patch.;
#P fasten 2 0 3 0 176 64 122 64;
#P connect 3 0 4 0;
#P connect 2 0 12 0;
#P connect 13 0 12 1;
#P fasten 5 0 8 0 413 33 261 33;
#P connect 8 0 9 0;
#P connect 5 0 6 0;
#P connect 6 0 7 0;
#P fasten 9 0 7 0 261 88 413 88;
#P fasten 12 0 10 0 176 112 413 112;
#P connect 7 0 10 0;
#P fasten 16 0 10 0 499 112 413 112;
#P fasten 17 0 10 0 487 112 413 112;
#P pop;
#P hidden newobj 153 241 64 196617 p loadbanger;
#N thispatcher;
#Q window flags nogrow close zoom nofloat;
#Q window size 404 103 917 395;
#Q window title;
#Q window exec;
#Q savewindow 1;
#Q end;
#P hidden newobj 207 263 59 196617 thispatcher;
#P comment 413 202 56 196617 Maximum;
#P number 306 265 35 9 0 0 160 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 412 219 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 359 219 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P button 306 219 15 0;
#P newex 306 242 116 196617 lp.tata 0 127 42;
#P window linecount 6;
#P comment 306 113 201 196617 You can set minimum and maximum values for lp.tata \, output will be scaled to fit this range. These values may also be specified as initialization arguments. Talking about arguments: a third argument seeds the random number generator.;
#P button 9 73 15 0;
#P window linecount 1;
#P newex 151 167 35 196617 & 255;
#P newex 226 191 64 196617 Histo 256;
#N vtable 256 277 211 620 562 5 256 bottom;
#P newobj 226 213 64 196617 table bottom;
#P newex 226 143 35 196617 & 255;
#P newex 9 120 40 196617 lp.tata;
#P newex 9 96 50 196617 Uzi 5000;
#P newex 151 143 33 196617 >> 24;
#P window linecount 2;
#P comment 9 44 498 196617 Lp.tata generates uniformly distributed integers in the range [-2147483648 .. 2147483647] using the Taus88 algorithm. Use lp.tata when you want serious random numbers.;
#P window linecount 1;
#P newex 151 191 52 196617 Histo 256;
#N vtable 256 16 301 356 599 5 256 top;
#P newobj 152 215 52 196617 table top;
#P window linecount 2;
#P comment 134 113 120 196617 Lets examine the top and bottom 8 bits;
#P comment 74 76 433 196617 Bang Uzi and watch the two table windows. (If the windows are hidden \, double-click on the table objects.);
#P window linecount 1;
#N vpatcher 86 141 615 297;
#P window setfont "Sans Serif" 9.;
#P flonum 411 46 72 9 0 0 160 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 330 47 72 9 0 0 160 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P flonum 249 48 72 9 0 0 160 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 168 47 69 9 0 0 160 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 87 48 71 9 0 0 160 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 330 66 53 196617 Std. Dev.;
#P comment 411 66 75 196617 Skew;
#P number 6 48 50 9 0 0 160 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 6 66 31 196617 Count;
#P comment 6 92 500 196617 Lp.tata's mean should converge to 0 \, but it will take a very \, very long time. The expected standard deviation is hideously huge (just under 1 \, 239 \, 850 \, 262) as well as taking a while to converge. Skew should converge to 0 \, although it \, too \, will take a while. Forget kurtosis: the calculations overflow \, even using double precision floating point arithmetic.;
#P comment 249 66 31 196617 Mean;
#P comment 168 66 58 196617 Maximum;
#P comment 86 66 55 196617 Mininmum;
#P newex 6 26 501 196617 lp.stacey;
#P comment 25 4 146 196617 Random values from lp.tata;
#N comlet Random values;
#P inlet 6 4 15 0;
#P connect 0 0 2 0;
#P connect 2 0 8 0;
#P connect 2 1 11 0;
#P connect 2 2 12 0;
#P connect 2 3 13 0;
#P connect 2 4 14 0;
#P connect 2 5 15 0;
#P pop;
#P newobj 9 192 91 196617 patcher MoreInfo;
#P window linecount 2;
#P comment 8 212 133 196617 Double-click on patcher MoreInfo for more details.;
#P window setfont "Sans Serif" 18.;
#P window linecount 1;
#P comment 115 -2 110 196626 lp.tata;
#B frgb 0 100 17;
#P window setfont "Sans Serif" 9.;
#P comment 115 24 366 196617 Generate uniformly distributed random numbers using the Taus88 algorithm;
#P user fpic -1 1 110 35 lp.Logo 0 0 0 0. 0 0 0;
#P comment 359 202 52 196617 Minimum;
#P connect 18 0 12 0;
#P hidden fasten 28 1 13 0 176 286 4 286 4 116 14 116;
#P connect 12 0 13 0;
#P hidden fasten 13 0 5 0 14 140 14 140;
#P fasten 13 0 11 0 14 139 156 139;
#P connect 11 0 17 0;
#P connect 17 0 9 0;
#P connect 9 0 8 0;
#P hidden fasten 26 0 27 0 212 284 268 284 268 233 158 233;
#P hidden connect 27 0 28 0;
#P fasten 9 1 8 1 198 210 199 210;
#P hidden fasten 28 0 27 1 158 282 147 282 147 236 212 236;
#P hidden connect 27 1 26 0;
#P fasten 13 0 14 0 14 139 231 139;
#P connect 14 0 16 0;
#P connect 16 0 15 0;
#P connect 16 1 15 1;
#P connect 21 0 20 0;
#P connect 20 0 24 0;
#P connect 22 0 20 1;
#P connect 23 0 20 2;
#P pop;
