aboutsummaryrefslogtreecommitdiff
path: root/shuffle.pd
diff options
context:
space:
mode:
Diffstat (limited to 'shuffle.pd')
-rw-r--r--shuffle.pd28
1 files changed, 28 insertions, 0 deletions
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;