From f40d8c3d61e9ac6a7a4e06f6bfc7a2567c38bb33 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 29 Apr 2003 16:52:44 +0000 Subject: sources from motex_1_1_3.tar.gz svn path=/trunk/externals/motex/; revision=603 --- shuffle.pd | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 shuffle.pd (limited to 'shuffle.pd') diff --git a/shuffle.pd b/shuffle.pd new file mode 100644 index 0000000..abd47a6 --- /dev/null +++ b/shuffle.pd @@ -0,0 +1,28 @@ +#N canvas 5 21 828 307 10; +#X floatatom 170 127 4 0 0; +#X floatatom 252 124 4 0 0; +#X floatatom 302 124 4 0 0; +#X floatatom 169 210 4 0 0; +#X msg 81 83 bang; +#X text 379 140 Argument 2: upper limit; +#X text 378 63 Shuffle; +#X text 379 158 Argument 3: fraction of the end of a series; +#X text 168 94 lower; +#X text 252 105 upper; +#X text 302 105 frac; +#X text 379 122 Argument 1: lower limit; +#X text 131 105 (activate changes); +#X text 379 176 and beginning of next (after reshuffle); +#X text 55 47 output shuffled; +#X text 55 65 integer series; +#X obj 169 169 shuffle -1 5 0.25; +#X text 379 194 where no repetitions occur (range betwwen 0 & 0.5); +#X text 379 104 comment; +#X text 379 86 A no-repeat random number generator; +#X text 378 105 shuffles a nuber series; +#X text 448 258 IM 2001; +#X connect 0 0 16 0; +#X connect 1 0 16 1; +#X connect 2 0 16 2; +#X connect 4 0 16 0; +#X connect 16 0 3 0; -- cgit v1.2.1