aboutsummaryrefslogtreecommitdiff
path: root/core/list-sample-help.pd
diff options
context:
space:
mode:
authorLuke Iannini <lukeiannini@users.sourceforge.net>2008-03-06 10:41:06 +0000
committerLuke Iannini <lukeiannini@users.sourceforge.net>2008-03-06 10:41:06 +0000
commit24f7ce4939013a697c3315ff1afaed6e4a368be7 (patch)
treec673335962fe81ad383471f5bb2353a88464de43 /core/list-sample-help.pd
parent81964f02d4466ae4d9e0001baa149f6b0a4c3a9e (diff)
list-sample and its little brother list-shuffle, plus the helpfile for list-range that I apparently didn't check in earlier.
svn path=/trunk/abstractions/senderfruit/; revision=9541
Diffstat (limited to 'core/list-sample-help.pd')
-rw-r--r--core/list-sample-help.pd27
1 files changed, 27 insertions, 0 deletions
diff --git a/core/list-sample-help.pd b/core/list-sample-help.pd
new file mode 100644
index 0000000..f274505
--- /dev/null
+++ b/core/list-sample-help.pd
@@ -0,0 +1,27 @@
+#N canvas 421 159 709 295 10;
+#X obj 30 128 list-sample 5;
+#X msg 30 61 a b c d e f g h i j k l m n o p q r s t u v w x y z;
+#X obj 30 160 prepent set;
+#X floatatom 128 129 5 0 0 0 - - -;
+#X msg 167 128 3;
+#X msg 167 152 20;
+#X obj 276 147 list-shuffle;
+#X msg 276 110 a b c d e f g h i j k l m n o p q r s t u v w x y z
+;
+#X obj 276 173 prepent set;
+#X text 356 147 is just list-sample with a length equal to the length
+of the input list;
+#X text 23 10 list-sample: grab n unique random items from the incoming
+list and output them as a new list;
+#X text 572 266 2008 Luke Iannini;
+#X msg 30 199;
+#X msg 276 212;
+#X connect 0 0 2 0;
+#X connect 1 0 0 0;
+#X connect 2 0 12 0;
+#X connect 3 0 0 1;
+#X connect 4 0 3 0;
+#X connect 5 0 3 0;
+#X connect 6 0 8 0;
+#X connect 7 0 6 0;
+#X connect 8 0 13 0;