| 1 |
#N canvas 191 -6 970 685 10; |
| 2 |
#X text 374 167 (invoke with <right mouse>Properties ); |
| 3 |
#X text 375 156 You can set the following properties :; |
| 4 |
#X text 395 188 * Width : graphical x size; |
| 5 |
#X text 395 200 * Height : graphical y size; |
| 6 |
#X text 442 506 bugs and comments @ [email protected]; |
| 7 |
#X msg 404 603 \; pd dsp 0; |
| 8 |
#X msg 470 603 \; pd dsp 1; |
| 9 |
#X text 376 110 Probalizer output serial of integers according to the |
| 10 |
probability curve; |
| 11 |
#X obj 470 581 loadbang; |
| 12 |
#X obj 64 92 probalizer 200 200 10 100 1 0 42 1 66 2 86 3 67 4 36 5 |
| 13 |
40 6 2 7 53 8 63 9 14; |
| 14 |
#X text 395 213 * Values : number of values ( range is [ 1 \, nvalues |
| 15 |
] ); |
| 16 |
#X msg 93 54 bang; |
| 17 |
#X msg 93 4 bang; |
| 18 |
#X text 389 458 but without repetitions; |
| 19 |
#X msg 295 16 zero; |
| 20 |
#X msg 294 40 equi; |
| 21 |
#X text 389 433 Note = If the probabilities are all equal to 1 \,; |
| 22 |
#X msg 293 64 reset; |
| 23 |
#X text 338 63 Reset output; |
| 24 |
#X text 396 227 * Max Occurrences : max number of occurences in a serial |
| 25 |
; |
| 26 |
#X obj 68 358 probalizer 200 200 10 100 1 0 0 1 0 2 0 3 0 4 0 5 0 6 |
| 27 |
0 7 0 8 0 9 0; |
| 28 |
#X obj 193 331 loadbang; |
| 29 |
#X msg 145 331 zero; |
| 30 |
#X text 306 345 The output of first probalizer; |
| 31 |
#X text 306 357 is stored in the second one; |
| 32 |
#X floatatom 187 30 5 0 0; |
| 33 |
#X msg 187 5 bang; |
| 34 |
#X text 276 281 End of the serial; |
| 35 |
#X text 390 445 probalizer behaves as a random object; |
| 36 |
#X obj 276 308 print probalizer::end; |
| 37 |
#X text 47 6 Start; |
| 38 |
#X text 332 42 Set equal probabilities; |
| 39 |
#X obj 93 29 metro 10; |
| 40 |
#X connect 8 0 6 0; |
| 41 |
#X connect 9 0 20 0; |
| 42 |
#X connect 9 1 22 0; |
| 43 |
#X connect 9 1 29 0; |
| 44 |
#X connect 11 0 9 0; |
| 45 |
#X connect 12 0 32 0; |
| 46 |
#X connect 14 0 9 0; |
| 47 |
#X connect 15 0 9 0; |
| 48 |
#X connect 17 0 9 0; |
| 49 |
#X connect 21 0 22 0; |
| 50 |
#X connect 22 0 20 0; |
| 51 |
#X connect 25 0 9 0; |
| 52 |
#X connect 26 0 25 0; |
| 53 |
#X connect 32 0 11 0; |