aboutsummaryrefslogtreecommitdiff
path: root/random1-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'random1-help.pd')
-rw-r--r--random1-help.pd223
1 files changed, 223 insertions, 0 deletions
diff --git a/random1-help.pd b/random1-help.pd
new file mode 100644
index 0000000..d913f39
--- /dev/null
+++ b/random1-help.pd
@@ -0,0 +1,223 @@
+#N canvas 33 162 966 505 10;
+#X msg 197 150 bang;
+#X floatatom 244 150 5 0 0 0 - - -;
+#X floatatom 197 218 10 0 0 0 - - -;
+#X floatatom 53 162 5 0 0 0 - - -;
+#X msg 54 111 bang;
+#X floatatom 289 152 5 0 0 0 - - -;
+#X obj 53 135 random 100;
+#X msg 427 151 bang;
+#X floatatom 474 151 5 0 0 0 - - -;
+#X floatatom 427 219 10 0 0 0 - - -;
+#X floatatom 519 153 5 0 0 0 - - -;
+#X obj 196 183 random1 0 1;
+#X obj 426 184 random_fl 0 1;
+#X msg 672 152 bang;
+#X floatatom 719 152 5 0 0 0 - - -;
+#X floatatom 672 220 10 0 0 0 - - -;
+#X floatatom 764 154 5 0 0 0 - - -;
+#X obj 671 185 random_icg 0 1;
+#X msg 197 276 bang;
+#X floatatom 244 276 5 0 0 0 - - -;
+#X floatatom 197 344 10 0 0 0 - - -;
+#X floatatom 289 278 5 0 0 0 - - -;
+#X text 193 251 random_icg lowerlimit \, upperlimit;
+#X msg 368 288 help;
+#X text 253 10 the random number generatorse;
+#X obj 539 406 dist_normal;
+#X msg 540 356 bang;
+#X obj 579 357 metro 100;
+#X obj 579 337 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0
+1;
+#X obj 196 309 random_tw 0 1;
+#X floatatom 637 334 5 0 0 0 - - -;
+#N canvas 0 0 600 400 streamview 0;
+#N canvas 0 0 450 300 graph2 0;
+#X array randstream 100 float 0;
+#X coords 0 2 99 -2 200 140 1;
+#X restore 92 222 graph;
+#X obj 146 144 tabwrite randstream;
+#X obj 200 63 count;
+#X obj 200 88 % 100;
+#X obj 156 28 t f b;
+#X obj 49 15 inlet;
+#X connect 2 0 3 0;
+#X connect 3 0 1 1;
+#X connect 4 0 1 0;
+#X connect 4 1 2 0;
+#X connect 5 0 4 0;
+#X restore 570 433 pd streamview;
+#N canvas 306 24 679 400 distview 0;
+#N canvas 0 0 450 300 graph1 0;
+#X array randview1 100 float 0;
+#X coords 0 200 99 0 400 200 1;
+#X restore 248 31 graph;
+#X obj 28 26 inlet;
+#X obj 45 355 tabwrite randview1;
+#X obj 136 201 * 100;
+#X obj 136 225 int;
+#X obj 136 153 + 2;
+#X obj 45 280 tabread randview1;
+#X obj 136 176 / 4;
+#X obj 136 250 t f f;
+#X obj 45 304 t f b;
+#X obj 45 329 + 1;
+#X obj 136 129 t f;
+#X connect 1 0 11 0;
+#X connect 3 0 4 0;
+#X connect 4 0 8 0;
+#X connect 5 0 7 0;
+#X connect 6 0 9 0;
+#X connect 7 0 3 0;
+#X connect 8 0 6 0;
+#X connect 8 1 2 1;
+#X connect 9 0 10 0;
+#X connect 10 0 2 0;
+#X connect 11 0 5 0;
+#X restore 550 458 pd distview;
+#X obj 540 381 t b;
+#X floatatom 477 430 5 0 0 0 - - -;
+#N canvas 0 0 600 400 seedit 0;
+#X msg 284 154 seed \$1;
+#X obj 284 107 utime;
+#X msg 304 74 bang;
+#X obj 254 28 loadbang;
+#X obj 284 130 * 1e+06;
+#X obj 360 167 until;
+#X msg 455 156 bang;
+#X obj 359 194 random 2.14748e+08;
+#X msg 359 267 seed \$1;
+#X msg 385 294 seed \$1;
+#X msg 412 318 seed \$1;
+#X msg 439 267 seed \$1;
+#X msg 466 293 seed \$1;
+#X obj 254 50 t b b;
+#X obj 195 155 print seed1;
+#X obj 143 360 outlet;
+#X obj 204 361 outlet;
+#X obj 264 361 outlet;
+#X obj 317 361 outlet;
+#X obj 367 361 outlet;
+#X text 35 9 seed one random obj \, which generates the seeds for all
+the others.;
+#X obj 359 218 serialize 6;
+#X msg 360 140 6;
+#X obj 359 242 unpack f f f f f f;
+#X msg 485 317 seed \$1;
+#X obj 420 359 outlet;
+#X connect 0 0 7 0;
+#X connect 1 1 4 0;
+#X connect 2 0 1 0;
+#X connect 3 0 13 0;
+#X connect 4 0 0 0;
+#X connect 4 0 14 0;
+#X connect 5 0 7 0;
+#X connect 6 0 7 0;
+#X connect 7 0 21 0;
+#X connect 8 0 15 0;
+#X connect 9 0 16 0;
+#X connect 10 0 17 0;
+#X connect 11 0 18 0;
+#X connect 12 0 19 0;
+#X connect 13 0 22 0;
+#X connect 13 1 1 0;
+#X connect 21 0 23 0;
+#X connect 22 0 5 0;
+#X connect 23 0 8 0;
+#X connect 23 1 9 0;
+#X connect 23 2 10 0;
+#X connect 23 3 11 0;
+#X connect 23 4 12 0;
+#X connect 23 5 24 0;
+#X connect 24 0 25 0;
+#X restore 258 33 pd seedit;
+#X text 37 79 std pd random;
+#X text 197 124 linear congruential generator;
+#X text 197 77 creation arguments for the extra randoms are:;
+#X text 205 92 <range-min \, range-max> \, defaults to 0 respectively
+RAND_MAX;
+#X text 545 17 see also:;
+#X obj 545 40 utime;
+#X text 428 129 another lcg method ..;
+#X text 668 127 inverse linear congruential generator;
+#X text 536 249 normal distribution mean 0 and dist 1;
+#X text 536 264 right now it uses random1 for the actual rand values
+;
+#X text 537 278 but later on it should take one of the randoms as creation
+argument \, so yu can specify which generator is being used.;
+#X text 198 106 they all output floats);
+#X text 540 311 also \, there is some burst at the upper and lower
+limits;
+#N canvas 622 685 592 356 signalversions 1;
+#X obj 68 131 random1~;
+#X obj 368 239 tabwrite~ randomix_test;
+#N canvas 0 0 450 300 graph1 0;
+#X array randomix_test 64 float 1;
+#A 0 -0.599965 0.178987 -0.501604 -1.10592 0.426163 -0.481499 -0.553236
+0.0961931 0.554738 -0.695487 0.541875 -0.415309 -0.419922 -0.871908
+0.0688377 -1.03721 -0.136159 -0.207339 -1.18947 -0.25981 -0.628915
+-0.826873 0.334755 -0.738558 -0.0926691 -0.262739 0.309148 0.50131
+-1.40461 -0.859907 0.621724 -0.888718 0.692579 -1.11799 0.162897 0.116501
+-0.390333 0.327364 -0.902445 -0.201419 0.300071 -1.10817 -1.09973 0.34181
+-0.0511739 -0.613584 -0.306316 0.433381 -0.154481 -1.17821 -0.428187
+-0.449014 -1.04248 -0.906665 0.0687456 -1.08289 0.59097 0.0438875 -1.20429
+0.0862183 -0.995607 0.585034 0.205198 -0.337256;
+#X coords 0 1 63 -1 200 140 1;
+#X restore 351 23 graph;
+#X obj 382 183 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
+1;
+#X floatatom 440 184 5 0 0 0 - - -;
+#X obj 382 201 metro 100;
+#X msg 342 201 bang;
+#X obj 73 295 dac~;
+#X floatatom 140 220 5 0 0 0 - - -;
+#X msg 68 58 seed 30000;
+#X obj 142 131 random_fl~;
+#X text 120 98 etc ..;
+#X obj 229 131 random_icg~;
+#X obj 81 241 fader 75;
+#X connect 0 0 13 0;
+#X connect 3 0 5 0;
+#X connect 4 0 5 1;
+#X connect 5 0 1 0;
+#X connect 6 0 1 0;
+#X connect 8 0 13 2;
+#X connect 9 0 0 0;
+#X connect 10 0 13 1;
+#X connect 12 0 1 0;
+#X connect 12 0 13 0;
+#X connect 13 0 7 0;
+#X connect 13 1 7 1;
+#X restore 98 421 pd signalversions;
+#X connect 0 0 11 0;
+#X connect 1 0 11 1;
+#X connect 4 0 6 0;
+#X connect 5 0 11 2;
+#X connect 6 0 3 0;
+#X connect 7 0 12 0;
+#X connect 8 0 12 1;
+#X connect 10 0 12 2;
+#X connect 11 0 2 0;
+#X connect 12 0 9 0;
+#X connect 13 0 17 0;
+#X connect 14 0 17 1;
+#X connect 16 0 17 2;
+#X connect 17 0 15 0;
+#X connect 18 0 29 0;
+#X connect 19 0 29 1;
+#X connect 21 0 29 2;
+#X connect 23 0 29 0;
+#X connect 25 0 31 0;
+#X connect 25 0 32 0;
+#X connect 25 0 34 0;
+#X connect 26 0 33 0;
+#X connect 27 0 33 0;
+#X connect 28 0 27 0;
+#X connect 29 0 20 0;
+#X connect 30 0 27 1;
+#X connect 33 0 25 0;
+#X connect 35 0 6 0;
+#X connect 35 1 11 0;
+#X connect 35 2 12 0;
+#X connect 35 3 17 0;
+#X connect 35 4 29 0;