aboutsummaryrefslogtreecommitdiff
path: root/test_chimaera_custom.pd
blob: 2bbdbd7816b1030a14dbf5e61d5b55fe6830d8f5 (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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
#N canvas 489 3 1066 935 10;
#X declare -lib mrpeach;
#X obj 227 355 unpackOSCstream;
#X text 992 853 Copyright (c) 2014 Hanspeter Portner (dev@open-music-kontrollers.ch)Released
under the zlib license.;
#X msg 841 227 sendtyped /engines/custom/reset i 13;
#X obj 166 440 noteout;
#X obj 234 440 bendout;
#X obj 297 438 ctlout;
#X obj 201 401 routeOSC /noteout /bendout /ctlout;
#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 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 842 398 sendtyped /sensors/number i 13;
#X msg 831 693 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 205 sendtyped /engines/custom/enabled ii 13 1;
#X msg 801 714 sendtyped /config/mode is 13 osc.udp;
#X msg 840 284 sendtyped /engines/custom/append/off is 13 "/noteout
i($b0x7f&)i(0)i($g)";
#X msg 840 316 sendtyped /engines/custom/append/set is 13 "/bendout
f($x0x7f*)i($g)";
#X msg 841 350 sendtyped /engines/custom/append/set is 13 "/ctlout
f($z0x7f*)i(7)i($g)";
#X msg 842 437 sendtyped /sensors/group/attributes/0/min if 13 0;
#X msg 842 460 sendtyped /sensors/group/attributes/0/max if 13 1;
#X msg 842 483 sendtyped /sensors/group/attributes/0/north ii 13 0
;
#X msg 842 581 sendtyped /sensors/group/attributes/1/max if 13 1;
#X msg 842 604 sendtyped /sensors/group/attributes/1/north ii 13 1
;
#X msg 842 557 sendtyped /sensors/group/attributes/1/min if 13 0;
#X msg 842 506 sendtyped /sensors/group/attributes/0/south ii 13 1
;
#X msg 842 529 sendtyped /sensors/group/attributes/0/scale ii 13 0
;
#X msg 842 627 sendtyped /sensors/group/attributes/1/south ii 13 0
;
#X msg 842 650 sendtyped /sensors/group/attributes/1/scale ii 13 0
;
#X msg 840 250 sendtyped /engines/custom/append/on is 13 "/noteout
i($b0x7f&)i(0x7f)i($g)";
#X connect 0 0 6 0;
#X connect 2 0 22 0;
#X connect 6 0 3 0;
#X connect 6 1 4 0;
#X connect 6 2 5 0;
#X connect 7 1 8 0;
#X connect 8 0 10 0;
#X connect 10 0 9 0;
#X connect 11 0 20 0;
#X connect 12 0 20 0;
#X connect 13 0 14 0;
#X connect 13 0 7 0;
#X connect 13 1 15 0;
#X connect 17 0 19 0;
#X connect 18 0 19 0;
#X connect 20 0 21 0;
#X connect 20 2 25 0;
#X connect 21 0 13 0;
#X connect 22 0 20 0;
#X connect 23 0 19 0;
#X connect 24 0 23 0;
#X connect 29 0 22 0;
#X connect 30 0 22 0;
#X connect 31 0 22 0;
#X connect 32 0 22 0;
#X connect 33 0 22 0;
#X connect 34 0 22 0;
#X connect 35 0 22 0;
#X connect 37 0 22 0;
#X connect 38 0 0 0;
#X connect 39 0 22 0;
#X connect 40 0 22 0;
#X connect 41 0 22 0;
#X connect 42 0 22 0;
#X connect 43 0 22 0;
#X connect 44 0 22 0;
#X connect 45 0 22 0;
#X connect 46 0 22 0;
#X connect 47 0 22 0;
#X connect 48 0 22 0;
#X connect 49 0 22 0;
#X connect 50 0 22 0;
#X connect 51 0 22 0;
#X connect 52 0 22 0;
#X connect 53 0 22 0;
#X connect 54 0 22 0;