max v2;
#N vpatcher 39 59 987 533;
#P window setfont "Sans Serif" 9.;
#P newex 125 160 20 196617 t b;
#P comment 340 141 100 196617 autoregister;
#P toggle 353 162 15 0;
#P user umenu 573 46 100 196647 1 64 62 1;
#X add /subscribe;
#X add /unsubscribe;
#X add /register;
#X add /unregister;
#X add /query/expected;
#X add /query/nodes;
#X add /query/slots;
#X add /get;
#P outlet 166 387 15 0;
#P outlet 133 387 15 0;
#P outlet 103 387 15 0;
#P outlet 69 387 15 0;
#P outlet 44 387 15 0;
#P newex 441 315 126 196617 udpsend 127.0.0.1 57120;
#P newex 305 297 67 196617 prepend host;
#P newex 441 288 90 196617 OpenSoundControl;
#N vpatcher 59 358 659 758;
#P window setfont "Sans Serif" 9.;
#P newex 116 237 47 196617 s dnport;
#P button 466 59 15 0;
#P inlet 402 36 15 0;
#P message 416 208 53 196617 /register;
#P window linecount 1;
#P newex 418 186 20 196617 t b;
#P window linecount 0;
#P newex 414 166 55 196617 pipe 1000;
#P toggle 424 69 15 0;
#P outlet 424 261 15 0;
#P newex 413 141 20 196617 t b;
#P user gswitch 411 104 41 32 1 0;
#P window linecount 1;
#P newex 286 183 80 196617 sprintf host %s;
#P newex 317 146 78 196617 sprintf port %i;
#P window linecount 0;
#P newex 269 112 121 196617 unpack 127.0.0.1 57120;
#P newex 263 70 106 196617 OSC-route /announce;
#P outlet 294 233 15 0;
#P inlet 164 58 15 0;
#P connect 3 1 15 0;
#P connect 0 0 2 0;
#P connect 2 0 3 0;
#P connect 3 0 5 0;
#P connect 4 0 1 0;
#P connect 5 0 1 0;
#P connect 3 1 4 0;
#P connect 9 0 6 0;
#P connect 6 0 7 0;
#P connect 7 0 10 0;
#P connect 11 0 12 0;
#P connect 10 0 11 0;
#P connect 13 0 9 0;
#P connect 12 0 8 0;
#P connect 14 0 6 2;
#P connect 2 0 6 2;
#P pop;
#P newobj 307 255 58 196617 p announce;
#N vpatcher 23 368 623 768;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 158 127 20 196617 t b;
#P window linecount 0;
#P newex 289 126 91 196617 prepend set /pong;
#P message 202 171 63 196617 /pong 6009;
#P newex 191 215 27 196617 t b l;
#P outlet 245 263 15 0;
#P inlet 280 80 15 0;
#P inlet 137 76 15 0;
#P connect 0 0 6 0;
#P connect 4 0 3 0;
#P connect 6 0 4 0;
#P connect 5 0 4 0;
#P connect 3 1 2 0;
#P connect 3 0 2 0;
#P connect 1 0 5 0;
#P pop;
#P newobj 300 213 38 196617 p pong;
#P newex 38 310 204 196617 OSC-route /data /error /info /ping /warn;
#P newex 443 224 27 196617 t b l;
#N vpatcher 62 348 1116 771;
#P window setfont "Sans Serif" 9.;
#P newex 16 263 51 196617 print logi;
#P message 820 234 88 196617 /query/expected;
#P message 749 264 73 196617 /query/nodes;
#P message 727 236 70 196617 /query/slots;
#P newex 477 188 52 196617 unpack i i;
#P user gswitch2 442 248 39 32 0 0;
#P newex 544 311 75 196617 pack header i i;
#P newex 452 311 81 196617 pack header i i i;
#P newex 790 300 20 196617 t s;
#P message 661 215 63 196617 /unregister;
#P message 579 213 53 196617 /register;
#P newex 662 311 69 196617 pack header i;
#P newex 574 182 369 196617 OSC-route /register /unregister /query/slots /query/nodes /query/expected;
#N vpatcher 49 74 649 474;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P message 157 167 52 196617 sort -1 1;
#P message 157 147 53 196617 renumber;
#P window linecount 0;
#P message 157 127 33 196617 dump;
#P newex 157 94 40 196617 t b b b;
#P newex 414 191 62 196617 prepend set;
#P window linecount 1;
#P message 414 213 80 196617;
#P window linecount 0;
#P message 414 165 45 196617 read \$1;
#P newex 414 116 27 196617 t b l;
#P button 369 256 15 0;
#P button 341 256 15 0;
#P newex 301 304 90 196617 print subscription;
#N coll subscription.mtxt;
#P newobj 272 228 109 196617 coll subscription.mtxt;
#P outlet 272 303 15 0;
#P inlet 414 71 15 0;
#P inlet 272 71 15 0;
#P connect 3 2 11 0;
#P connect 11 0 12 0;
#P connect 11 1 13 0;
#P connect 11 2 14 0;
#P connect 8 0 3 0;
#P fasten 12 0 3 0 162 185 277 185;
#P fasten 13 0 3 0 162 195 277 195;
#P fasten 14 0 3 0 162 205 277 205;
#P connect 0 0 3 0;
#P connect 3 0 2 0;
#P connect 3 0 4 0;
#P connect 3 2 5 0;
#P connect 3 3 6 0;
#P connect 1 0 7 0;
#P connect 7 1 8 0;
#P connect 7 0 8 0;
#P connect 8 0 10 0;
#P connect 10 0 9 0;
#P pop;
#P newobj 90 110 111 196617 p subscriptionManager;
#P newex 570 109 20 196617 t b;
#P newex 599 50 94 196617 route edit port file;
#P newex 90 365 72 196617 sprintf %s%s;
#P user gswitch2 90 258 39 32 0 0;
#P message 179 330 36 196617 /node;
#P message 90 330 33 196617 /slot;
#P newex 179 302 30 196617 t b b;
#P newex 90 300 30 196617 t b b;
#P newex 89 232 27 196617 t b i;
#P newex 84 206 36 196617 == -1;
#P newex 90 180 52 196617 unpack i i;
#P newex 90 134 40 196617 t b l l;
#P message 502 126 30 196617 /get;
#P newex 331 229 62 196617 prepend set;
#P newex 328 167 48 196617 t dump s;
#P newex 331 82 194 196617 OSC-route /subscribe /unsubscribe /get;
#P message 90 86 30 196617 open;
#P message 331 260 64 196617 /get;
#P message 414 126 69 196617 /unsubscribe;
#P message 331 125 59 196617 /subscribe;
#P outlet 663 370 15 0;
#P inlet 573 35 15 0;
#P inlet 331 28 15 0;
#P connect 13 0 36 0;
#P connect 12 1 13 0;
#P connect 13 0 14 0;
#P connect 22 0 6 0;
#P connect 6 0 23 0;
#P connect 8 0 23 0;
#P connect 23 0 11 0;
#P connect 11 2 12 0;
#P connect 14 1 19 0;
#P connect 19 0 15 0;
#P connect 15 1 17 0;
#P connect 5 0 20 0;
#P connect 14 0 19 1;
#P connect 17 0 20 1;
#P connect 18 0 20 1;
#P connect 19 1 16 0;
#P connect 16 1 18 0;
#P connect 21 2 23 1;
#P connect 3 0 8 0;
#P connect 4 0 8 0;
#P connect 10 0 8 0;
#P connect 0 0 7 0;
#P connect 7 0 3 0;
#P connect 8 1 9 0;
#P connect 11 0 5 0;
#P connect 9 0 5 0;
#P connect 7 1 4 0;
#P connect 14 1 31 0;
#P connect 31 0 29 0;
#P connect 20 0 31 1;
#P connect 21 1 29 1;
#P connect 11 1 32 0;
#P connect 32 0 29 2;
#P connect 7 2 10 0;
#P connect 32 1 29 3;
#P connect 31 1 30 0;
#P connect 21 0 22 0;
#P connect 7 3 24 0;
#P connect 21 1 30 1;
#P connect 24 0 26 0;
#P connect 1 0 21 0;
#P connect 32 0 30 2;
#P connect 24 1 27 0;
#P connect 35 0 25 0;
#P connect 26 0 25 0;
#P connect 27 0 25 0;
#P connect 33 0 25 0;
#P connect 34 0 25 0;
#P connect 28 0 2 0;
#P connect 25 0 2 0;
#P connect 30 0 2 0;
#P connect 29 0 2 0;
#P connect 21 1 25 1;
#P connect 24 2 33 0;
#P connect 24 3 34 0;
#P connect 24 5 28 0;
#P connect 24 4 35 0;
#P pop;
#P newobj 443 198 75 196617 p dataNetwork;
#P message 443 139 25 196617 edit;
#P newex 443 96 20 196617 t b;
#P inlet 545 47 15 0;
#P inlet 443 48 15 0;
#P newex 38 248 122 196617 OSC-route /datanetwork;
#P newex 38 217 92 196617 udpreceive 57120;
#P newex 38 188 67 196617 prepend port;
#P newex 38 125 105 196617 route host port reset;
#P inlet 16 28 15 0;
#P newex 38 72 308 196617 patcherargs @host 127.0.0.1 @port 6009 @file subscription.mtxt;
#P button 110 42 15 0;
#P comment 159 50 100 196617 host port;
#P window linecount 3;
#P comment 199 107 100 196617 dataNetwork host and local listening port;
#P window linecount 2;
#P comment 220 159 100 196617 default listening port 6000-6009;
#P window linecount 1;
#P comment 573 75 273 196617 2008 Harry Smoak <harrycs@harrysmoak.com>;
#P connect 4 0 5 0;
#P connect 31 0 5 0;
#P connect 5 1 7 0;
#P connect 5 0 7 0;
#P connect 6 0 7 0;
#P connect 7 1 8 0;
#P connect 8 0 9 0;
#P connect 9 0 10 0;
#P connect 10 1 17 0;
#P connect 17 0 23 0;
#P connect 17 1 24 0;
#P connect 17 2 25 0;
#P connect 17 4 25 0;
#P connect 7 2 31 0;
#P connect 17 3 26 0;
#P connect 17 5 27 0;
#P connect 17 3 18 0;
#P connect 7 0 21 0;
#P connect 10 0 19 0;
#P connect 7 1 18 1;
#P connect 29 0 19 1;
#P connect 18 0 20 0;
#P connect 16 1 20 0;
#P connect 16 0 20 0;
#P connect 20 0 22 0;
#P connect 19 0 22 0;
#P connect 21 0 22 0;
#P connect 11 0 13 0;
#P connect 13 0 14 0;
#P connect 19 1 15 0;
#P connect 12 0 15 0;
#P connect 28 1 15 0;
#P connect 15 0 16 0;
#P connect 14 0 15 1;
#P connect 8 0 15 1;
#P pop;
