aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorials/intro/0.bang.pd
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tutorials/intro/0.bang.pd')
-rw-r--r--doc/tutorials/intro/0.bang.pd22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/tutorials/intro/0.bang.pd b/doc/tutorials/intro/0.bang.pd
new file mode 100644
index 00000000..06efcf8d
--- /dev/null
+++ b/doc/tutorials/intro/0.bang.pd
@@ -0,0 +1,22 @@
+#N canvas 435 180 493 371 10;
+#X text 164 19 bang;
+#X text 27 47 In Pd \, "bang" means "do something". What that "something"
+is depends on the object receiving the bang.;
+#X obj 34 121 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X obj 36 283 bng 25 250 50 0 empty empty do_it! -2 -8 1 10 -24198
+-1 -1;
+#X obj 38 318 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
+;
+#X obj 34 150 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
+;
+#X msg 35 196 bang;
+#X obj 35 221 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
+;
+#X text 56 119 <--bang button;
+#X text 79 197 <--you can also send "bang" using a message box;
+#X text 77 282 <-- bang buttons have configurable properties \, like
+color \, labels \, fonts \, size \, etc.;
+#X connect 2 0 5 0;
+#X connect 3 0 4 0;
+#X connect 6 0 7 0;