aboutsummaryrefslogtreecommitdiff
path: root/abs
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-10-03 08:59:50 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2006-10-03 08:59:50 +0000
commitabef8da9c8a01d89f125e839a73651ea4538588e (patch)
tree593584c47b256fe1f4909e1a8d01b5ac42c1f7b1 /abs
parent5ce23e17b5ecae76f6bb4ff3581b3e4f79a5f0a9 (diff)
implementation of [length] with [list length]
svn path=/trunk/externals/zexy/; revision=6063
Diffstat (limited to 'abs')
-rw-r--r--abs/length-help.pd17
-rw-r--r--abs/length.pd11
2 files changed, 28 insertions, 0 deletions
diff --git a/abs/length-help.pd b/abs/length-help.pd
new file mode 100644
index 0000000..e5ce4f0
--- /dev/null
+++ b/abs/length-help.pd
@@ -0,0 +1,17 @@
+#N canvas 231 541 421 294 10;
+#X obj 77 40 length;
+#X text 141 43 get the length of a list;
+#X obj 72 186 length;
+#X floatatom 72 206 4 0 0 0 - - -;
+#X msg 72 109 list these are 4 elements;
+#X msg 83 128 1 2 3;
+#X msg 95 155 auralization by wave field synthesis;
+#X msg 25 113 bang;
+#X floatatom 14 146 4 0 0 0 - - -;
+#X text 324 19 part of zexy;
+#X connect 2 0 3 0;
+#X connect 4 0 2 0;
+#X connect 5 0 2 0;
+#X connect 6 0 2 0;
+#X connect 7 0 2 0;
+#X connect 8 0 2 0;
diff --git a/abs/length.pd b/abs/length.pd
new file mode 100644
index 0000000..d10a8aa
--- /dev/null
+++ b/abs/length.pd
@@ -0,0 +1,11 @@
+#N canvas 78 147 450 289 10;
+#X obj 62 145 inlet;
+#X obj 62 209 outlet;
+#X obj 62 189 list length;
+#X text 225 36 part of zexy;
+#X text 64 87 get the length of a list;
+#X text 188 190 requires pd>=0.40;
+#X obj 62 166 list;
+#X connect 0 0 6 0;
+#X connect 2 0 1 0;
+#X connect 6 0 2 0;