diff options
Diffstat (limited to 'doc/tutorials/intro/08.bang.pd')
-rw-r--r-- | doc/tutorials/intro/08.bang.pd | 17 |
1 files changed, 17 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..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; |