diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-04-18 10:17:13 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-04-18 10:17:13 +0000 |
commit | 592c2d0ec1530d5a06d16b8d96fd5ca694d7864c (patch) | |
tree | 5bcbb8845292f74e0accc1cc00d70f341f2c84dc /doc/tutorials/intro/20.atomic_messages.pd | |
parent | 7d3731fb32ee97e4fb30a853e6aa9cbcf135e83c (diff) |
inserted a patch on how to build messages using add, add2, and set since its used in later examples
svn path=/trunk/; revision=4934
Diffstat (limited to 'doc/tutorials/intro/20.atomic_messages.pd')
-rw-r--r-- | doc/tutorials/intro/20.atomic_messages.pd | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/tutorials/intro/20.atomic_messages.pd b/doc/tutorials/intro/20.atomic_messages.pd new file mode 100644 index 00000000..49d64edc --- /dev/null +++ b/doc/tutorials/intro/20.atomic_messages.pd @@ -0,0 +1,24 @@ +#N canvas 10 40 624 464 12; +#X obj 10 12 cnv 15 400 40 empty empty atomic_messages 20 12 0 24 -228992 +-66577 0; +#X msg 69 191 symbol atom; +#X msg 47 343 float 1.234; +#X text 15 76 To send one piece of data to an object \, send an atomic +message. There are atomic message to match each of the atom types. +; +#X symbolatom 61 233 10 0 0 0 - - -; +#X msg 54 165 atom; +#X text 172 232 <-- the symbol box expects a symbol message; +#X text 106 165 <-- this gives an error (check the Pd window); +#X text 196 190 <-- this works; +#X text 14 134 When using symbolic atoms \, the symbol message is essential: +; +#X floatatom 74 410 5 0 0 0 - - -; +#X msg 84 374 362; +#X text 17 273 When using numeric atoms \, the float message is optional. +This is because the float message is automatically implied when sending +a numeric atom:; +#X connect 1 0 4 0; +#X connect 2 0 10 0; +#X connect 5 0 4 0; +#X connect 11 0 10 0; |