aboutsummaryrefslogtreecommitdiff
path: root/test_chimaera_tuio.pd
blob: 31c1fae05f6477512026707dbd3dd2f8718003e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
#N canvas 489 3 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 text 812 501 Copyright (c) 2014 Hanspeter Portner(dev@open-music-kontrollers.ch)Released
under the zlib licence.;
#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 670 473 sendtyped /sensors/rate ii 13 2000;
#X obj 24 364 route addObject updateObject removeObject;
#X obj -6 403 print;
#X msg 640 494 sendtyped /config/mode is 13 osc.udp;
#X msg 671 228 sendtyped /sensors/group/attributes/0/min if 13 0;
#X msg 671 251 sendtyped /sensors/group/attributes/0/max if 13 1;
#X msg 671 274 sendtyped /sensors/group/attributes/0/north ii 13 0
;
#X msg 671 372 sendtyped /sensors/group/attributes/1/max if 13 1;
#X msg 671 395 sendtyped /sensors/group/attributes/1/north ii 13 1
;
#X msg 671 348 sendtyped /sensors/group/attributes/1/min if 13 0;
#X msg 671 297 sendtyped /sensors/group/attributes/0/south ii 13 1
;
#X msg 671 320 sendtyped /sensors/group/attributes/0/scale ii 13 0
;
#X msg 671 418 sendtyped /sensors/group/attributes/1/south ii 13 0
;
#X msg 671 441 sendtyped /sensors/group/attributes/1/scale ii 13 0
;
#X connect 0 0 12 0;
#X connect 1 0 12 0;
#X connect 2 0 3 0;
#X connect 2 1 4 0;
#X connect 6 0 31 0;
#X connect 6 1 7 0;
#X connect 9 0 11 0;
#X connect 10 0 11 0;
#X connect 12 0 13 0;
#X connect 12 2 17 0;
#X connect 13 0 2 0;
#X connect 14 0 12 0;
#X connect 15 0 11 0;
#X connect 16 0 15 0;
#X connect 22 0 14 0;
#X connect 23 0 14 0;
#X connect 24 0 14 0;
#X connect 25 0 14 0;
#X connect 26 0 14 0;
#X connect 27 0 14 0;
#X connect 28 0 14 0;
#X connect 29 0 14 0;
#X connect 30 0 14 0;
#X connect 31 0 32 0;
#X connect 31 1 32 0;
#X connect 31 2 32 0;
#X connect 33 0 14 0;
#X connect 34 0 14 0;
#X connect 35 0 14 0;
#X connect 36 0 14 0;
#X connect 37 0 14 0;
#X connect 38 0 14 0;
#X connect 39 0 14 0;
#X connect 40 0 14 0;
#X connect 41 0 14 0;
#X connect 42 0 14 0;
#X connect 43 0 14 0;