aboutsummaryrefslogtreecommitdiff
path: root/tests/mtx_add/02_function.pd
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mtx_add/02_function.pd')
-rw-r--r--tests/mtx_add/02_function.pd34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/mtx_add/02_function.pd b/tests/mtx_add/02_function.pd
new file mode 100644
index 0000000..c294196
--- /dev/null
+++ b/tests/mtx_add/02_function.pd
@@ -0,0 +1,34 @@
+#N canvas 385 142 508 466 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X msg 122 142 matrix 2 2 0 1 2 3;
+#X msg 122 243 \$3 \$4 \$5 \$6;
+#X obj 122 268 unpack 0 0 0 0;
+#X obj 184 330 *;
+#X obj 122 330 *;
+#X obj 122 356 *;
+#X obj 122 98 t b b;
+#X obj 122 221 mtx_+;
+#X msg 152 162 matrix 2 2 -2 -1 -2 0.3;
+#X obj 122 307 == -2;
+#X obj 153 307 == 0;
+#X obj 184 307 == 0;
+#X obj 215 307 == 3.3;
+#X connect 0 0 8 0;
+#X connect 2 0 9 0;
+#X connect 3 0 4 0;
+#X connect 4 0 11 0;
+#X connect 4 1 12 0;
+#X connect 4 2 13 0;
+#X connect 4 3 14 0;
+#X connect 5 0 7 1;
+#X connect 6 0 7 0;
+#X connect 7 0 1 0;
+#X connect 8 0 2 0;
+#X connect 8 1 10 0;
+#X connect 9 0 3 0;
+#X connect 10 0 9 1;
+#X connect 11 0 6 0;
+#X connect 12 0 6 1;
+#X connect 13 0 5 0;
+#X connect 14 0 5 1;