/usr/lib/pd/extra/cxc/random1~-help.pd is in pd-cxc 0.5.2-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 | #N canvas 0 31 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 (subpatch) 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 (subpatch) 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 217 91 592 356 signalversions 0;
#X obj 68 131 random1~;
#N canvas 0 0 450 300 (subpatch) 0;
#X array \$0-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 obj 368 239 tabwrite~ \$0-randomix_test;
#X connect 0 0 12 0;
#X connect 2 0 4 0;
#X connect 3 0 4 1;
#X connect 4 0 13 0;
#X connect 5 0 13 0;
#X connect 7 0 12 2;
#X connect 8 0 0 0;
#X connect 9 0 12 1;
#X connect 11 0 12 0;
#X connect 11 0 13 0;
#X connect 12 0 6 0;
#X connect 12 1 6 1;
#X restore 98 421 pd signalversions;
#N canvas 739 383 494 344 META 0;
#X text 12 125 HELP_PATCH_AUTHORS Jonathan Wilkes revised the patch
to conform to the PDDP template for Pd version 0.42.;
#X text 12 25 LICENSE GPL v2;
#X text 12 105 AUTHOR jdl@xdv.org;
#X text 12 5 KEYWORDS signal random;
#X text 12 45 DESCRIPTION linear congruential generator;
#X text 12 65 INLET_0 seed;
#X text 12 85 OUTLET_0 signal;
#X restore 904 469 pd META;
#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;
|