aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2014-12-21 18:34:34 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2014-12-21 18:34:34 +0100
commit1c6cd5a5bd2addaa58b076bd35a861c8f364dd79 (patch)
treebca626100f812e196160c94cda44511ec8d1c1d2
parentf3556a08033c8e9d0755a362532a1f37e3977bc6 (diff)
downloadchimaera_pd-1c6cd5a5bd2addaa58b076bd35a861c8f364dd79.tar.xz
migrate to bidirectional TCP configuration
-rw-r--r--test_chimaera_custom.pd152
-rw-r--r--test_chimaera_dummy.pd195
-rw-r--r--test_chimaera_oscmidi.pd146
-rw-r--r--test_chimaera_tuio.pd117
4 files changed, 354 insertions, 256 deletions
diff --git a/test_chimaera_custom.pd b/test_chimaera_custom.pd
index 1c1025b..f0a1674 100644
--- a/test_chimaera_custom.pd
+++ b/test_chimaera_custom.pd
@@ -1,63 +1,97 @@
-#N canvas 592 204 928 738 10;
-#X obj 229 175 packOSC;
-#X msg 92 134 disconnect;
-#X msg 44 114 connect chimaera.local 4444;
-#X obj 178 211 udpsend;
-#X obj 720 494 udpreceive 4444;
-#X obj 747 530 unpackOSC;
-#X obj 722 559 routeOSC /success /fail;
-#X msg 393 299 send /sensors/number 13;
-#X obj 692 597 print success;
-#X obj 824 596 print fail;
-#X obj 407 496 tcpreceive 3333;
-#X obj 437 536 unpackOSCstream;
-#X msg 284 65 send /engines/mode 13 osc.slip.tcp;
-#X msg 304 89 send /engines/enabled 13 1;
-#X msg 261 34 send /engines/enabled 13 0;
-#X text 42 87 STEP 1: connect to Chimaera;
-#X text 267 11 STEP 2: configure Chimaera;
-#X text 696 461 Configuration replies;
-#X text 385 460 OSCMIDI to RAW MIDI conversion;
-#X text 727 679 Copyright (c) 2014 Hanspeter Portner (dev@open-music-kontrollers.ch) Released
+#N canvas 488 2 1066 571 10;
+#X declare -lib mrpeach;
+#X obj 227 355 unpackOSCstream;
+#X text 1000 523 Copyright (c) 2014 Hanspeter Portner (dev@open-music-kontrollers.ch) Released
under the zlib license.;
-#X msg 340 136 sendtyped /engines/custom/reset i 13;
-#X msg 324 114 send /engines/custom/enabled 13 1;
-#X obj 376 621 noteout;
-#X obj 444 621 bendout;
-#X obj 507 619 ctlout;
-#X msg 359 187 sendtyped /engines/custom/append isss 13 off /noteout
+#X msg 841 207 sendtyped /engines/custom/reset i 13;
+#X obj 166 440 noteout;
+#X obj 234 440 bendout;
+#X obj 297 438 ctlout;
+#X msg 840 262 sendtyped /engines/custom/append isss 13 off /noteout
i($b0x7f&)i(0)i($g);
-#X msg 351 155 sendtyped /engines/custom/append isss 13 on /notout
-i($b0x7f&)i(0x7f)i($g);
-#X msg 369 221 sendtyped /engines/custom/append isss 13 set /bendout
+#X msg 840 294 sendtyped /engines/custom/append isss 13 set /bendout
f($x0x7f*)i($g);
-#X msg 380 257 sendtyped /engines/custom/append isss 13 set /ctlout
+#X msg 841 328 sendtyped /engines/custom/append isss 13 set /ctlout
f($z0x7f*)i(7)i($g);
-#X obj 204 580 midiin;
-#X obj 188 611 print;
-#X obj 411 582 routeOSC /noteout /bendout /ctlout;
-#X msg 272 47 send /engines/server 13 0;
-#X connect 0 0 3 0;
-#X connect 1 0 3 0;
-#X connect 2 0 3 0;
-#X connect 4 0 5 0;
-#X connect 5 0 6 0;
-#X connect 6 0 8 0;
-#X connect 6 1 9 0;
-#X connect 7 0 0 0;
-#X connect 10 0 11 0;
-#X connect 11 0 31 0;
-#X connect 12 0 0 0;
-#X connect 13 0 0 0;
-#X connect 14 0 0 0;
-#X connect 20 0 0 0;
-#X connect 21 0 0 0;
-#X connect 25 0 0 0;
-#X connect 26 0 0 0;
-#X connect 27 0 0 0;
-#X connect 28 0 0 0;
-#X connect 29 0 30 0;
-#X connect 31 0 22 0;
-#X connect 31 1 23 0;
-#X connect 31 2 24 0;
-#X connect 32 0 0 0;
+#X obj 201 401 routeOSC /noteout /bendout /ctlout;
+#X msg 840 228 sendtyped /engines/custom/append isss 13 on /noteout
+i($b0x7f&)i(0x7f)i($g);
+#X obj 522 244 list split 1;
+#X obj 588 273 list trim;
+#X floatatom 582 323 5 0 0 0 - - -, f 5;
+#X obj 547 298 route /sensors/number;
+#X msg 586 86 disconnect;
+#X msg 585 62 connect chimaera.local 4444;
+#X obj 552 189 routeOSC /success /fail;
+#X obj 572 223 print success;
+#X obj 663 222 print fail;
+#X msg 843 406 sendtyped /sensors/group/attributes/1 iffiii 13 0 1
+1 0 0;
+#X msg 842 385 sendtyped /sensors/group/attributes/0 iffiii 13 0 1
+0 1 0;
+#X obj 171 6 import mrpeach;
+#X msg 221 69 connect chimaera.local 4444;
+#X msg 222 130 disconnect;
+#X obj 172 159 udpsend;
+#X obj 548 113 tcpclient;
+#X obj 572 162 unpackOSCstream;
+#X obj 713 130 packOSCstream;
+#X obj 221 99 packOSC;
+#X msg 275 99 sendtyped /config/mode is 13 osc.slip.tcp;
+#X obj 601 142 tgl 15 0 empty empty connected 17 7 0 10 -258113 -1
+-1 0 1;
+#X text 171 40 STEP 1: Put Chimaera Config Socket into TCP mode;
+#X text 547 37 STEP 2: Connect to Chimaera Config Socket;
+#X text 840 37 STEP 3: Configure Chimaera Output for UDP and TUIO1
+;
+#X msg 840 59 sendtyped /engines/enabled ii 13 0;
+#X msg 839 82 sendtyped /engines/server ii 13 0;
+#X msg 839 123 sendtyped /engines/address is 13 melamori.local:3333
+;
+#X msg 839 142 sendtyped /engines/enabled ii 13 1;
+#X msg 841 163 sendtyped /engines/reset i 13;
+#X msg 840 364 sendtyped /sensors/number i 13;
+#X msg 845 426 sendtyped /sensors/rate ii 13 2000;
+#X text 172 292 STEP 4: Receive Chimaera Event Data;
+#X msg 839 104 sendtyped /engines/mode is 13 osc.slip.tcp;
+#X obj 197 315 tcpreceive 3333;
+#X msg 841 185 sendtyped /engines/custom/enabled ii 13 1;
+#X msg 815 447 sendtyped /config/mode is 13 osc.udp;
+#X connect 0 0 9 0;
+#X connect 2 0 28 0;
+#X connect 6 0 28 0;
+#X connect 7 0 28 0;
+#X connect 8 0 28 0;
+#X connect 9 0 3 0;
+#X connect 9 1 4 0;
+#X connect 9 2 5 0;
+#X connect 10 0 28 0;
+#X connect 11 1 12 0;
+#X connect 12 0 14 0;
+#X connect 14 0 13 0;
+#X connect 15 0 26 0;
+#X connect 16 0 26 0;
+#X connect 17 0 18 0;
+#X connect 17 0 11 0;
+#X connect 17 1 19 0;
+#X connect 20 0 28 0;
+#X connect 21 0 28 0;
+#X connect 23 0 25 0;
+#X connect 24 0 25 0;
+#X connect 26 0 27 0;
+#X connect 26 2 31 0;
+#X connect 27 0 17 0;
+#X connect 28 0 26 0;
+#X connect 29 0 25 0;
+#X connect 30 0 29 0;
+#X connect 35 0 28 0;
+#X connect 36 0 28 0;
+#X connect 37 0 28 0;
+#X connect 38 0 28 0;
+#X connect 39 0 28 0;
+#X connect 40 0 28 0;
+#X connect 41 0 28 0;
+#X connect 43 0 28 0;
+#X connect 44 0 0 0;
+#X connect 45 0 28 0;
+#X connect 46 0 28 0;
diff --git a/test_chimaera_dummy.pd b/test_chimaera_dummy.pd
index 925cd85..8367948 100644
--- a/test_chimaera_dummy.pd
+++ b/test_chimaera_dummy.pd
@@ -1,26 +1,10 @@
-#N struct blob float sid float gid float x float y float p;
-#N canvas 983 3 936 821 10;
+#N canvas 487 468 1054 543 10;
+#X declare -lib mrpeach;
#X obj 166 481 routeOSC /on /set /off /idle;
#X obj 174 750 dac~;
-#X obj 193 272 packOSC;
-#X msg 66 123 disconnect;
-#X msg 40 103 connect chimaera.local 4444;
-#X obj 154 327 udpsend;
-#X obj 706 62 udpreceive 4444;
-#X obj 707 92 unpackOSC;
-#X obj 724 181 print success;
-#X obj 810 182 print fail;
-#X obj 162 411 tcpreceive 3333;
-#X obj 188 447 unpackOSCstream;
-#X msg 278 196 sendtyped /sensors/group/attributes/1 iffiii 13 0 1
-1 0 0;
-#X msg 265 170 sendtyped /sensors/group/attributes/0 iffiii 13 0 1
-0 1 0;
-#X text 189 2 STEP 2: Configure Chimaera;
-#X text 17 61 STEP 1: Connect to Chimaera;
-#X text 128 385 Receive Chimaera Event Data;
-#X text 681 23 Receive Configuration Replies;
-#X text 686 757 Copyright (c) 2014 Hanspeter Portner (dev@open-music-kontrollers.ch) Released
+#X obj 12 417 tcpreceive 3333;
+#X obj 76 447 unpackOSCstream;
+#X text 813 715 Copyright (c) 2014 Hanspeter Portner (dev@open-music-kontrollers.ch) Released
under the zlib licence.;
#X obj 76 624 spray 2;
#X obj 54 593 pack f f;
@@ -32,79 +16,102 @@ under the zlib licence.;
#X text 358 623 gate;
#X obj 334 591 pack f 0;
#X obj 268 591 pack f 1;
-#X obj 706 129 routeOSC /success /fail;
-#X obj 117 526 unpack f f f f f f;
#X obj 275 524 unpack f f f;
-#X obj 674 205 list split 1;
-#X obj 672 234 list trim;
-#X floatatom 664 314 5 0 0 0 - - -, f 5;
+#X obj 354 347 list split 1;
+#X obj 420 376 list trim;
+#X floatatom 414 426 5 0 0 0 - - -, f 5;
#X obj 115 692 chimaera_sine;
#X obj 271 691 chimaera_sine;
-#X obj 551 598 struct blob float sid float gid float x float y float
-p;
-#X obj 573 650 print;
-#X obj 171 2 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
--1;
-#X msg 205 30 sendtyped /engines/enabled ii 13 0;
-#X msg 214 53 sendtyped /engines/server ii 13 0;
-#X msg 226 75 sendtyped /engines/mode is 13 osc.slip.tcp;
-#X msg 234 99 sendtyped /engines/enabled ii 13 1;
-#X msg 247 122 sendtyped /engines/dummy/enabled ii 13 1;
-#X msg 256 145 sendtyped /sensors/number i 13;
-#X obj 631 270 route /sensors/number;
-#X obj 132 327 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
-1;
-#X connect 0 0 30 0;
-#X connect 0 1 30 0;
-#X connect 0 2 31 0;
-#X connect 2 0 5 0;
-#X connect 3 0 5 0;
-#X connect 4 0 5 0;
-#X connect 5 0 47 0;
-#X connect 6 0 7 0;
-#X connect 7 0 29 0;
-#X connect 10 0 11 0;
-#X connect 11 0 0 0;
-#X connect 12 0 2 0;
-#X connect 13 0 2 0;
-#X connect 19 0 35 1;
-#X connect 19 1 36 1;
-#X connect 20 0 19 0;
-#X connect 23 0 24 0;
-#X connect 24 0 35 2;
-#X connect 24 1 36 2;
-#X connect 25 0 35 3;
-#X connect 25 1 36 3;
-#X connect 27 0 25 0;
-#X connect 28 0 25 0;
-#X connect 29 0 32 0;
-#X connect 29 0 8 0;
-#X connect 29 1 9 0;
-#X connect 30 1 20 0;
-#X connect 30 1 23 0;
-#X connect 30 1 28 0;
-#X connect 30 3 20 1;
-#X connect 30 4 23 1;
-#X connect 31 1 27 0;
-#X connect 32 1 33 0;
-#X connect 33 0 46 0;
-#X connect 34 0 35 0;
-#X connect 34 0 36 0;
-#X connect 35 0 1 0;
-#X connect 36 0 1 1;
-#X connect 37 0 38 0;
-#X connect 39 0 40 0;
-#X connect 39 0 41 0;
-#X connect 39 0 42 0;
-#X connect 39 0 43 0;
-#X connect 39 0 44 0;
-#X connect 39 0 45 0;
-#X connect 39 0 13 0;
-#X connect 39 0 12 0;
-#X connect 40 0 2 0;
-#X connect 41 0 2 0;
-#X connect 42 0 2 0;
-#X connect 43 0 2 0;
-#X connect 44 0 2 0;
-#X connect 45 0 2 0;
-#X connect 46 0 34 0;
+#X obj 379 401 route /sensors/number;
+#X msg 418 189 disconnect;
+#X msg 417 165 connect chimaera.local 4444;
+#X obj 384 292 routeOSC /success /fail;
+#X obj 404 326 print success;
+#X obj 495 325 print fail;
+#X msg 677 369 sendtyped /sensors/group/attributes/1 iffiii 13 0 1
+1 0 0;
+#X msg 676 348 sendtyped /sensors/group/attributes/0 iffiii 13 0 1
+0 1 0;
+#X obj 3 109 import mrpeach;
+#X msg 53 172 connect chimaera.local 4444;
+#X msg 54 233 disconnect;
+#X obj 4 262 udpsend;
+#X obj 380 216 tcpclient;
+#X obj 404 265 unpackOSCstream;
+#X obj 545 233 packOSCstream;
+#X obj 53 202 packOSC;
+#X msg 107 202 sendtyped /config/mode is 13 osc.slip.tcp;
+#X obj 433 245 tgl 15 0 empty empty connected 17 7 0 10 -258113 -1
+-1 0 1;
+#X text 3 143 STEP 1: Put Chimaera Config Socket into TCP mode;
+#X text 379 140 STEP 2: Connect to Chimaera Config Socket;
+#X text 672 140 STEP 3: Configure Chimaera Output for UDP and TUIO1
+;
+#X msg 672 162 sendtyped /engines/enabled ii 13 0;
+#X msg 671 185 sendtyped /engines/server ii 13 0;
+#X msg 671 226 sendtyped /engines/address is 13 melamori.local:3333
+;
+#X msg 671 245 sendtyped /engines/enabled ii 13 1;
+#X msg 673 266 sendtyped /engines/reset i 13;
+#X msg 674 327 sendtyped /sensors/number i 13;
+#X msg 679 389 sendtyped /sensors/rate ii 13 2000;
+#X text 4 395 STEP 4: Receive Chimaera Event Data;
+#X msg 674 286 sendtyped /engines/dummy/enabled ii 13 1;
+#X msg 671 207 sendtyped /engines/mode is 13 osc.slip.tcp;
+#X msg 675 306 sendtyped /engines/dummy/redundancy ii 13 1;
+#X obj 117 526 unpack f f f f f;
+#X msg 649 410 sendtyped /config/mode is 13 osc.udp;
+#X connect 0 0 53 0;
+#X connect 0 1 53 0;
+#X connect 0 2 15 0;
+#X connect 2 0 3 0;
+#X connect 3 0 0 0;
+#X connect 5 0 19 1;
+#X connect 5 1 20 1;
+#X connect 6 0 5 0;
+#X connect 9 0 10 0;
+#X connect 10 0 19 2;
+#X connect 10 1 20 2;
+#X connect 11 0 19 3;
+#X connect 11 1 20 3;
+#X connect 13 0 11 0;
+#X connect 14 0 11 0;
+#X connect 15 1 13 0;
+#X connect 16 1 17 0;
+#X connect 17 0 21 0;
+#X connect 18 0 19 0;
+#X connect 18 0 20 0;
+#X connect 19 0 1 0;
+#X connect 20 0 1 1;
+#X connect 21 0 18 0;
+#X connect 22 0 33 0;
+#X connect 23 0 33 0;
+#X connect 24 0 25 0;
+#X connect 24 0 16 0;
+#X connect 24 1 26 0;
+#X connect 27 0 35 0;
+#X connect 28 0 35 0;
+#X connect 30 0 32 0;
+#X connect 31 0 32 0;
+#X connect 33 0 34 0;
+#X connect 33 2 38 0;
+#X connect 34 0 24 0;
+#X connect 35 0 33 0;
+#X connect 36 0 32 0;
+#X connect 37 0 36 0;
+#X connect 42 0 35 0;
+#X connect 43 0 35 0;
+#X connect 44 0 35 0;
+#X connect 45 0 35 0;
+#X connect 46 0 35 0;
+#X connect 47 0 35 0;
+#X connect 48 0 35 0;
+#X connect 50 0 35 0;
+#X connect 51 0 35 0;
+#X connect 52 0 35 0;
+#X connect 53 1 6 0;
+#X connect 53 1 9 0;
+#X connect 53 1 14 0;
+#X connect 53 3 6 1;
+#X connect 53 4 9 1;
+#X connect 54 0 35 0;
diff --git a/test_chimaera_oscmidi.pd b/test_chimaera_oscmidi.pd
index db9d877..0cd4d30 100644
--- a/test_chimaera_oscmidi.pd
+++ b/test_chimaera_oscmidi.pd
@@ -1,17 +1,7 @@
-#N canvas 490 4 930 602 10;
-#X obj 229 175 packOSC;
-#X msg 92 134 disconnect;
-#X msg 43 114 connect chimaera.local 4444;
-#X obj 178 211 udpsend;
-#X obj 693 344 udpreceive 4444;
-#X obj 720 380 unpackOSC;
-#X obj 695 409 routeOSC /success /fail;
-#X obj 665 447 print success;
-#X obj 797 446 print fail;
-#X obj 380 346 tcpreceive 3333;
-#X obj 410 386 unpackOSCstream;
-#X obj 380 420 routeOSC /midi;
-#N canvas 1 446 570 554 oscmidi2rawmidi 1;
+#N canvas 477 4 1062 602 10;
+#X declare -lib mrpeach;
+#X obj 21 393 routeOSC /midi;
+#N canvas 1350 457 570 554 oscmidi2rawmidi 0;
#X obj 239 -82 inlet;
#X obj 288 55 >> 8;
#X obj 315 86 & 127;
@@ -66,48 +56,92 @@
#X connect 26 0 20 0;
#X connect 27 0 20 0;
#X connect 28 0 23 0;
-#X restore 398 460 pd oscmidi2rawmidi;
-#X text 42 87 STEP 1: connect to Chimaera;
-#X text 267 11 STEP 2: configure Chimaera;
-#X text 669 311 Configuration replies;
-#X text 358 310 OSCMIDI to RAW MIDI conversion;
-#X msg 361 237 sendtyped /engines/oscmidi/range if 13 32;
-#X msg 348 216 sendtyped /engines/oscmidi/offset if 13 34.5;
+#X restore 39 433 pd oscmidi2rawmidi;
#X text 700 529 Copyright (c) 2014 Hanspeter Portner (dev@open-music-kontrollers.ch) Released
under the zlib license.;
-#X msg 376 258 sendtyped /engines/oscmidi/control ii 13 7;
-#X msg 269 38 sendtyped /engines/enabled ii 13 0;
-#X msg 276 53 sendtyped /engines/server ii 13 0;
-#X msg 288 71 sendtyped /engines/mode is 13 osc.slip.tcp;
-#X msg 304 113 sendtyped /engines/enabled ii 13 1;
-#X msg 322 132 sendtyped /engines/oscmidi/enabled ii 13 1;
-#X msg 404 279 sendtyped /sensors/number i 13;
-#X msg 334 158 sendtyped /engines/oscmidi/path is 13 /midi;
-#X msg 345 180 sendtyped /engines/oscmidi/format is 13 int32;
-#X msg 349 197 sendtyped /engines/oscmidi/mapping is 13 control_change
+#X msg 687 205 sendtyped /engines/oscmidi/enabled ii 13 1;
+#X msg 687 227 sendtyped /engines/oscmidi/path is 13 /midi;
+#X msg 690 247 sendtyped /engines/oscmidi/format is 13 int32;
+#X obj 372 246 list split 1;
+#X obj 438 275 list trim;
+#X floatatom 432 325 5 0 0 0 - - -, f 5;
+#X obj 397 300 route /sensors/number;
+#X msg 436 88 disconnect;
+#X msg 435 64 connect chimaera.local 4444;
+#X obj 402 191 routeOSC /success /fail;
+#X obj 422 225 print success;
+#X obj 513 224 print fail;
+#X msg 693 408 sendtyped /sensors/group/attributes/1 iffiii 13 0 1
+1 0 0;
+#X msg 692 387 sendtyped /sensors/group/attributes/0 iffiii 13 0 1
+0 1 0;
+#X obj 21 8 import mrpeach;
+#X msg 71 71 connect chimaera.local 4444;
+#X msg 72 132 disconnect;
+#X obj 22 161 udpsend;
+#X obj 398 115 tcpclient;
+#X obj 422 164 unpackOSCstream;
+#X obj 563 132 packOSCstream;
+#X obj 71 101 packOSC;
+#X msg 125 101 sendtyped /config/mode is 13 osc.slip.tcp;
+#X obj 451 144 tgl 15 0 empty empty connected 17 7 0 10 -258113 -1
+-1 0 1;
+#X text 21 42 STEP 1: Put Chimaera Config Socket into TCP mode;
+#X text 397 39 STEP 2: Connect to Chimaera Config Socket;
+#X text 690 39 STEP 3: Configure Chimaera Output for UDP and TUIO1
;
-#X msg 295 92 sendtyped /engines/address is 13 192.168.1.10:3333;
-#X connect 0 0 3 0;
-#X connect 1 0 3 0;
-#X connect 2 0 3 0;
-#X connect 4 0 5 0;
-#X connect 5 0 6 0;
-#X connect 6 0 7 0;
-#X connect 6 1 8 0;
-#X connect 9 0 10 0;
-#X connect 10 0 11 0;
-#X connect 10 1 12 1;
-#X connect 11 0 12 0;
-#X connect 17 0 0 0;
-#X connect 18 0 0 0;
-#X connect 20 0 0 0;
-#X connect 21 0 0 0;
-#X connect 22 0 0 0;
-#X connect 23 0 0 0;
-#X connect 24 0 0 0;
-#X connect 25 0 0 0;
-#X connect 26 0 0 0;
-#X connect 27 0 0 0;
-#X connect 28 0 0 0;
-#X connect 29 0 0 0;
-#X connect 30 0 0 0;
+#X msg 690 61 sendtyped /engines/enabled ii 13 0;
+#X msg 689 84 sendtyped /engines/server ii 13 0;
+#X msg 689 125 sendtyped /engines/address is 13 melamori.local:3333
+;
+#X msg 689 144 sendtyped /engines/enabled ii 13 1;
+#X msg 691 165 sendtyped /engines/reset i 13;
+#X msg 690 366 sendtyped /sensors/number i 13;
+#X msg 695 428 sendtyped /sensors/rate ii 13 2000;
+#X text 22 294 STEP 4: Receive Chimaera Event Data;
+#X msg 689 106 sendtyped /engines/mode is 13 osc.slip.tcp;
+#X obj 21 319 tcpreceive 3333;
+#X obj 51 359 unpackOSCstream;
+#X msg 690 266 sendtyped /engines/oscmidi/multi ii 13 0;
+#X msg 690 286 sendtyped /engines/oscmidi/attributes/0 isffi 13 control_change
+20.833 53.33 7;
+#X msg 691 326 sendtyped /engines/oscmidi/attributes/1 isffi 13 control_change
+20.833 53.33 7;
+#X msg 665 449 sendtyped /config/mode is 13 osc.udp;
+#X connect 0 0 1 0;
+#X connect 3 0 23 0;
+#X connect 4 0 23 0;
+#X connect 5 0 23 0;
+#X connect 6 1 7 0;
+#X connect 7 0 9 0;
+#X connect 9 0 8 0;
+#X connect 10 0 21 0;
+#X connect 11 0 21 0;
+#X connect 12 0 13 0;
+#X connect 12 0 6 0;
+#X connect 12 1 14 0;
+#X connect 15 0 23 0;
+#X connect 16 0 23 0;
+#X connect 18 0 20 0;
+#X connect 19 0 20 0;
+#X connect 21 0 22 0;
+#X connect 21 2 26 0;
+#X connect 22 0 12 0;
+#X connect 23 0 21 0;
+#X connect 24 0 20 0;
+#X connect 25 0 24 0;
+#X connect 30 0 23 0;
+#X connect 31 0 23 0;
+#X connect 32 0 23 0;
+#X connect 33 0 23 0;
+#X connect 34 0 23 0;
+#X connect 35 0 23 0;
+#X connect 36 0 23 0;
+#X connect 38 0 23 0;
+#X connect 39 0 40 0;
+#X connect 40 0 0 0;
+#X connect 40 1 1 1;
+#X connect 41 0 23 0;
+#X connect 42 0 23 0;
+#X connect 43 0 23 0;
+#X connect 44 0 23 0;
diff --git a/test_chimaera_tuio.pd b/test_chimaera_tuio.pd
index 2944312..c9aba53 100644
--- a/test_chimaera_tuio.pd
+++ b/test_chimaera_tuio.pd
@@ -1,51 +1,74 @@
-#N canvas 495 9 936 821 10;
-#X obj 231 237 packOSC;
-#X msg 66 123 disconnect;
-#X msg 40 103 connect chimaera.local 4444;
-#X obj 136 293 udpsend;
-#X obj 706 62 udpreceive 4444;
-#X obj 707 92 unpackOSC;
-#X obj 706 129 routeOSC /success /fail;
-#X msg 253 155 send /sensors/number 13;
-#X obj 672 189 print success;
-#X obj 810 182 print fail;
-#X msg 228 83 send /engines/enabled 13 1;
-#X msg 187 34 send /engines/enabled 13 0;
-#X msg 266 201 sendtyped /sensors/group/attributes/1 iffiii 13 0 1
+#N canvas 488 2 1054 552 10;
+#X declare -lib mrpeach;
+#X msg 411 83 disconnect;
+#X msg 410 59 connect chimaera.local 4444;
+#X obj 377 186 routeOSC /success /fail;
+#X obj 397 220 print success;
+#X obj 488 219 print fail;
+#X msg 672 241 sendtyped /sensors/group/attributes/1 iffiii 13 0 1
1 0 0;
-#X msg 262 176 sendtyped /sensors/group/attributes/0 iffiii 13 0 1
+#X msg 671 220 sendtyped /sensors/group/attributes/0 iffiii 13 0 1
0 1 0;
-#X text 187 12 STEP 2: Configure Chimaera;
-#X text 17 61 STEP 1: Connect to Chimaera;
-#X text 128 385 Receive Chimaera Event Data;
-#X text 681 23 Receive Configuration Replies;
-#X text 686 757 Copyright (c) 2014 Hanspeter Portner (dev@open-music-kontrollers.ch) Released
+#X text 812 501 Copyright (c) 2014 Hanspeter Portner (dev@open-music-kontrollers.ch) Released
under the zlib licence.;
-#X msg 204 49 send /engines/server 13 0;
-#X obj 162 411 TuioClient 3333;
-#X obj 163 445 print;
-#X obj 250 444 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
--1 -1;
-#X msg 210 65 send /engines/mode 13 osc.udp;
-#X msg 240 108 send /engines/reset 13;
-#X msg 246 131 send /engines/tuio1/enabled 13 1;
-#X msg 342 282 send /sensors/rate 13 2000;
-#X connect 0 0 3 0;
-#X connect 1 0 3 0;
+#X obj -6 340 TuioClient 3333;
+#X obj 94 341 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+-1;
+#X obj -4 3 import mrpeach;
+#X msg 46 66 connect chimaera.local 4444;
+#X msg 47 127 disconnect;
+#X obj -3 156 udpsend;
+#X obj 373 110 tcpclient;
+#X obj 397 159 unpackOSCstream;
+#X obj 538 127 packOSCstream;
+#X obj 46 96 packOSC;
+#X msg 100 96 sendtyped /config/mode is 13 osc.slip.tcp;
+#X obj 426 139 tgl 15 0 empty empty connected 17 7 0 10 -258113 -1
+-1 0 1;
+#X text -4 37 STEP 1: Put Chimaera Config Socket into TCP mode;
+#X text 372 34 STEP 2: Connect to Chimaera Config Socket;
+#X text 665 34 STEP 3: Configure Chimaera Output for UDP and TUIO1
+;
+#X text -6 316 STEP 4: Receive Chimaera Event Data;
+#X msg 665 56 sendtyped /engines/enabled ii 13 0;
+#X msg 664 79 sendtyped /engines/server ii 13 0;
+#X msg 664 101 sendtyped /engines/mode is 13 osc.udp;
+#X msg 664 120 sendtyped /engines/address is 13 melamori.local:3333
+;
+#X msg 664 139 sendtyped /engines/enabled ii 13 1;
+#X msg 666 160 sendtyped /engines/reset i 13;
+#X msg 667 180 sendtyped /engines/tuio1/enabled ii 13 1;
+#X msg 669 199 sendtyped /sensors/number i 13;
+#X msg 674 261 sendtyped /sensors/rate ii 13 2000;
+#X obj 24 364 route addObject updateObject removeObject;
+#X obj -6 403 print;
+#X msg 644 282 sendtyped /config/mode is 13 osc.udp;
+#X connect 0 0 14 0;
+#X connect 1 0 14 0;
#X connect 2 0 3 0;
-#X connect 4 0 5 0;
-#X connect 5 0 6 0;
-#X connect 6 0 8 0;
-#X connect 6 1 9 0;
-#X connect 7 0 0 0;
-#X connect 10 0 0 0;
-#X connect 11 0 0 0;
-#X connect 12 0 0 0;
-#X connect 13 0 0 0;
-#X connect 19 0 0 0;
-#X connect 20 0 21 0;
-#X connect 20 1 22 0;
-#X connect 23 0 0 0;
-#X connect 24 0 0 0;
-#X connect 25 0 0 0;
-#X connect 26 0 0 0;
+#X connect 2 1 4 0;
+#X connect 5 0 16 0;
+#X connect 6 0 16 0;
+#X connect 8 0 33 0;
+#X connect 8 1 9 0;
+#X connect 11 0 13 0;
+#X connect 12 0 13 0;
+#X connect 14 0 15 0;
+#X connect 14 2 19 0;
+#X connect 15 0 2 0;
+#X connect 16 0 14 0;
+#X connect 17 0 13 0;
+#X connect 18 0 17 0;
+#X connect 24 0 16 0;
+#X connect 25 0 16 0;
+#X connect 26 0 16 0;
+#X connect 27 0 16 0;
+#X connect 28 0 16 0;
+#X connect 29 0 16 0;
+#X connect 30 0 16 0;
+#X connect 31 0 16 0;
+#X connect 32 0 16 0;
+#X connect 33 0 34 0;
+#X connect 33 1 34 0;
+#X connect 33 2 34 0;
+#X connect 35 0 16 0;