-
Notifications
You must be signed in to change notification settings - Fork 4
/
karmaOSCMrPeach.pd
106 lines (106 loc) · 3.15 KB
/
karmaOSCMrPeach.pd
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
#N canvas 366 196 944 509 10;
#X declare -stdpath mrpeach;
#X text 378 249 OSC SERVER CONFIGURATION;
#X text 201 258 - - - - - - - - - - - - - - - - - - - - - - - - - -
;
#X obj 203 418 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 203 363 spigot;
#X obj 298 301 spigot;
#X obj 298 324 print;
#X obj 211 439 s osc_status;
#X obj 203 275 r osc_out_raw;
#X msg 387 356 connect 192.168.0.11 12000;
#X text 202 249 :: OSC ROUTING ::;
#X text 664 265 Listen for re-connection..;
#X obj 766 368 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X msg 387 379 disconnect;
#X obj 656 416 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 788 368 Unrecognized command received;
#X text 754 284 Disconnects -->;
#X obj 808 414 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text 207 62 karmaOSCNative can be replaced with karmaOSCMrPeach
for better performance \, but requires to install the Mr Peach library.
;
#X text 207 23 :: karmaOSCNative ::;
#X obj 1 125 cnv 15 178 104 empty empty empty 20 12 0 14 -191407 -66577
0;
#X obj 8 206 tgl 15 0 \$0-kop-debug \$0-kop-debug-set empty 17 7 0
10 -262144 -1 -1 0 1;
#X text 27 206 Print Output to Console;
#X obj 331 275 r \$0-kop-debug;
#X text 4 146 IP;
#X text 22 128 Configuration;
#X obj 24 167 tgl 15 1 empty \$0-kop-status OSC_out_status 17 7 0 10
-262144 -1 -1 1 1;
#X obj 808 435 km_osc_format /pong;
#X msg 24 146 connect localhost 12000;
#X obj 203 461 s \$0-kop-status;
#X text 224 417 UDP Status;
#X obj 206 129 loadbang;
#X obj 387 331 r \$0-kop-netsend;
#X text 756 51 SET DEFAULTS;
#X obj 760 74 loadbang;
#X obj 760 122 s \$0-kop-debug-set;
#X obj 760 98 i 0;
#X text 294 440 Global notifier;
#X obj 656 438 s \$0-kop-reconnect;
#X obj 236 317 loadbang;
#X obj 236 340 i 0;
#X obj 656 244 loadbang;
#X obj 592 223 r \$0-kop-netreceive;
#X text 207 39 Lets other Pd patches send data to osc_out_raw;
#X text 690 456 Other routes have yet to be defined.;
#X obj 262 129 r \$0-kop-reconnect;
#X obj 207 163 s \$0-kop-netsend;
#X obj 208 202 s \$0-kop-netreceive;
#X obj 506 9 declare -stdpath mrpeach;
#X text 660 10 Make sure to load MrPeach;
#X obj 203 396 mrpeach/udpsend;
#X obj 656 304 mrpeach/unpackOSC 12001;
#X msg 852 287 port 0;
#X msg 656 282 port 12001;
#X obj 656 325 mrpeach/unpackOSC;
#X obj 656 367 routeOSC /kmsa;
#X obj 656 392 routeOSC /reconnectKMSA;
#X obj 808 392 routeOSC /ping;
#X msg 24 185 port 12001;
#X msg 115 185 port 0;
#X connect 2 0 3 1;
#X connect 2 0 6 0;
#X connect 2 0 28 0;
#X connect 3 0 49 0;
#X connect 4 0 5 0;
#X connect 7 0 4 0;
#X connect 7 0 3 0;
#X connect 8 0 49 0;
#X connect 12 0 49 0;
#X connect 13 0 37 0;
#X connect 16 0 26 0;
#X connect 22 0 4 1;
#X connect 27 0 45 0;
#X connect 30 0 27 0;
#X connect 31 0 49 0;
#X connect 33 0 35 0;
#X connect 35 0 34 0;
#X connect 38 0 39 0;
#X connect 39 0 3 1;
#X connect 40 0 52 0;
#X connect 41 0 50 0;
#X connect 44 0 27 0;
#X connect 49 0 2 0;
#X connect 50 0 53 0;
#X connect 51 0 50 0;
#X connect 52 0 50 0;
#X connect 53 0 54 0;
#X connect 54 0 55 0;
#X connect 54 0 56 0;
#X connect 54 1 11 0;
#X connect 55 0 13 0;
#X connect 56 0 16 0;
#X connect 57 0 46 0;
#X connect 58 0 46 0;
#X coords 0 -1 1 1 180 120 1 0 110;