aboutsummaryrefslogtreecommitdiff
path: root/examples/glue.pd
diff options
context:
space:
mode:
Diffstat (limited to 'examples/glue.pd')
-rw-r--r--examples/glue.pd21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/glue.pd b/examples/glue.pd
new file mode 100644
index 0000000..ecc8603
--- /dev/null
+++ b/examples/glue.pd
@@ -0,0 +1,21 @@
+#N canvas 652 218 777 455 10;
+#X obj 111 58 glue;
+#X text 171 58 glue together 2 packages (append \, prepend \, ...)
+;
+#X msg 95 147 1 2 3;
+#X msg 127 174 4 you and me;
+#X obj 95 274 print;
+#X obj 277 270 print;
+#X msg 277 154 bang;
+#X msg 317 154 symbol click;
+#X text 104 335 creation argument: preset the second inlet;
+#X msg 51 179 bang;
+#X obj 95 210 glue;
+#X obj 277 206 glue and stick;
+#X connect 2 0 10 0;
+#X connect 3 0 10 1;
+#X connect 6 0 11 0;
+#X connect 7 0 11 0;
+#X connect 9 0 10 0;
+#X connect 10 0 4 0;
+#X connect 11 0 5 0;