From 41ea1e81ebb16832ca0fac20e3524fce439e5053 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 28 Mar 2006 05:18:17 +0000 Subject: made the first series on intros, many left to add... svn path=/trunk/; revision=4794 --- doc/tutorials/intro/08.bang.pd | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/tutorials/intro/08.bang.pd (limited to 'doc/tutorials/intro/08.bang.pd') diff --git a/doc/tutorials/intro/08.bang.pd b/doc/tutorials/intro/08.bang.pd new file mode 100644 index 00000000..e7a0affa --- /dev/null +++ b/doc/tutorials/intro/08.bang.pd @@ -0,0 +1,17 @@ +#N canvas 435 180 496 390 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 32 159 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 32 188 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1 +; +#X msg 32 248 bang; +#X obj 32 273 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X text 54 157 <--bang button; +#X text 76 249 <--you can also send "bang" using a message box; +#X text 28 105 Here \, this toggle changes state when it receives a +bang:; +#X connect 2 0 3 0; +#X connect 4 0 5 0; -- cgit v1.2.1