aboutsummaryrefslogtreecommitdiff
path: root/tests/mtx_cos/02_function.pd
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mtx_cos/02_function.pd')
-rw-r--r--tests/mtx_cos/02_function.pd50
1 files changed, 50 insertions, 0 deletions
diff --git a/tests/mtx_cos/02_function.pd b/tests/mtx_cos/02_function.pd
new file mode 100644
index 0000000..2e8d038
--- /dev/null
+++ b/tests/mtx_cos/02_function.pd
@@ -0,0 +1,50 @@
+#N canvas 385 142 508 466 10;
+#X obj 122 68 inlet bang;
+#X obj 122 385 outlet 1==OK;
+#X obj 122 191 mtx_cos;
+#X text 67 37 test for existance of [mtx_cos];
+#X msg 122 170 matrix 2 2 \$1 \$2 \$3 \$4;
+#X obj 122 89 t b;
+#X msg 122 110 3 -1 -10.5 0;
+#X obj 122 135 t l l;
+#X msg 122 213 \$3 \$4 \$5 \$6;
+#X obj 122 238 unpack 0 0 0 0;
+#X obj 184 300 *;
+#X obj 122 300 *;
+#X obj 122 326 *;
+#X obj 236 218 unpack 0 0 0 0;
+#X obj 122 277 ==;
+#X obj 153 277 ==;
+#X obj 184 277 ==;
+#X obj 215 277 ==;
+#X obj 236 239 cos;
+#X obj 267 239 cos;
+#X obj 298 238 cos;
+#X obj 329 238 cos;
+#X connect 0 0 5 0;
+#X connect 2 0 8 0;
+#X connect 4 0 2 0;
+#X connect 5 0 6 0;
+#X connect 6 0 7 0;
+#X connect 7 0 4 0;
+#X connect 7 1 13 0;
+#X connect 8 0 9 0;
+#X connect 9 0 14 0;
+#X connect 9 1 15 0;
+#X connect 9 2 16 0;
+#X connect 9 3 17 0;
+#X connect 10 0 12 1;
+#X connect 11 0 12 0;
+#X connect 12 0 1 0;
+#X connect 13 0 18 0;
+#X connect 13 1 19 0;
+#X connect 13 2 20 0;
+#X connect 13 3 21 0;
+#X connect 14 0 11 0;
+#X connect 15 0 11 1;
+#X connect 16 0 10 0;
+#X connect 17 0 10 1;
+#X connect 18 0 14 1;
+#X connect 19 0 15 1;
+#X connect 20 0 16 1;
+#X connect 21 0 17 1;