Commit 723fe8f1 authored by Roman Haefeli's avatar Roman Haefeli
Browse files

added method to reset client list (/reset/clients)

parent 948a90a6
......@@ -4,17 +4,17 @@
#X obj 5 31 cnv 18 100 18 empty empty LOCATIONS: 3 10 0 12 -232576
-1 0;
#X obj 5 50 cnv 18 100 18 empty \$0.client.display.0 empty 3 10 0 12
-261689 -62784 0;
-261689 -258699 0;
#X obj 5 69 cnv 18 100 18 empty \$0.client.display.1 empty 3 10 0 12
-261689 -62784 0;
-261689 -258699 0;
#X obj 5 88 cnv 18 100 18 empty \$0.client.display.2 empty 3 10 0 12
-261689 -62784 0;
-261689 -258699 0;
#X obj 5 107 cnv 18 100 18 empty \$0.client.display.3 empty 3 10 0
12 -261689 -62784 0;
12 -261689 -258699 0;
#X obj 5 126 cnv 18 100 18 empty \$0.client.display.4 empty 3 10 0
12 -261689 -62784 0;
12 -261689 -258699 0;
#X obj 5 145 cnv 18 100 18 empty \$0.client.display.5 empty 3 10 0
12 -261689 -62784 0;
12 -261689 -258699 0;
#X obj 106 31 cnv 18 400 18 empty empty LINKS: 3 10 0 12 -232576 -1
0;
#X obj 106 50 cnv 18 400 18 empty \$0.mylink.display.0 empty 3 10 0
......@@ -29,7 +29,7 @@
0 12 -261689 -33289 0;
#X obj 106 145 cnv 18 400 18 empty \$0.mylink.display.5 empty 3 10
0 12 -261689 -33289 0;
#N canvas 0 276 432 291 code 0;
#N canvas 0 276 474 281 code 0;
#N canvas 0 43 664 577 communication 0;
#X obj 9 38 packOSC;
#X obj 9 17 r \$0.send;
......@@ -145,19 +145,22 @@
#X obj 23 119 s \$0.to.tpf;
#X obj 23 139 r \$0.from.tpf;
#X obj 23 159 routeOSC /register;
#X obj 23 179 routeOSC /done /error;
#X obj 23 203 b;
#X obj 84 203 s \$0.error;
#X obj 78 204 s \$0.error;
#X obj 23 179 routeOSC /done /error /again;
#X obj 180 22 t b;
#X connect 0 0 3 0;
#X connect 1 0 2 0;
#X connect 2 0 0 1;
#X connect 3 0 6 0;
#X connect 4 0 0 0;
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X connect 9 0 10 0;
#X connect 9 1 11 0;
#X connect 10 0 5 0;
#X connect 8 0 11 0;
#X connect 9 0 5 0;
#X connect 11 0 9 0;
#X connect 11 1 10 0;
#X connect 11 2 12 0;
#X connect 12 0 0 0;
#X restore 17 119 pd register/name;
#X obj 17 162 s \$0.registered;
#X connect 0 0 2 0;
......@@ -166,8 +169,8 @@
#X connect 3 0 4 0;
#X connect 4 0 5 0;
#X restore 8 62 pd tpf.initialization;
#X obj 13 212 r \$0.error;
#X obj 13 232 print TPF_ERROR;
#X obj 8 218 r \$0.error;
#X obj 8 238 print TPF_ERROR;
#N canvas 235 254 683 613 refresh 0;
#X obj 17 9 r \$0.from.tpf;
#X obj 17 65 s \$0.to.tpf;
......@@ -635,6 +638,14 @@ include;
#X obj 469 61 r \$0.registered;
#X obj 328 259 t b b;
#X obj 328 374 s \$0.updated.params;
#X obj 619 217 r \$0.block.settings;
#X obj 619 237 change -1;
#X obj 619 257 sel 0;
#X obj 619 286 t b b b b;
#X obj 670 308 s \$0.bitres.gui.r;
#X obj 653 330 s \$0.channels.gui.r;
#X obj 636 350 s \$0.jack.samplerate.gui.r;
#X obj 619 374 s \$0.jack.buffer.size.gui.r;
#X connect 6 0 7 0;
#X connect 7 0 17 0;
#X connect 8 0 11 0;
......@@ -677,9 +688,15 @@ include;
#X connect 44 0 27 0;
#X connect 45 0 46 0;
#X connect 45 1 43 0;
#X connect 47 0 48 0;
#X connect 48 0 49 0;
#X connect 50 0 54 0;
#X connect 50 1 53 0;
#X connect 50 2 52 0;
#X connect 50 3 51 0;
#X restore 8 126 pd params;
#X obj 176 103 text define \$0.params;
#N canvas 398 461 618 258 gui.code 0;
#N canvas 398 461 618 280 gui.code 0;
#X obj 26 14 r \$0.settings.gui;
#X msg 26 34 vis 1;
#X obj 26 54 s pd-SETTINGS/\$0;
......@@ -708,6 +725,9 @@ include;
#X msg 488 91 3;
#X msg 488 115 color \$1 \$1 12;
#X obj 488 154 s \$0.settings.gui.r;
#X obj 151 212 loadbang;
#X msg 151 232 symbol <LOCATION>;
#X obj 151 252 s \$0.name.r;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 3 0 4 0;
......@@ -737,16 +757,18 @@ include;
#X connect 24 0 26 0;
#X connect 25 0 26 0;
#X connect 26 0 27 0;
#X restore 15 169 pd gui.code;
#X connect 28 0 29 0;
#X connect 29 0 30 0;
#X restore 8 172 pd gui.code;
#N canvas 525 43 366 151 SETTINGS/\$0 0;
#X obj 11 23 vradio 14 1 0 5 \$0.jack.buffer.size.gui \$0.jack.buffer.size.gui.r
empty 0 -8 0 10 -262131 -166441 -1 1;
empty 0 -8 0 10 -262131 -33289 -1 1;
#X text 25 24 64;
#X text 25 52 256;
#X text 25 66 512;
#X text 25 80 1024;
#X obj 290 23 vradio 14 1 0 4 \$0.bitres.gui \$0.bitres.gui.r empty
0 -8 0 10 -262131 -166441 -1 1;
0 -8 0 10 -262131 -33289 -1 1;
#X text 306 23 8;
#X text 306 37 16;
#X text 306 51 24;
......@@ -754,7 +776,7 @@ empty 0 -8 0 10 -262131 -166441 -1 1;
#X text 273 5 bitres;
#X text 9 5 Buffer size;
#X obj 90 23 vradio 14 1 0 7 \$0.jack.samplerate.gui \$0.jack.samplerate.gui.r
empty 0 -8 0 10 -262131 -166441 -1 3;
empty 0 -8 0 10 -262131 -33289 -1 2;
#X text 89 5 Sample rate;
#X text 25 38 128;
#X text 105 23 22050;
......@@ -765,7 +787,7 @@ empty 0 -8 0 10 -262131 -166441 -1 3;
#X text 105 93 96000;
#X text 105 107 192000;
#X obj 190 23 vradio 14 1 0 7 \$0.channels.gui \$0.channels.gui.r empty
0 -8 0 10 -262131 -166441 -1 3;
0 -8 0 10 -262131 -33289 -1 2;
#X text 179 5 Channels;
#X text 206 23 2;
#X text 206 37 3;
......@@ -775,10 +797,27 @@ empty 0 -8 0 10 -262131 -166441 -1 3;
#X text 206 93 7;
#X text 206 107 8;
#X restore 185 233 pd SETTINGS/\$0;
#X obj 184 192 s \$0.to.tpf;
#X obj 337 152 r \$0.from.tpf;
#X obj 337 191 print FROM;
#X obj 337 172 spigot;
#X obj 337 232 spigot;
#X obj 337 212 r \$0.to.tpf;
#X obj 337 251 print TO;
#X obj 426 217 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X msg 184 172 /reset/clients;
#X connect 3 0 4 0;
#X connect 16 0 18 0;
#X connect 18 0 17 0;
#X connect 19 0 21 0;
#X connect 20 0 19 0;
#X connect 22 0 18 1;
#X connect 22 0 19 1;
#X connect 23 0 15 0;
#X restore 460 7 pd code;
#X symbolatom 96 7 15 0 0 0 - #0.bli #0.name, f 15;
#X symbolatom 96 7 15 0 0 0 - #0.name.r #0.name, f 15;
#X obj 8 7 hsl 80 18 0 127 0 0 \$0.connect.gui \$0.connect.gui.r CONNECT
2 10 0 12 -233017 -233017 -33289 0 1;
#X obj 197 7 hsl 80 18 0 127 0 0 \$0.settings.gui \$0.settings.gui.r
SETTINGS 2 10 0 12 -233017 -233017 -33289 1100 1;
SETTINGS 2 10 0 12 -233017 -233017 -33289 0 1;
#N canvas 719 43 298 254 10;
#N canvas 719 43 350 369 10;
#N canvas 821 348 558 410 tpf.communication 0;
#X obj 7 8 r SERVER;
#X obj 7 74 s \$0.from;
......@@ -559,3 +559,23 @@ by IP and port.;
#X connect 24 1 25 0;
#X connect 25 0 16 1;
#X restore 13 227 pd params;
#N canvas 938 512 355 291 reset/all 0;
#X obj 29 21 r \$0.from;
#X obj 95 164 text delete \$0.clients;
#X obj 75 182 text delete \$0.connections;
#X obj 56 200 text delete \$0.params;
#X obj 29 61 t b b;
#X msg 56 81 -1;
#X obj 56 101 t a a a;
#X msg 29 226 /register/again;
#X obj 29 246 s \$0.broadcast;
#X obj 29 41 routeOSC /reset/clients;
#X connect 0 0 9 0;
#X connect 4 0 7 0;
#X connect 4 1 5 0;
#X connect 5 0 6 0;
#X connect 6 1 2 0;
#X connect 6 2 1 0;
#X connect 7 0 8 0;
#X connect 9 0 4 0;
#X restore 13 245 pd reset/all;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment