From ffab7a2e5198de29c7cdaef0540af51c9cfafeea Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Fri, 3 Feb 2006 21:37:03 +0000 Subject: sketches for newbie tutorials. these will need to be renamed to be put in a better order svn path=/trunk/; revision=4542 --- doc/tutorials/intro/0.bang.pd | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 doc/tutorials/intro/0.bang.pd (limited to 'doc/tutorials/intro/0.bang.pd') 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; -- cgit v1.2.1