aboutsummaryrefslogtreecommitdiff
path: root/doc/additional
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-05-14 18:21:47 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-05-14 18:21:47 +0000
commit244e754145ae6b201cca6668c295ac026c23aa12 (patch)
tree1c6a8a72f4558e2be1c9228b455e50d8352310ff /doc/additional
parentfdda31a3cd0ec2a43456bcb02d978ec8d9ec672c (diff)
- checked in Jonathan Wilkes' revised pd-msg patches directly from the "pd-msg
update.rar" included in the patch #2790373. Its a big improvement, I especially like the "hi there" surprise! svn path=/trunk/; revision=11363
Diffstat (limited to 'doc/additional')
-rw-r--r--doc/additional/pd-msg/0.intro.txt140
-rw-r--r--doc/additional/pd-msg/1.msg_and_patch/0.all_msg.pd228
-rw-r--r--doc/additional/pd-msg/1.msg_and_patch/1.0.objects.pd91
-rw-r--r--doc/additional/pd-msg/1.msg_and_patch/1.1.add_objects.pd75
-rw-r--r--doc/additional/pd-msg/1.msg_and_patch/1.2.create_patch.pd60
-rw-r--r--doc/additional/pd-msg/1.msg_and_patch/1.3.show_hide.pd2
-rw-r--r--doc/additional/pd-msg/1.msg_and_patch/2.menu.pd72
-rw-r--r--doc/additional/pd-msg/1.msg_and_patch/3.0.events.pd65
-rw-r--r--doc/additional/pd-msg/1.msg_and_patch/3.1.motion.pd70
-rw-r--r--doc/additional/pd-msg/1.msg_and_patch/3.2.cut_paste.pd93
-rw-r--r--doc/additional/pd-msg/1.msg_and_patch/4.fonts.pd47
-rw-r--r--doc/additional/pd-msg/2.msg_and_pd/1.pd_basic.pd8
-rw-r--r--doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd76
-rw-r--r--doc/additional/pd-msg/3.pdscript/README.txt2
-rw-r--r--doc/additional/pd-msg/4.msg_from_tcl/recv.pd9
-rw-r--r--doc/additional/pd-msg/4.msg_from_tcl/test.pd9
-rw-r--r--doc/additional/pd-msg/5.examples/1.polyphonie.pd198
17 files changed, 654 insertions, 591 deletions
diff --git a/doc/additional/pd-msg/0.intro.txt b/doc/additional/pd-msg/0.intro.txt
index 55b15591..7574af96 100644
--- a/doc/additional/pd-msg/0.intro.txt
+++ b/doc/additional/pd-msg/0.intro.txt
@@ -1,26 +1,26 @@
-Here some documentation about internal pd messages.
+Here is some documentation that covers internal pd messages.
(pd-msg_05)
-1) Thoses msg are sent directly to pd (pd selector) or to a loaded patch (pd-patch.pd selector).
- all thoses msg has to be finnished by a ";"
+1) Internal msgs are sent directly to pd (pd selector) or to a loaded patch (pd-patch.pd selector).
+ all these msgs have to end with a semicolon ";"
you can test them using :
- in the file menu : message
+ the pd menu under "File : Message..." or with the shortcut <ctrl-m>
pdsend
the tclsend2pd in the 4.msg_from_tcl folder.
- Thoses message allows you (examples):
- To control pd without the gui :
- Take benefit of the no-gui option
- open a patch via socket... (tcl, python, sh, c++,...)
- modify or create new patch
- Create patch that will create some other
- Deals with massive polyphonie (100 osc~ or more...)
- load patchs from an other
- construct generative patch
- Create new gui
- etc...
+ These messages allow you to:
+ control pd without the gui :
+ make use of the no-gui option
+ open a patch via socket... (tcl, python, sh, c++,...)
+ modify or create a new patch
+ create a patch that will create some other patch
+ dynamically create objects to create polyphony (e.g., 100 osc~ or more...)
+ load patches from within another patch
+ construct generative patches
+ create a new gui
+ and much more...
-2) Here an list of those msg (* are documented somewhere in this doc):
+2) Here's a list of pd's internal msgs (* are documented somewhere in this doc):
messages to pd:
init [gimme]
@@ -36,14 +36,14 @@ Here some documentation about internal pd messages.
ping
messages to canvas:
- * obj [gimme]
- * msg [gimme]
- * floatatom [gimme]
- * symbolatom [gimme]
- * text [gimme]
- * graph [gimme]
- * array
- * scalar [gimme]
+ * obj [gimme]
+ * msg [gimme]
+ * floatatom [gimme]
+ * symbolatom [gimme]
+ * text [gimme]
+ * graph [gimme]
+ * array
+ * scalar [gimme]
bng [gimme]
toggle [gimme]
vslider [gimme]
@@ -51,40 +51,40 @@ Here some documentation about internal pd messages.
radio [gimme]
vumeter [gimme]
mycnv [gimme]
- * connect [float] [float] [float] [float]
- * restore [gimme]
+ * connect [float] [float] [float] [float]
+ * restore [gimme]
write [symbol] [defsymbol]
read [symbol] [defsymbol]
mergefile [symbol] [defsymbol]
sort
- * click [float] [float] [float] [float]
- * mouseup [float] [float] [float]
- * key [gimme]
- * motion [float] [float] [float]
- * print [symbol]
- * menusave
- * menusaveas
- * menuclose [deffloat]
- * saveto [symbol] [symbol]
- * cut
- * copy
- * paste
- * duplicate
- * selectall
- * tidy
- * texteditor
- * editmode [deffloat]
+ * click [float] [float] [float] [float]
+ * mouseup [float] [float] [float]
+ * key [gimme]
+ * motion [float] [float] [float]
+ * print [symbol]
+ * menusave
+ * menusaveas
+ * menuclose [deffloat]
+ * saveto [symbol] [symbol]
+ * cut
+ * copy
+ * paste
+ * duplicate
+ * selectall
+ * tidy
+ * texteditor
+ * editmode [deffloat]
protectmode [deffloat]
- * print [symbol]
- * pop [deffloat]
- * loadbang
- * relocate [symbol] [symbol]
- * menufont
- * font [float] [float] [float]
- * find [gimme]
- * findagain
- * findparent
- * vis [float]
+ * print [symbol]
+ * pop [deffloat]
+ * loadbang
+ * relocate [symbol] [symbol]
+ * menufont
+ * font [float] [float] [float]
+ * find [gimme]
+ * findagain
+ * findparent
+ * vis [float]
properties [float] [float]
help [float] [float]
arraydialog [symbol] [float] [float] [float]
@@ -95,55 +95,55 @@ Here some documentation about internal pd messages.
-3) Here the map of the documentation :
+3) Here's an overview of the documentation :
1.msg_and_patch
- describe msg that can be sent to patch.
- contains pd files
+ description of msgs that can be sent to patches.
+ (contains pd files)
2.msg_and_pd
- describe msg that can be sent to pd.
- contains pd files
+ description of msgs that can be sent to pd.
+ (contains pd files)
3.pdscript
- it's sh scrip using pdsend to create patch into pd.
- pdscript has been done by Guenter Geiger
- contains it's own readme + files.
+ an example sh scrip using pdsend to create a patch in pd.
+ pdscript was authored by Guenter Geiger
+ (contains it's own readme + files)
4.msg_from_tcl/tk
- decribe how to use tcl/tk to create, open patch, etc...
+ decription of how to use tcl/tk to create a patch, open a patch, etc...
5.Examples
- Contain an example of how a "obj x y myOsc~" message can be use
- to deal with massive polyphonie
+ examples of how an "obj x y myOsc~" message can be used
+ to deal with "massive polyphony"
4) Releases :
release 0.5 : pd-msg_05.tar.gz
- add some more msg.
+ added some more msg.
Thanks to Krzysztof Czaja
- all msg are listed for pd0.34
+ all msgs are listed for pd0.34
release 0.4 : pd-msg_04.tar.gz
- add many message :
+ added many messages :
the events messages
the menu messages
the cut&paste msg, etc...
complete the polyphonie example
release 0.3 : pd-msg
- Rearenge patch & examples in diferents directory.
+ Rearrange patch & examples in different directory.
add polyphonie examples
add tcl scripts...
release 0.2 : self-generation
- add messages to open and close patch.
+ added messages to open and close patch.
release 0.1 : self-construction
first release
5) To do list :
- some msg are not well explain or not explain at all.
+ some msgs are not well explained or not explained at all.
6) Reference :
Look @ the end of code of g_canvas.c in the source directory.
diff --git a/doc/additional/pd-msg/1.msg_and_patch/0.all_msg.pd b/doc/additional/pd-msg/1.msg_and_patch/0.all_msg.pd
index 9cb7337c..a81ab4b2 100644
--- a/doc/additional/pd-msg/1.msg_and_patch/0.all_msg.pd
+++ b/doc/additional/pd-msg/1.msg_and_patch/0.all_msg.pd
@@ -1,102 +1,126 @@
-#N canvas 174 23 565 725 10;
-#X text 14 2 Here the list of all the messages :;
-#X msg 40 207 array 500 190;
-#X msg 40 233 scalar 500 220;
-#X msg 40 318 restore;
-#X text 16 28 objects;
-#X text 20 345 events;
-#X msg 40 365 click \$1 \$2 \$3 \$4;
-#X msg 40 415 mouseup \$1 \$2 \$3;
-#X text 375 6 GUI stuff;
-#X msg 375 30 menusave;
-#X msg 375 56 menusaveas;
-#X msg 375 82 menuclose;
-#X msg 375 108 saveto;
-#X msg 375 194 cut;
-#X msg 375 216 copy;
-#X msg 375 260 duplicate;
-#X msg 375 134 tidy;
-#X msg 375 160 texteditor;
-#X msg 375 478 editmode \$1;
-#X msg 375 550 print;
-#X msg 375 622 pop;
-#X msg 375 514 loadbang;
-#X msg 375 321 menufont;
-#X msg 375 345 font 10 100 100;
-#X msg 375 416 findagain;
-#X msg 375 440 findparent;
-#X msg 40 51 obj 300 10 r test;
-#X msg 40 77 msg 300 40 bang;
-#X msg 40 129 symbolatom 300 100 symbol;
-#X msg 40 155 text 300 130 comment;
-#X msg 40 181 graph;
-#X msg 40 442 key 1 \$1;
-#X text 456 81 Warnnig !!!;
-#X text 426 109 ?????;
-#X text 149 234 ?????;
-#X msg 375 238 paste;
-#X msg 375 393 find test;
-#X msg 40 390 motion \$1 \$2 \$3;
-#X msg 40 103 floatatom 300 70;
-#X msg 375 282 selectall;
-#X text 22 462 reset the patch;
-#X msg 40 483 clear;
-#N canvas 0 22 498 348 subpatch 1;
-#X restore 210 700 pd subpatch;
-#X obj 40 699 s pd-subpatch;
-#X obj 375 698 s pd-subpatch;
-#X msg 40 289 connect 0 0 1 0;
-#X text 22 256 make connections;
-#X text 46 271 (connect obj# outlet# obj# inlet#);
-#X text 144 208 ?????;
-#X msg 40 525 read textfile.txt;
-#X msg 40 550 write textfile.txt;
-#X msg 375 602 vis \$1;
-#X msg 286 674 vis 1 \, clear;
-#X obj 286 655 loadbang;
-#X text 24 504 for reading/writing data structures;
-#X msg 40 593 relocate 10x20+300+400 20x30+400+500;
-#X text 26 576 this apparently relocates windows;
-#X msg 40 629 donecanvasdialog 1 -1 1 0 -1 1 1 50 50 100 100;
-#X text 25 614 this controls graph-on-parent;
-#X connect 1 0 43 0;
-#X connect 2 0 43 0;
-#X connect 3 0 43 0;
-#X connect 6 0 43 0;
-#X connect 7 0 43 0;
-#X connect 9 0 44 0;
-#X connect 10 0 44 0;
-#X connect 11 0 44 0;
-#X connect 12 0 44 0;
-#X connect 13 0 44 0;
-#X connect 14 0 44 0;
-#X connect 15 0 44 0;
-#X connect 16 0 44 0;
-#X connect 17 0 44 0;
-#X connect 18 0 44 0;
-#X connect 19 0 44 0;
-#X connect 20 0 44 0;
-#X connect 21 0 44 0;
-#X connect 22 0 44 0;
-#X connect 23 0 44 0;
-#X connect 24 0 44 0;
-#X connect 25 0 44 0;
-#X connect 26 0 43 0;
-#X connect 27 0 43 0;
-#X connect 28 0 43 0;
-#X connect 29 0 43 0;
-#X connect 30 0 43 0;
-#X connect 31 0 43 0;
-#X connect 35 0 44 0;
-#X connect 36 0 44 0;
-#X connect 37 0 43 0;
-#X connect 38 0 43 0;
-#X connect 39 0 44 0;
-#X connect 41 0 43 0;
-#X connect 45 0 43 0;
-#X connect 49 0 43 0;
-#X connect 50 0 43 0;
-#X connect 51 0 44 0;
-#X connect 52 0 44 0;
-#X connect 53 0 52 0;
-#X connect 57 0 43 0;
+#N canvas 430 0 565 660 10;
+#X msg 40 642 restore;
+#X text 16 28 objects;
+#X text 395 6 GUI stuff;
+#X msg 395 30 menusave;
+#X msg 395 52 menusaveas;
+#X msg 395 74 menuclose;
+#X msg 395 97 saveto;
+#X msg 395 173 cut;
+#X msg 395 195 copy;
+#X msg 395 239 duplicate;
+#X msg 395 119 tidy;
+#X msg 395 141 texteditor;
+#X msg 395 423 editmode \$1;
+#X msg 395 476 print;
+#X msg 395 530 pop;
+#X msg 395 450 loadbang;
+#X msg 395 293 menufont;
+#X msg 395 315 font 10 100 100;
+#X msg 395 369 findagain;
+#X msg 395 391 findparent;
+#X text 476 73 Warnnig !!!;
+#X text 446 98 ?????;
+#X msg 395 217 paste;
+#X msg 395 347 find test;
+#X msg 395 261 selectall;
+#X text 22 408 reset the patch;
+#X msg 40 432 clear;
+#N canvas 1 0 424 410 subpatch 1;
+#X coords 0 0 1 1 50 50 0;
+#X restore 210 665 pd subpatch;
+#X obj 40 665 s pd-subpatch;
+#X obj 395 665 s pd-subpatch;
+#X msg 40 211 connect 0 0 1 0;
+#X msg 40 495 read textfile.txt;
+#X msg 40 517 write textfile.txt;
+#X msg 395 503 vis \$1;
+#X msg 443 618 vis 1 \, clear;
+#X obj 443 599 loadbang;
+#X msg 40 620 donecanvasdialog 1 -1 1 0 -1 1 1 50 50 100 100;
+#X text 23 600 this controls graph-on-parent;
+#X msg 40 233 disconnect 0 0 1 0;
+#X text 167 222 obj# outlet# obj# inlet#;
+#X text 91 643 ?????;
+#X msg 40 161 graph mygraph;
+#X obj 143 183 s pd-mygraph;
+#X msg 143 161 pop \, array array1 100 float 2;
+#X msg 40 51 obj 350 10 r test;
+#X msg 40 73 msg 350 40 bang;
+#X msg 40 95 floatatom 350 70;
+#X msg 40 117 symbolatom 350 100 symbol;
+#X msg 40 139 text 350 130 comment;
+#N canvas 166 389 351 173 ds 0;
+#X obj 38 39 filledcurve 990 0 1 0 0 50 0 50 50 0 50;
+#X obj 38 66 drawcurve 0 1 15 15 20 15 20 20 15 20 15 15;
+#X obj 38 93 drawcurve 0 1 30 15 35 15 35 20 30 20 30 15;
+#X obj 38 120 filledcurve 999 0 1 10 25 25 45 40 25 25 35 10 25;
+#X obj 20 12 struct ds float x float y symbol sym;
+#X obj 38 147 drawsymbol sym 55 25 0;
+#X restore 225 473 pd ds;
+#X msg 40 385 motion 200 200 0;
+#X msg 40 276 editmode 1;
+#X msg 40 341 key 1 8 0;
+#X msg 40 297 mouse 340 135 1 0;
+#X msg 40 319 mouseup 355 145 0;
+#X msg 40 363 click 355 145 0 1 0;
+#X text 22 254 events (only work when editmode = 1 \, vis = 1);
+#X text 23 538 relocate windows;
+#X msg 40 581 vis 1;
+#X text 114 340 (8 = backspace);
+#X text 166 363 ?????;
+#X text 159 385 ?????;
+#X msg 40 559 vis 0 \, relocate 300x250+1+1 1x1+100+200;
+#X text 440 503 ( 0 or 1 );
+#X text 471 423 ( 0 or 1 );
+#X text 14 2 Here is a list of all messages:;
+#X text 23 188 connections;
+#X text 22 453 creating/reading/writing data structures;
+#X msg 40 473 scalar ds 175 175 -hi_there!;
+#X text 78 581 make it visible again;
+#X connect 0 0 28 0;
+#X connect 3 0 29 0;
+#X connect 4 0 29 0;
+#X connect 5 0 29 0;
+#X connect 6 0 29 0;
+#X connect 7 0 29 0;
+#X connect 8 0 29 0;
+#X connect 9 0 29 0;
+#X connect 10 0 29 0;
+#X connect 11 0 29 0;
+#X connect 12 0 29 0;
+#X connect 13 0 29 0;
+#X connect 14 0 29 0;
+#X connect 15 0 29 0;
+#X connect 16 0 29 0;
+#X connect 17 0 29 0;
+#X connect 18 0 29 0;
+#X connect 19 0 29 0;
+#X connect 22 0 29 0;
+#X connect 23 0 29 0;
+#X connect 24 0 29 0;
+#X connect 26 0 28 0;
+#X connect 30 0 28 0;
+#X connect 31 0 28 0;
+#X connect 32 0 28 0;
+#X connect 33 0 29 0;
+#X connect 34 0 29 0;
+#X connect 35 0 34 0;
+#X connect 36 0 28 0;
+#X connect 38 0 28 0;
+#X connect 41 0 28 0;
+#X connect 43 0 42 0;
+#X connect 44 0 28 0;
+#X connect 45 0 28 0;
+#X connect 46 0 28 0;
+#X connect 47 0 28 0;
+#X connect 48 0 28 0;
+#X connect 50 0 28 0;
+#X connect 51 0 28 0;
+#X connect 52 0 28 0;
+#X connect 53 0 28 0;
+#X connect 54 0 28 0;
+#X connect 55 0 28 0;
+#X connect 58 0 28 0;
+#X connect 62 0 28 0;
+#X connect 68 0 28 0;
diff --git a/doc/additional/pd-msg/1.msg_and_patch/1.0.objects.pd b/doc/additional/pd-msg/1.msg_and_patch/1.0.objects.pd
index cacf9eef..8cd7b0a0 100644
--- a/doc/additional/pd-msg/1.msg_and_patch/1.0.objects.pd
+++ b/doc/additional/pd-msg/1.msg_and_patch/1.0.objects.pd
@@ -1,28 +1,63 @@
-#N canvas 656 148 543 410 10;
-#X msg 39 237 array 500 190;
-#X msg 39 263 scalar 500 220;
-#X msg 39 348 restore;
-#X msg 39 322 connect \$1 \$2 \$3 \$4;
-#X text 15 58 objects;
-#X text 16 297 methods for reading files;
-#X msg 39 81 obj 300 10 r test;
-#X msg 39 107 msg 300 40 bang;
-#X msg 39 133 floatatom 300 70 symbol;
-#X msg 39 159 symbolatom 300 100 symbol;
-#X msg 39 185 text 300 130 comment;
-#X msg 39 211 graph;
-#X text 148 264 ?????;
-#X obj 39 383 s pd-1.0.objects.pd;
-#X text 110 348 ??????;
-#X text 16 7 Here the list of all the messages;
-#X text 17 24 that deals with objects.;
-#X connect 0 0 13 0;
-#X connect 1 0 13 0;
-#X connect 2 0 13 0;
-#X connect 3 0 13 0;
-#X connect 6 0 13 0;
-#X connect 7 0 13 0;
-#X connect 8 0 13 0;
-#X connect 9 0 13 0;
-#X connect 10 0 13 0;
-#X connect 11 0 13 0;
+#N canvas 421 111 543 545 10;
+#X msg 39 481 restore;
+#X text 15 48 objects;
+#X msg 39 71 obj 300 10 r test;
+#X msg 39 93 msg 300 40 bang;
+#X msg 39 115 floatatom 300 70 symbol;
+#X msg 39 137 symbolatom 300 100 symbol;
+#X msg 39 159 text 300 130 comment;
+#X obj 39 510 s pd-1.0.objects.pd;
+#X text 110 481 ??????;
+#N canvas 478 329 385 188 ds-example 0;
+#X text 27 119 An example struct to show how the "scalar" msg works
+;
+#X obj 18 23 struct ds-example float x float y symbol desc;
+#X obj 52 56 filledpolygon 900 0 1 0 0 10 0 10 10 0 10;
+#X obj 53 83 drawsymbol desc 20 0 0;
+#X text 28 146 usage: scalar <struct name> <arg1 arg2 arg3 etc.>;
+#X restore 69 213 pd ds-example;
+#X msg 39 191 scalar ds-example 300 160 this-is-a-ds-instance;
+#X obj 69 349 s pd-my_graph;
+#X msg 69 283 pop;
+#X text 24 259 1;
+#X text 54 284 2;
+#X text 54 320 3;
+#N canvas 34 396 417 187 connections 1;
+#X obj 14 8 inlet;
+#X obj 14 107 outlet;
+#X text 61 29 Object and inlet numbers start at 0;
+#X text 73 83 "connect"-ing multiple times will create duplicate;
+#X text 74 63 Warnings: cutting and pasting changes object order!;
+#X text 59 9 usage: connect obj# outlet# obj# inlet#;
+#X text 73 103 connections! (try it \, then scroll the number box and
+;
+#X text 73 124 watch the console);
+#X restore 204 413 pd connections;
+#X obj 69 439 s pd-connections;
+#X msg 69 388 connect 0 0 1 0;
+#X msg 69 413 disconnect 0 0 1 0;
+#X floatatom 204 388 5 0 0 0 - - -;
+#X obj 254 439 print;
+#X floatatom 204 439 5 0 0 0 - - -;
+#X text 33 239 graph name xfrom yfrom xto yto xtopl ytopl xbtmr ybtmr
+;
+#X msg 39 259 graph my_graph 0 1 99 -1 300 280 500 420;
+#X text 72 301 array name size float style;
+#X msg 69 321 array my_array 100 float 2;
+#X text 17 24 that deal with objects:;
+#X text 16 7 Here's a list of all messages;
+#X connect 0 0 7 0;
+#X connect 2 0 7 0;
+#X connect 3 0 7 0;
+#X connect 4 0 7 0;
+#X connect 5 0 7 0;
+#X connect 6 0 7 0;
+#X connect 10 0 7 0;
+#X connect 12 0 11 0;
+#X connect 16 0 21 0;
+#X connect 16 0 22 0;
+#X connect 18 0 17 0;
+#X connect 19 0 17 0;
+#X connect 20 0 16 0;
+#X connect 24 0 7 0;
+#X connect 26 0 11 0;
diff --git a/doc/additional/pd-msg/1.msg_and_patch/1.1.add_objects.pd b/doc/additional/pd-msg/1.msg_and_patch/1.1.add_objects.pd
index f9ba0822..64eb37fd 100644
--- a/doc/additional/pd-msg/1.msg_and_patch/1.1.add_objects.pd
+++ b/doc/additional/pd-msg/1.msg_and_patch/1.1.add_objects.pd
@@ -1,19 +1,8 @@
-#N canvas 67 167 711 648 10;
-#X text 42 13 To add an object into patch just send a message to the
-patch itself :;
+#N canvas 154 21 711 648 10;
#X msg 42 49 msg 500 10 bang;
-#X text 42 98 The selector should be "msg" \, "floatatom" \, "obj"
-\, "text" \, "array" \, "symbolatom" \, "scalar" and "graph";
#X text 224 53 <= Click here first;
-#X text 42 279 For connecting objects use the selector "connect". it
-take 4 arguments : the number of the first object \, the number of
-the outlet \, the number of the second object \, and the number of
-the inlet :;
#X text 207 232 <= and here;
-#X text 236 204 <= Then click here (and have a look to the properties
-of the object created);
-#X text 193 348 <= click here <= and here;
-#X text 42 437 And now the end of this exemple :;
+#X text 42 456 And now the end of this exemple :;
#X text 42 143 The next 2 numbers are X & Y position in the canvas.
Then it's a symbol for the name of the obj \, the content of the msg
\, etc... and some additionals parameters.;
@@ -32,28 +21,40 @@ Then it's a symbol for the name of the obj \, the content of the msg
#X text 20 532 8;
#X text 19 556 9;
#X text 14 582 10;
+#X text 42 13 To add an object into a patch just send a message to
+the patch itself :;
+#X obj 42 74 s pd-1.1.add_objects.pd;
+#X obj 42 255 s pd-1.1.add_objects.pd;
+#X obj 43 399 s pd-1.1.add_objects.pd;
+#X obj 42 612 s pd-1.1.add_objects.pd;
+#X text 42 98 The selector should be "msg" \, "floatatom" \, "obj"
+\, "text" \, "array" \, "symbolatom" \, "scalar" or "graph";
+#X text 236 204 <= Then click here (and have a look at the properties
+of the object created);
+#X text 42 279 For connecting objects use the selector "connect". It
+takes 4 arguments : the number of the first object \, the number of
+the outlet \, the number of the second object \, and the number of
+the inlet :;
+#X text 193 375 <= and here;
+#X text 193 348 <= click here;
+#X msg 43 349 connect 35 0 37 0;
+#X msg 43 374 connect 36 0 37 1;
+#X msg 42 507 connect 37 0 38 0;
+#X msg 42 557 connect 38 0 39 0;
#X text 276 530 !!! W A R N N I N G !!! It's very important to respect
-the order the objects are created. If you don't the "connect" selector
-won't work correctly. If you are not sure \, reload this patch and
-try again.;
-#X msg 43 349 connect 34 0 36 0;
-#X msg 43 374 connect 35 0 36 1;
-#X msg 42 507 connect 36 0 37 0;
-#X msg 42 557 connect 37 0 38 0;
-#X obj 42 74 s pd-1.add_objects.pd;
-#X obj 42 255 s pd-1.add_objects.pd;
-#X obj 43 399 s pd-1.add_objects.pd;
-#X obj 42 612 s pd-1.add_objects.pd;
-#X connect 1 0 30 0;
-#X connect 10 0 31 0;
-#X connect 11 0 31 0;
-#X connect 12 0 33 0;
-#X connect 13 0 33 0;
-#X connect 14 0 33 0;
-#X connect 26 0 32 0;
-#X connect 27 0 32 0;
-#X connect 27 0 32 0;
-#X connect 27 0 32 0;
-#X connect 27 0 32 0;
-#X connect 28 0 33 0;
-#X connect 29 0 33 0;
+the order in which objects are created. If you don't the "connect"
+selector won't work correctly. If you get stuck \, reload this patch
+and try again.;
+#X connect 0 0 21 0;
+#X connect 5 0 22 0;
+#X connect 6 0 22 0;
+#X connect 7 0 24 0;
+#X connect 8 0 24 0;
+#X connect 9 0 24 0;
+#X connect 30 0 23 0;
+#X connect 31 0 23 0;
+#X connect 31 0 23 0;
+#X connect 31 0 23 0;
+#X connect 31 0 23 0;
+#X connect 32 0 24 0;
+#X connect 33 0 24 0;
diff --git a/doc/additional/pd-msg/1.msg_and_patch/1.2.create_patch.pd b/doc/additional/pd-msg/1.msg_and_patch/1.2.create_patch.pd
index 2e422d5f..7c2eacd6 100644
--- a/doc/additional/pd-msg/1.msg_and_patch/1.2.create_patch.pd
+++ b/doc/additional/pd-msg/1.msg_and_patch/1.2.create_patch.pd
@@ -1,29 +1,31 @@
-#N canvas 181 410 915 475 10;
-#X msg 38 150 msg 10 10 bang;
-#X msg 38 198 obj 10 40 metro 500;
-#X msg 38 174 floatatom 100 10 7 50 5000;
-#X msg 38 270 obj 10 70 random 127;
-#X msg 38 318 floatatom 10 100 5;
-#X msg 38 366 text 10 130 That's it !;
-#X msg 38 222 connect 0 0 2 0;
-#X msg 38 246 connect 1 0 2 1;
-#X msg 38 294 connect 2 0 3 0;
-#X msg 38 342 connect 3 0 4 0;
-#X text 205 37 click here first;
-#X obj 38 404 s pd-new_patch;
-#X text 33 13 This will create a sub patch in this windows and open
-it :;
-#X msg 33 37 obj 500 200 pd new_patch;
-#X text 40 127 and then click here to fill it :;
-#X obj 33 62 s pd-1.2.create_patch.pd;
-#X connect 0 0 11 0;
-#X connect 1 0 11 0;
-#X connect 2 0 11 0;
-#X connect 3 0 11 0;
-#X connect 4 0 11 0;
-#X connect 5 0 11 0;
-#X connect 6 0 11 0;
-#X connect 7 0 11 0;
-#X connect 8 0 11 0;
-#X connect 9 0 11 0;
-#X connect 13 0 15 0;
+#N canvas 251 207 743 475 10;
+#X msg 38 150 msg 10 10 bang;
+#X msg 38 198 obj 10 40 metro 500;
+#X msg 38 174 floatatom 100 10 7 50 5000;
+#X msg 38 270 obj 10 70 random 127;
+#X msg 38 318 floatatom 10 100 5;
+#X msg 38 366 text 10 130 That's it !;
+#X msg 38 222 connect 0 0 2 0;
+#X msg 38 246 connect 1 0 2 1;
+#X msg 38 294 connect 2 0 3 0;
+#X msg 38 342 connect 3 0 4 0;
+#X text 195 37 click here first;
+#X obj 38 404 s pd-new_patch;
+#X msg 33 37 obj 500 200 pd new_patch;
+#X text 40 127 and then click here to fill it :;
+#X obj 33 62 s pd-1.2.create_patch.pd;
+#X text 33 13 This will create a sub patch in this window and open
+it :;
+#N canvas 0 0 450 300 new_patch 1;
+#X restore 500 200 pd new_patch;
+#X connect 0 0 11 0;
+#X connect 1 0 11 0;
+#X connect 2 0 11 0;
+#X connect 3 0 11 0;
+#X connect 4 0 11 0;
+#X connect 5 0 11 0;
+#X connect 6 0 11 0;
+#X connect 7 0 11 0;
+#X connect 8 0 11 0;
+#X connect 9 0 11 0;
+#X connect 12 0 14 0;
diff --git a/doc/additional/pd-msg/1.msg_and_patch/1.3.show_hide.pd b/doc/additional/pd-msg/1.msg_and_patch/1.3.show_hide.pd
index b0f866a0..fb804623 100644
--- a/doc/additional/pd-msg/1.msg_and_patch/1.3.show_hide.pd
+++ b/doc/additional/pd-msg/1.msg_and_patch/1.3.show_hide.pd
@@ -1,4 +1,4 @@
-#N canvas 198 107 383 241 10;
+#N canvas 209 341 383 241 10;
#N canvas 209 154 262 142 my-subpatch 0;
#X text 37 40 This is the sub patch;
#X restore 215 98 pd my-subpatch;
diff --git a/doc/additional/pd-msg/1.msg_and_patch/2.menu.pd b/doc/additional/pd-msg/1.msg_and_patch/2.menu.pd
index 7256ffe4..2b00a076 100644
--- a/doc/additional/pd-msg/1.msg_and_patch/2.menu.pd
+++ b/doc/additional/pd-msg/1.msg_and_patch/2.menu.pd
@@ -1,36 +1,36 @@
-#N canvas 22 196 222 608 10;
-#X text 17 121 GUI stuff;
-#X msg 17 145 menusave;
-#X msg 17 171 menusaveas;
-#X msg 17 197 menuclose;
-#X msg 17 223 saveto;
-#X msg 17 249 tidy;
-#X msg 17 275 texteditor;
-#X msg 17 434 editmode \$1;
-#X msg 35 408 0;
-#X msg 69 408 1;
-#X msg 17 460 print;
-#X msg 17 301 menufont;
-#X msg 17 353 findagain;
-#X msg 17 379 findparent;
-#X text 68 222 ?????;
-#X msg 17 327 find test;
-#X obj 17 496 s pd-2.menu.pd;
-#X text 98 196 Warnning !!!;
-#X text 15 14 Thoes msg will do exactly;
-#X text 17 33 what the corresponding;
-#X text 19 52 menu do.;
-#X connect 1 0 16 0;
-#X connect 2 0 16 0;
-#X connect 3 0 16 0;
-#X connect 4 0 16 0;
-#X connect 5 0 16 0;
-#X connect 6 0 16 0;
-#X connect 7 0 16 0;
-#X connect 8 0 7 0;
-#X connect 9 0 7 0;
-#X connect 10 0 16 0;
-#X connect 11 0 16 0;
-#X connect 12 0 16 0;
-#X connect 13 0 16 0;
-#X connect 15 0 16 0;
+#N canvas 394 36 222 544 10;
+#X text 17 121 GUI stuff;
+#X msg 17 145 menusave;
+#X msg 17 171 menusaveas;
+#X msg 17 197 menuclose;
+#X msg 17 223 saveto;
+#X msg 17 249 tidy;
+#X msg 17 275 texteditor;
+#X msg 17 434 editmode \$1;
+#X msg 35 408 0;
+#X msg 69 408 1;
+#X msg 17 460 print;
+#X msg 17 301 menufont;
+#X msg 17 353 findagain;
+#X msg 17 379 findparent;
+#X text 68 222 ?????;
+#X msg 17 327 find test;
+#X obj 17 496 s pd-2.menu.pd;
+#X text 98 196 Warnning !!!;
+#X text 17 33 what the corresponding;
+#X text 15 14 These messages will do exactly;
+#X text 19 52 menu items do.;
+#X connect 1 0 16 0;
+#X connect 2 0 16 0;
+#X connect 3 0 16 0;
+#X connect 4 0 16 0;
+#X connect 5 0 16 0;
+#X connect 6 0 16 0;
+#X connect 7 0 16 0;
+#X connect 8 0 7 0;
+#X connect 9 0 7 0;
+#X connect 10 0 16 0;
+#X connect 11 0 16 0;
+#X connect 12 0 16 0;
+#X connect 13 0 16 0;
+#X connect 15 0 16 0;
diff --git a/doc/additional/pd-msg/1.msg_and_patch/3.0.events.pd b/doc/additional/pd-msg/1.msg_and_patch/3.0.events.pd
index f864ad40..cbe88b60 100644
--- a/doc/additional/pd-msg/1.msg_and_patch/3.0.events.pd
+++ b/doc/additional/pd-msg/1.msg_and_patch/3.0.events.pd
@@ -1,32 +1,33 @@
-#N canvas 204 161 381 325 10;
-#X msg 36 86 click \$1 \$2 \$3 \$4;
-#X obj 111 182 key;
-#X floatatom 111 208 0 0 0;
-#X floatatom 50 184 0 0 0;
-#X msg 50 158 0;
-#X msg 6 6 bang;
-#X text 56 41 left;
-#X text 124 41 rigth;
-#X text 70 4 Msg-dealing with events :;
-#X text 89 28 click;
-#X text 218 47 \$1 x;
-#X text 219 65 \$2 y;
-#X text 218 117 \$4 mod (0:nomod \; 1 shift \; 2 crtl \; 3 alt \; 4
-right click);
-#X obj 36 290 s pd-3.0.events.pd;
-#X text 218 86 \$3 (unuse ???);
-#X msg 36 129 mouseup \$1 \$2 \$4;
-#X msg 113 60 15 15 0 8;
-#X msg 36 60 15 15 0 1;
-#X text 59 232 \$1 number of the key;
-#X msg 36 209 key 1 \$1;
-#X msg 36 257 motion \$1 \$2 \$4;
-#X connect 0 0 13 0;
-#X connect 1 0 2 0;
-#X connect 3 0 19 0;
-#X connect 4 0 3 0;
-#X connect 15 0 13 0;
-#X connect 16 0 0 0;
-#X connect 17 0 0 0;
-#X connect 19 0 13 0;
-#X connect 20 0 13 0;
+#N canvas 274 162 381 325 10;
+#X msg 36 86 click \$1 \$2 \$3 \$4;
+#X obj 111 182 key;
+#X floatatom 111 208 0 0 0 0 - - -;
+#X floatatom 50 184 0 0 0 0 - - -;
+#X msg 50 158 0;
+#X msg 6 6 bang;
+#X text 56 41 left;
+#X text 124 41 rigth;
+#X text 70 4 Msg-dealing with events :;
+#X text 89 28 click;
+#X text 218 37 \$1 x;
+#X text 218 52 \$2 y;
+#X obj 36 290 s pd-3.0.events.pd;
+#X msg 36 129 mouseup \$1 \$2 \$4;
+#X msg 113 60 15 15 0 8;
+#X msg 36 60 15 15 0 1;
+#X msg 36 257 motion \$1 \$2 \$4;
+#X msg 36 209 key 1 \$1 0;
+#X text 274 84 0:nomod \; 1 shift \; 2 crtl \; 3 alt \; 4 right click)
+;
+#X text 218 82 \$4 mod :;
+#X text 218 67 \$3 (unused ???);
+#X text 73 230 \$1 : number of the key;
+#X connect 0 0 12 0;
+#X connect 1 0 2 0;
+#X connect 3 0 17 0;
+#X connect 4 0 3 0;
+#X connect 13 0 12 0;
+#X connect 14 0 0 0;
+#X connect 15 0 0 0;
+#X connect 16 0 12 0;
+#X connect 17 0 12 0;
diff --git a/doc/additional/pd-msg/1.msg_and_patch/3.1.motion.pd b/doc/additional/pd-msg/1.msg_and_patch/3.1.motion.pd
index 3b23595c..e19562d4 100644
--- a/doc/additional/pd-msg/1.msg_and_patch/3.1.motion.pd
+++ b/doc/additional/pd-msg/1.msg_and_patch/3.1.motion.pd
@@ -1,35 +1,35 @@
-#N canvas 184 269 415 490 10;
-#N canvas 654 338 332 294 testing 0;
-#X obj 95 11 loadbang;
-#X msg 95 36 0;
-#X obj 12 37 random 127;
-#X floatatom 66 94 0 0 0 0 - - -;
-#X msg 12 11 bang;
-#X connect 0 0 1 0;
-#X connect 1 0 3 0;
-#X connect 2 0 3 0;
-#X connect 4 0 2 0;
-#X restore 119 439 pd testing;
-#X obj 20 438 s pd-testing;
-#X obj 89 247 pack f f;
-#X text 8 54 Start here;
-#X floatatom 120 185 0 0 0 0 - - -;
-#X floatatom 89 186 0 0 0 0 - - -;
-#X obj 100 219 t b f;
-#X text 7 363 Stop here;
-#X text 85 154 try this !!!;
-#X text 9 9 This example will show you how to use the motion msg.;
-#X msg 89 271 motion \$1 \$2 0;
-#X msg 20 390 motion 15 15 0 \, editmode 0 \, vis 0;
-#X msg 20 101 click 15 15 0 0 0;
-#X msg 20 75 vis 1 \, editmode 1 \, click 5 5 0 0 0 \, mouseup 200
-200 0;
-#X connect 2 0 10 0;
-#X connect 4 0 6 0;
-#X connect 5 0 2 0;
-#X connect 6 0 2 0;
-#X connect 6 1 2 1;
-#X connect 10 0 1 0;
-#X connect 11 0 1 0;
-#X connect 12 0 1 0;
-#X connect 13 0 1 0;
+#N canvas 178 114 415 490 10;
+#N canvas 654 338 332 294 testing 1;
+#X obj 95 11 loadbang;
+#X msg 95 36 0;
+#X obj 12 37 random 127;
+#X floatatom 66 94 0 0 0 0 - - -;
+#X msg 12 11 bang;
+#X connect 0 0 1 0;
+#X connect 1 0 3 0;
+#X connect 2 0 3 0;
+#X connect 4 0 2 0;
+#X restore 119 439 pd testing;
+#X obj 20 438 s pd-testing;
+#X obj 89 247 pack f f;
+#X text 8 54 Start here;
+#X floatatom 120 185 0 0 0 0 - - -;
+#X floatatom 89 186 0 0 0 0 - - -;
+#X obj 100 219 t b f;
+#X text 7 363 Stop here;
+#X text 85 154 try this !!!;
+#X text 9 9 This example will show you how to use the motion msg.;
+#X msg 89 271 motion \$1 \$2 0;
+#X msg 20 390 motion 15 15 0 \, editmode 0 \, vis 0;
+#X msg 20 75 vis 1 \, editmode 1 \, mouse 5 5 0 0 0 \, mouseup 200
+200 0;
+#X msg 20 101 mouse 15 15 0 0 0;
+#X connect 2 0 10 0;
+#X connect 4 0 6 0;
+#X connect 5 0 2 0;
+#X connect 6 0 2 0;
+#X connect 6 1 2 1;
+#X connect 10 0 1 0;
+#X connect 11 0 1 0;
+#X connect 12 0 1 0;
+#X connect 13 0 1 0;
diff --git a/doc/additional/pd-msg/1.msg_and_patch/3.2.cut_paste.pd b/doc/additional/pd-msg/1.msg_and_patch/3.2.cut_paste.pd
index 242faf72..96747453 100644
--- a/doc/additional/pd-msg/1.msg_and_patch/3.2.cut_paste.pd
+++ b/doc/additional/pd-msg/1.msg_and_patch/3.2.cut_paste.pd
@@ -1,48 +1,45 @@
-#N canvas 138 75 425 489 10;
-#N canvas 591 210 368 330 testing 0;
-#X obj 95 10 loadbang;
-#X msg 95 35 0;
-#X obj 12 37 random 127;
-#X floatatom 68 91 0 0 0 0 - - -;
-#X msg 12 11 bang;
-#X connect 0 0 1 0;
-#X connect 1 0 3 0;
-#X connect 2 0 3 0;
-#X connect 4 0 2 0;
-#X restore 315 439 pd testing;
-#X obj 20 438 s pd-testing;
-#X obj 248 211 pack f f;
-#X text 7 40 Start here;
-#X floatatom 279 149 0 0 0 0 - - -;
-#X floatatom 248 148 0 0 0 0 - - -;
-#X obj 259 183 t b f;
-#X text 27 364 Stop here;
-#X text 17 11 This example will show you how to use the motion msg.
-;
-#X msg 194 307 cut;
-#X msg 194 333 duplicate;
-#X text 50 81 show and select what's in the patch;
-#X text 171 409 close all;
-#X text 232 309 you can try thoses too.;
-#X text 66 125 and then here to copy and here to move;
-#X msg 56 252 mouseup 200 200 0;
-#X text 74 232 to acheive the pasting;
-#X msg 248 235 motion \$1 \$2 0;
-#X msg 20 60 vis 1 \, editmode 1 \, mouse 5 5 0 0 \, mouseup 200 200
-0;
-#X msg 37 146 copy \, paste \, mouse 15 15 0 0;
-#X msg 194 359 selectall;
-#X msg 40 389 motion 15 15 0 \, editmode 0 \, vis 0;
-#X connect 2 0 17 0;
-#X connect 4 0 6 0;
-#X connect 5 0 2 0;
-#X connect 6 0 2 0;
-#X connect 6 1 2 1;
-#X connect 9 0 1 0;
-#X connect 10 0 1 0;
-#X connect 15 0 1 0;
-#X connect 17 0 1 0;
-#X connect 18 0 1 0;
-#X connect 19 0 1 0;
-#X connect 20 0 1 0;
-#X connect 21 0 1 0;
+#N canvas 138 75 425 489 10;
+#N canvas 591 210 368 330 testing 1;
+#X obj 95 10 loadbang;
+#X msg 95 35 0;
+#X obj 12 37 random 127;
+#X floatatom 68 91 0 0 0 0 - - -;
+#X msg 12 11 bang;
+#X connect 0 0 1 0;
+#X connect 1 0 3 0;
+#X connect 2 0 3 0;
+#X connect 4 0 2 0;
+#X restore 315 439 pd testing;
+#X obj 20 438 s pd-testing;
+#X obj 248 211 pack f f;
+#X text 7 40 Start here;
+#X floatatom 279 149 0 0 0 0 - - -;
+#X floatatom 248 148 0 0 0 0 - - -;
+#X obj 259 183 t b f;
+#X text 38 355 Stop here;
+#X text 17 11 This example will show you how to use the motion msg.
+;
+#X msg 194 307 cut;
+#X msg 194 333 duplicate;
+#X text 50 81 show and select what's in the patch;
+#X text 171 409 close all;
+#X text 231 306 you can try thoses too.;
+#X msg 248 235 motion \$1 \$2 0;
+#X msg 20 60 vis 1 \, editmode 1 \, mouse 5 5 0 0 \, mouseup 200 200
+0;
+#X msg 194 359 selectall;
+#X msg 40 389 motion 15 15 0 \, editmode 0 \, vis 0;
+#X msg 37 146 copy \, paste \, mouse 25 25 0 0;
+#X text 50 125 and then here to copy \, paste ... and move;
+#X connect 2 0 14 0;
+#X connect 4 0 6 0;
+#X connect 5 0 2 0;
+#X connect 6 0 2 0;
+#X connect 6 1 2 1;
+#X connect 9 0 1 0;
+#X connect 10 0 1 0;
+#X connect 14 0 1 0;
+#X connect 15 0 1 0;
+#X connect 16 0 1 0;
+#X connect 17 0 1 0;
+#X connect 18 0 1 0;
diff --git a/doc/additional/pd-msg/1.msg_and_patch/4.fonts.pd b/doc/additional/pd-msg/1.msg_and_patch/4.fonts.pd
index c7ee019b..e8e46ca3 100644
--- a/doc/additional/pd-msg/1.msg_and_patch/4.fonts.pd
+++ b/doc/additional/pd-msg/1.msg_and_patch/4.fonts.pd
@@ -1,24 +1,23 @@
-#N canvas 43 70 405 234 10;
-#X msg 12 26 menufont;
-#X msg 32 64 font 10 100 100;
-#X msg 32 88 font 14 100 100;
-#X msg 30 114 font 24 100 100;
-#X msg 158 86 50;
-#X msg 198 86 200;
-#X msg 158 112 font 10 100 \$1;
-#X msg 274 84 50;
-#X msg 314 84 200;
-#X msg 274 112 font 10 \$1 100;
-#X text 14 3 Here the list of all the messages dealing with fonts :
-;
-#X obj 14 196 s pd-4.fonts.pd;
-#X connect 0 0 11 0;
-#X connect 1 0 11 0;
-#X connect 2 0 11 0;
-#X connect 3 0 11 0;
-#X connect 4 0 6 0;
-#X connect 5 0 6 0;
-#X connect 6 0 11 0;
-#X connect 7 0 9 0;
-#X connect 8 0 9 0;
-#X connect 9 0 11 0;
+#N canvas 293 251 405 234 10;
+#X msg 14 26 menufont;
+#X msg 32 64 font 10 100 100;
+#X msg 32 88 font 14 100 100;
+#X msg 30 114 font 24 100 100;
+#X msg 158 86 50;
+#X msg 198 86 200;
+#X msg 158 112 font 10 100 \$1;
+#X msg 274 84 50;
+#X msg 314 84 200;
+#X msg 274 112 font 10 \$1 100;
+#X obj 14 196 s pd-4.fonts.pd;
+#X text 14 3 Here a list of all the messages dealing with fonts :;
+#X connect 0 0 10 0;
+#X connect 1 0 10 0;
+#X connect 2 0 10 0;
+#X connect 3 0 10 0;
+#X connect 4 0 6 0;
+#X connect 5 0 6 0;
+#X connect 6 0 10 0;
+#X connect 7 0 9 0;
+#X connect 8 0 9 0;
+#X connect 9 0 10 0;
diff --git a/doc/additional/pd-msg/2.msg_and_pd/1.pd_basic.pd b/doc/additional/pd-msg/2.msg_and_pd/1.pd_basic.pd
index 48ec9f24..9d92d4e7 100644
--- a/doc/additional/pd-msg/2.msg_and_pd/1.pd_basic.pd
+++ b/doc/additional/pd-msg/2.msg_and_pd/1.pd_basic.pd
@@ -1,15 +1,15 @@
-#N canvas 312 164 378 475 10;
+#N canvas 562 159 378 475 10;
#X text 20 51 turn DSP calculation off & on;
#X msg 98 94 \; pd dsp 0 \;;
#X msg 172 94 \; pd dsp 1 \;;
#X msg 24 301 \; pd quit \;;
-#X floatatom 26 73 1 0 1;
+#X floatatom 26 73 1 0 1 0 - - -;
#X obj 26 123 s pd;
#X msg 26 97 dsp \$1;
#X msg 25 218 \; pd audiostatus \;;
#X text 22 194 same as "DIO errors";
-#X text 25 12 Here some message we can send to pd.;
-#X text 21 275 Quit pd (WARNNING);
#X text 21 356 There are many more that i don't know :-(;
+#X text 25 12 Here are some messages we can send to pd.;
+#X text 21 275 Quit pd (WARNING);
#X connect 4 0 6 0;
#X connect 6 0 5 0;
diff --git a/doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd b/doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd
index 55b803f9..8ba3626e 100644
--- a/doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd
+++ b/doc/additional/pd-msg/2.msg_and_pd/2.open_close.pd
@@ -1,38 +1,38 @@
-#N canvas 368 98 525 543 10;
-#X text 10 4 open and close an abstraction;
-#X text 22 231 (you have to put a corect name & valid path);
-#X msg 25 195 \; pd-abstraction.pd menuclose \;;
-#X text 25 131 Sometimes you can get relative paths (./ \, ../ \, etc.)
-to work \, but usually not. I don't know why...;
-#X msg 226 435 \; pd open \$1 \$2;
-#X text 57 480 you have to put the name of the patch to open ($1) and
-complete path to it ($2);
-#X obj 276 367 getdir;
-#X msg 25 63 \; pd open abstraction.pd /usr/local/lib/pd/doc/7.stuff/additional/pd-msg/2.msg_and_pd
-;
-#X text 25 41 OPEN;
-#X text 24 174 CLOSE;
-#X text 25 99 You have to put the name of the patch to open and complete
-path to it;
-#X obj 77 407 makefilename pd-%s;
-#X msg 77 434 \; \$1 menuclose \;;
-#X obj 77 386 symbol;
-#X msg 100 300 abstraction.pd;
-#X obj 99 334 trigger bang anything bang;
-#X obj 114 368 symbol;
-#X obj 51 359 del 2000;
-#X obj 226 387 pack s s;
-#X obj 226 368 symbol;
-#X text 27 278 OPEN \, THEN CLOSE AFTER 2 SECONDS;
-#X connect 6 0 18 1;
-#X connect 11 0 12 0;
-#X connect 13 0 11 0;
-#X connect 14 0 15 0;
-#X connect 15 0 17 0;
-#X connect 15 1 16 0;
-#X connect 15 1 19 0;
-#X connect 15 2 6 0;
-#X connect 16 0 13 1;
-#X connect 17 0 13 0;
-#X connect 18 0 4 0;
-#X connect 19 0 18 0;
+#N canvas 368 98 525 543 10;
+#X text 10 4 open and close an abstraction;
+#X msg 25 205 \; pd-abstraction.pd menuclose \;;
+#X text 25 141 Sometimes you can get relative paths (./ \, ../ \, etc.)
+to work \, but usually not. I don't know why...;
+#X msg 176 434 \; pd open \$1 \$2;
+#X obj 221 369 getdir;
+#X msg 25 63 \; pd open abstraction.pd /usr/local/lib/pd/doc/7.stuff/additional/pd-msg/2.msg_and_pd
+;
+#X text 25 41 OPEN;
+#X text 24 184 CLOSE;
+#X obj 51 418 makefilename pd-%s;
+#X msg 51 441 \; \$1 menuclose \;;
+#X obj 51 396 symbol;
+#X msg 51 310 abstraction.pd;
+#X obj 51 335 trigger bang anything bang;
+#X obj 127 369 symbol;
+#X obj 51 369 del 2000;
+#X obj 176 411 pack s s;
+#X obj 176 369 symbol;
+#X text 27 288 OPEN \, THEN CLOSE AFTER 2 SECONDS;
+#X text 25 109 You have to put the name of the patch to open and its
+complete path;
+#X text 22 241 (you have to put the correct name & a valid path);
+#X text 47 481 you have to put the name of the patch to open (\$1)
+and the complete path to it (\$2);
+#X connect 4 0 15 1;
+#X connect 8 0 9 0;
+#X connect 10 0 8 0;
+#X connect 11 0 12 0;
+#X connect 12 0 14 0;
+#X connect 12 1 13 0;
+#X connect 12 1 16 0;
+#X connect 12 2 4 0;
+#X connect 13 0 10 1;
+#X connect 14 0 10 0;
+#X connect 15 0 3 0;
+#X connect 16 0 15 0;
diff --git a/doc/additional/pd-msg/3.pdscript/README.txt b/doc/additional/pd-msg/3.pdscript/README.txt
index f5831b48..750e161f 100644
--- a/doc/additional/pd-msg/3.pdscript/README.txt
+++ b/doc/additional/pd-msg/3.pdscript/README.txt
@@ -1,4 +1,4 @@
-This is a short example how to "script" a Pd patch with pd commands.
+This is a short example that shows how to "script" a Pd patch with pd commands.
You will need to have 'pdsend' installed, which is a command line
tool for sending messages to Pd. There is one included in this
directory which might work for you.
diff --git a/doc/additional/pd-msg/4.msg_from_tcl/recv.pd b/doc/additional/pd-msg/4.msg_from_tcl/recv.pd
index 554ab101..81910ba6 100644
--- a/doc/additional/pd-msg/4.msg_from_tcl/recv.pd
+++ b/doc/additional/pd-msg/4.msg_from_tcl/recv.pd
@@ -1,5 +1,8 @@
#N canvas 357 509 628 150 10;
#X obj 453 26 netreceive 3006 0 old;
-#X text 32 10 This patch is here to receive the commands sended by tcl scripts;
-#X text 27 66 Execute the tcl files in 4.msg_from_tcl. (use wish83if your under Win xx);
-#X text 25 92 Have a look to the TCL source to understand how does this work.;
+#X text 27 66 Execute the tcl files in 4.msg_from_tcl. (use wish83if
+your under Win xx);
+#X text 32 10 This patch is here to receive the commands sent by tcl
+scripts;
+#X text 25 92 Have a look to the TCL source to understand how this
+works.;
diff --git a/doc/additional/pd-msg/4.msg_from_tcl/test.pd b/doc/additional/pd-msg/4.msg_from_tcl/test.pd
index 0cf63b09..bba80296 100644
--- a/doc/additional/pd-msg/4.msg_from_tcl/test.pd
+++ b/doc/additional/pd-msg/4.msg_from_tcl/test.pd
@@ -1,9 +1,10 @@
#N canvas 357 509 468 150 10;
-#X text 18 101 Have a look to the TCL source to understand how does this work.;
#X text 32 10 This patch is here to test the 2.nogui script;
#X obj 35 32 osc~ 440;
#X obj 34 82 dac~;
#X obj 35 56 /~ 50;
-#X connect 2 0 4 0;
-#X connect 4 0 3 0;
-#X connect 4 0 3 1;
+#X text 18 101 Have a look to the TCL source to understand how this
+works.;
+#X connect 1 0 3 0;
+#X connect 3 0 2 0;
+#X connect 3 0 2 1;
diff --git a/doc/additional/pd-msg/5.examples/1.polyphonie.pd b/doc/additional/pd-msg/5.examples/1.polyphonie.pd
index 3f44cf03..5086e99d 100644
--- a/doc/additional/pd-msg/5.examples/1.polyphonie.pd
+++ b/doc/additional/pd-msg/5.examples/1.polyphonie.pd
@@ -1,99 +1,99 @@
-#N canvas 96 191 894 406 10;
-#X obj 486 176 s as_b;
-#X floatatom 542 147 0 0 0;
-#X obj 542 171 s as_f;
-#X floatatom 617 150 0 0 0;
-#X obj 617 174 s as_bw;
-#X msg 486 107 127;
-#X msg 486 130 1;
-#X msg 486 154 10;
-#X obj 93 110 float;
-#X obj 147 110 + 1;
-#X obj 93 155 select 1;
-#X obj 34 128 delay 0;
-#X msg 93 45 bang;
-#X floatatom 486 201 0 0 0;
-#X obj 486 225 s as_sl;
-#X obj 93 68 t b 0;
-#X text 541 128 mean freq.;
-#X text 616 130 freq. bandwith;
-#X text 530 203 time for change (log);
-#X text 488 87 % of osc that will change;
-#X msg 745 80 127 50 13 74;
-#X obj 745 177 unpack f f f f;
-#X msg 745 101 127 0 75 127;
-#X msg 745 60 127 127 6 127;
-#X text 745 38 examples...;
-#X obj 93 134 < 100;
-#X text 85 -4 kill Asound in the upper left corner to removes all the
-osc.;
-#X msg 745 124 127 64 64 127;
-#X text 487 50 the controler :;
-#X obj 807 204 s as_f;
-#X obj 838 225 s as_bw;
-#X text 95 345 this msg do all the job !!!;
-#X text 532 106 <= ACTIVE INLET !!!;
-#X text 95 21 FIRST;
-#X text 303 20 SECOND;
-#X msg 745 147 127 0 0 10;
-#X obj 745 203 s as_b;
-#X obj 776 225 s as_sl;
-#X obj 245 220 float;
-#X obj 299 220 + 1;
-#X obj 245 265 select 1;
-#X obj 186 238 delay 0;
-#X msg 245 155 bang;
-#X obj 245 178 t b 0;
-#X obj 245 244 < 100;
-#X text 135 60 100 asound patch;
-#X text 137 46 this will load;
-#X text 289 171 100 asound patch;
-#X text 289 156 this will remove the;
-#X msg 92 300 \; pd-1.polyphonie.pd obj 10 10 asound \;;
-#X msg 375 464 editmode \$1;
-#X msg 361 284 \; pd-1.polyphonie.pd editmode 1 \; pd-1.polyphonie.pd
-click 12 12 1 1 \; pd-1.polyphonie.pd cut \; pd-1.polyphonie.pd editmode
-0 \;;
-#X msg 306 54 1;
-#X msg 341 55 0;
-#X text 285 37 turn on and off all asound;
-#X text 744 24 FIRD;
-#X text 300 186 if created \, if not...;
-#X obj 306 79 switch~;
-#X connect 1 0 2 0;
-#X connect 3 0 4 0;
-#X connect 5 0 0 0;
-#X connect 6 0 0 0;
-#X connect 7 0 0 0;
-#X connect 8 0 9 0;
-#X connect 8 0 25 0;
-#X connect 9 0 8 1;
-#X connect 10 0 49 0;
-#X connect 10 0 11 0;
-#X connect 11 0 8 0;
-#X connect 12 0 15 0;
-#X connect 13 0 14 0;
-#X connect 15 0 8 0;
-#X connect 15 1 8 0;
-#X connect 20 0 21 0;
-#X connect 21 0 36 0;
-#X connect 21 1 37 0;
-#X connect 21 2 29 0;
-#X connect 21 3 30 0;
-#X connect 22 0 21 0;
-#X connect 23 0 21 0;
-#X connect 25 0 10 0;
-#X connect 27 0 21 0;
-#X connect 35 0 21 0;
-#X connect 38 0 39 0;
-#X connect 38 0 44 0;
-#X connect 39 0 38 1;
-#X connect 40 0 41 0;
-#X connect 40 0 51 0;
-#X connect 41 0 38 0;
-#X connect 42 0 43 0;
-#X connect 43 0 38 0;
-#X connect 43 1 38 0;
-#X connect 44 0 40 0;
-#X connect 52 0 57 0;
-#X connect 53 0 57 0;
+#N canvas 96 191 894 406 10;
+#X obj 486 176 s as_b;
+#X floatatom 542 147 0 0 0 0 - - -;
+#X obj 542 171 s as_f;
+#X floatatom 617 150 0 0 0 0 - - -;
+#X obj 617 174 s as_bw;
+#X msg 486 107 127;
+#X msg 486 130 1;
+#X msg 486 154 10;
+#X obj 93 110 float;
+#X obj 147 110 + 1;
+#X obj 93 155 select 1;
+#X obj 34 128 delay 0;
+#X msg 93 45 bang;
+#X floatatom 486 201 0 0 0 0 - - -;
+#X obj 486 225 s as_sl;
+#X obj 93 68 t b 0;
+#X text 541 128 mean freq.;
+#X text 616 130 freq. bandwith;
+#X text 530 203 time for change (log);
+#X text 488 87 % of osc that will change;
+#X msg 745 80 127 50 13 74;
+#X obj 745 177 unpack f f f f;
+#X msg 745 101 127 0 75 127;
+#X msg 745 60 127 127 6 127;
+#X text 745 38 examples...;
+#X obj 93 134 < 100;
+#X msg 745 124 127 64 64 127;
+#X obj 807 204 s as_f;
+#X obj 838 225 s as_bw;
+#X text 532 106 <= ACTIVE INLET !!!;
+#X text 95 21 FIRST;
+#X text 303 20 SECOND;
+#X msg 745 147 127 0 0 10;
+#X obj 745 203 s as_b;
+#X obj 776 225 s as_sl;
+#X obj 245 220 float;
+#X obj 299 220 + 1;
+#X obj 245 265 select 1;
+#X obj 186 238 delay 0;
+#X msg 245 155 bang;
+#X obj 245 178 t b 0;
+#X obj 245 244 < 100;
+#X text 135 60 100 asound patch;
+#X text 137 46 this will load;
+#X text 289 171 100 asound patch;
+#X text 289 156 this will remove the;
+#X msg 93 300 \; pd-1.polyphonie.pd obj 10 10 asound \;;
+#X msg 375 464 editmode \$1;
+#X msg 361 284 \; pd-1.polyphonie.pd editmode 1 \; pd-1.polyphonie.pd
+click 12 12 1 1 \; pd-1.polyphonie.pd cut \; pd-1.polyphonie.pd editmode
+0 \;;
+#X msg 306 54 1;
+#X msg 341 55 0;
+#X text 300 186 if created \, if not...;
+#X obj 306 79 switch~;
+#X text 85 -4 kill Asound in the upper left corner to remove all the
+osc.;
+#X text 303 34 turn all asound's on and off;
+#X text 483 65 the controller :;
+#X text 744 24 THIRD;
+#X text 93 340 this msg does it all !!!;
+#X connect 1 0 2 0;
+#X connect 3 0 4 0;
+#X connect 5 0 0 0;
+#X connect 6 0 0 0;
+#X connect 7 0 0 0;
+#X connect 8 0 9 0;
+#X connect 8 0 25 0;
+#X connect 9 0 8 1;
+#X connect 10 0 46 0;
+#X connect 10 0 11 0;
+#X connect 11 0 8 0;
+#X connect 12 0 15 0;
+#X connect 13 0 14 0;
+#X connect 15 0 8 0;
+#X connect 15 1 8 0;
+#X connect 20 0 21 0;
+#X connect 21 0 33 0;
+#X connect 21 1 34 0;
+#X connect 21 2 27 0;
+#X connect 21 3 28 0;
+#X connect 22 0 21 0;
+#X connect 23 0 21 0;
+#X connect 25 0 10 0;
+#X connect 26 0 21 0;
+#X connect 32 0 21 0;
+#X connect 35 0 36 0;
+#X connect 35 0 41 0;
+#X connect 36 0 35 1;
+#X connect 37 0 38 0;
+#X connect 37 0 48 0;
+#X connect 38 0 35 0;
+#X connect 39 0 40 0;
+#X connect 40 0 35 0;
+#X connect 40 1 35 0;
+#X connect 41 0 37 0;
+#X connect 49 0 52 0;
+#X connect 50 0 52 0;