aboutsummaryrefslogtreecommitdiff
path: root/doc/tutorials
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-05-05 06:54:46 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2006-05-05 06:54:46 +0000
commit9c28b4bb7d0bf90a6d0506ac7c2fd1fa13f1bca8 (patch)
tree0deaf0cd36597f9228c2c5f84584cf1e6c5b79f2 /doc/tutorials
parent4a0a41362bee1e98e260d58cf032947e6e86b76d (diff)
minor tweaks
svn path=/trunk/; revision=5047
Diffstat (limited to 'doc/tutorials')
-rw-r--r--doc/tutorials/networking/Attic/01.netsend_netreceive.pd40
-rw-r--r--doc/tutorials/networking/Attic/chat-client.pd21
-rw-r--r--doc/tutorials/networking/TEMPLATE.pd2
-rw-r--r--doc/tutorials/networking/chat-client.pd21
4 files changed, 49 insertions, 35 deletions
diff --git a/doc/tutorials/networking/Attic/01.netsend_netreceive.pd b/doc/tutorials/networking/Attic/01.netsend_netreceive.pd
index 456ebd83..2cdb37e8 100644
--- a/doc/tutorials/networking/Attic/01.netsend_netreceive.pd
+++ b/doc/tutorials/networking/Attic/01.netsend_netreceive.pd
@@ -1,27 +1,27 @@
-#N canvas 15 58 632 452 10;
+#N canvas 15 58 636 456 10;
#X obj 8 10 cnv 15 400 40 empty empty netsend_netreceive 20 12 0 24
-228992 -66577 0;
-#X obj 56 181 send \$0-local-data;
-#X obj 56 292 receive \$0-local-data;
-#X obj 60 144 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -225271
--1 -1 7600 1;
-#X obj 59 331 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -262144
--1 -1 7600 1;
-#X obj 311 144 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -225280
--1 -1 1400 1;
-#X obj 311 331 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -262144
--1 -1 1400 1;
-#X obj 308 231 netsend;
-#X obj 308 291 netreceive 34567;
-#X msg 326 192 connect localhost 34567;
-#X obj 308 250 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
+#X obj 56 211 send \$0-local-data;
+#X obj 56 342 receive \$0-local-data;
+#X obj 60 174 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -225271
+-1 -1 0 1;
+#X obj 59 381 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 0 1;
+#X obj 311 174 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -225280
+-1 -1 0 1;
+#X obj 311 381 hsl 150 20 0 127 0 0 empty empty empty -2 -6 0 8 -262144
+-1 -1 0 1;
+#X obj 308 261 netsend;
+#X obj 308 341 netreceive 34567;
+#X msg 326 222 connect localhost 34567;
+#X obj 308 280 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
-#X obj 415 310 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
+#X obj 415 360 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0
1;
-#X text 329 249 <-- connection status;
-#X text 433 310 <-- connection status;
-#X msg 327 211 disconnect;
-#X msg 308 169 send \$1;
+#X text 329 279 <-- connection status;
+#X text 433 360 <-- connection status;
+#X msg 327 241 disconnect;
+#X msg 308 199 send \$1;
#X text 45 78 At the most basic level \, networking in Pd works a lot
like the standard [send] and [receive] objects \, except there is a
network port number rather than a send/receive name:;
diff --git a/doc/tutorials/networking/Attic/chat-client.pd b/doc/tutorials/networking/Attic/chat-client.pd
index 1872534c..1607e626 100644
--- a/doc/tutorials/networking/Attic/chat-client.pd
+++ b/doc/tutorials/networking/Attic/chat-client.pd
@@ -1,10 +1,10 @@
-#N canvas 114 52 613 511 10;
-#X obj 446 11 import maxlib cyclone;
+#N canvas 257 22 610 553 10;
+#X obj 413 12 import maxlib cyclone zexy;
#X msg 130 295 disconnect;
#X obj 108 323 netclient;
#X obj 50 233 prepend send;
-#X obj 108 377 prepend set;
-#X obj 60 377 print;
+#X obj 125 415 prepend set;
+#X obj 136 356 print;
#X obj 27 66 trigger bang bang;
#X msg 27 88 clear;
#X text 314 266 <-- first connect to the server;
@@ -38,16 +38,20 @@
#X connect 11 0 9 0;
#X connect 11 0 7 0;
#X coords 0 -1 1 1 25 25 1 100 100;
-#X restore 181 345 pd;
+#X restore 191 345 pd;
#X msg 108 266 connect pdbox.at.or.at 47292;
#X msg 27 27 send;
-#X obj 108 398 entry 300 100 grey90 black;
+#X obj 125 436 entry 300 100 grey90 black;
#X obj 49 121 entry 300 100 grey90 black;
#X text 114 96 type your message in the box below \, and click send
above;
+#X obj 67 356 niagara 1;
+#X text 68 437 message:;
+#X symbolatom 67 398 25 0 0 0 sender: - -;
+#X obj 67 377 symbol;
#X connect 1 0 2 0;
-#X connect 2 0 4 0;
#X connect 2 0 5 0;
+#X connect 2 0 16 0;
#X connect 2 1 10 0;
#X connect 3 0 2 0;
#X connect 4 0 13 0;
@@ -57,3 +61,6 @@ above;
#X connect 11 0 2 0;
#X connect 12 0 6 0;
#X connect 14 0 3 0;
+#X connect 16 0 19 0;
+#X connect 16 1 4 0;
+#X connect 19 0 18 0;
diff --git a/doc/tutorials/networking/TEMPLATE.pd b/doc/tutorials/networking/TEMPLATE.pd
index 35377e56..995ce85c 100644
--- a/doc/tutorials/networking/TEMPLATE.pd
+++ b/doc/tutorials/networking/TEMPLATE.pd
@@ -1,3 +1,3 @@
-#N canvas 15 58 636 456 10;
+#N canvas 15 58 640 460 10;
#X obj 8 10 cnv 15 400 40 empty empty TEMPLATE 20 12 0 24 -228992 -66577
0;
diff --git a/doc/tutorials/networking/chat-client.pd b/doc/tutorials/networking/chat-client.pd
index 1872534c..1607e626 100644
--- a/doc/tutorials/networking/chat-client.pd
+++ b/doc/tutorials/networking/chat-client.pd
@@ -1,10 +1,10 @@
-#N canvas 114 52 613 511 10;
-#X obj 446 11 import maxlib cyclone;
+#N canvas 257 22 610 553 10;
+#X obj 413 12 import maxlib cyclone zexy;
#X msg 130 295 disconnect;
#X obj 108 323 netclient;
#X obj 50 233 prepend send;
-#X obj 108 377 prepend set;
-#X obj 60 377 print;
+#X obj 125 415 prepend set;
+#X obj 136 356 print;
#X obj 27 66 trigger bang bang;
#X msg 27 88 clear;
#X text 314 266 <-- first connect to the server;
@@ -38,16 +38,20 @@
#X connect 11 0 9 0;
#X connect 11 0 7 0;
#X coords 0 -1 1 1 25 25 1 100 100;
-#X restore 181 345 pd;
+#X restore 191 345 pd;
#X msg 108 266 connect pdbox.at.or.at 47292;
#X msg 27 27 send;
-#X obj 108 398 entry 300 100 grey90 black;
+#X obj 125 436 entry 300 100 grey90 black;
#X obj 49 121 entry 300 100 grey90 black;
#X text 114 96 type your message in the box below \, and click send
above;
+#X obj 67 356 niagara 1;
+#X text 68 437 message:;
+#X symbolatom 67 398 25 0 0 0 sender: - -;
+#X obj 67 377 symbol;
#X connect 1 0 2 0;
-#X connect 2 0 4 0;
#X connect 2 0 5 0;
+#X connect 2 0 16 0;
#X connect 2 1 10 0;
#X connect 3 0 2 0;
#X connect 4 0 13 0;
@@ -57,3 +61,6 @@ above;
#X connect 11 0 2 0;
#X connect 12 0 6 0;
#X connect 14 0 3 0;
+#X connect 16 0 19 0;
+#X connect 16 1 4 0;
+#X connect 19 0 18 0;