diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-04-13 05:04:52 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-04-13 05:04:52 +0000 |
commit | 54d61372a2c35f43df7ac398da1a5d7bd37da857 (patch) | |
tree | cb49a92d817603f0f26f290a9cbcc613ae7dbbf3 /doc/tutorials/intro/08.bang.pd | |
parent | fbc1e03da8fa727349833e4ebb475dc2b7e06ade (diff) |
got the start of a good intro tutorial, but its lacking some good, simple exercises
svn path=/trunk/; revision=4897
Diffstat (limited to 'doc/tutorials/intro/08.bang.pd')
-rw-r--r-- | doc/tutorials/intro/08.bang.pd | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/tutorials/intro/08.bang.pd b/doc/tutorials/intro/08.bang.pd new file mode 100644 index 00000000..1cc8ce8d --- /dev/null +++ b/doc/tutorials/intro/08.bang.pd @@ -0,0 +1,18 @@ +#N canvas 208 184 605 391 12; +#X text 13 79 In Pd \, "bang" means "do something". What that "something" +is depends on the object receiving the bang.; +#X obj 18 191 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 +-1; +#X obj 18 220 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X msg 18 269 bang; +#X obj 18 294 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1 +; +#X text 40 189 <--bang button; +#X text 62 270 <--you can also send "bang" using a message box; +#X text 14 137 Here \, this toggle changes state when it receives a +bang:; +#X obj 8 10 cnv 15 400 40 empty empty bang 20 12 0 24 -228992 -66577 +0; +#X connect 1 0 2 0; +#X connect 3 0 4 0; |