소스 검색

audio, artnet ouput and audio spectrum

added audio analysis through pd~
added artnet output capability (untested)
adapted some old audio spectrum visualisation to led matrix
Etienne Landon 8 년 전
부모
커밋
3fbe521416
15개의 변경된 파일2451개의 추가작업 그리고 1007개의 파일을 삭제
  1. 29 0
      3Dscenes/CountRepeat.pd
  2. 102 63
      3Dscenes/cubes.pd
  3. BIN
      3Dscenes/dirtyglass2.png
  4. 19 19
      3Dscenes/single.pd
  5. 260 0
      3Dscenes/spectrum.pd
  6. 0 791
      3DtoLED-v4clean.pd
  7. 928 0
      LedMatrix.pd
  8. 55 0
      artnetout-help.pd
  9. 27 0
      artnetout.pd
  10. 418 0
      audio/AudioAnalysis.pd
  11. 45 0
      audio/SubstFilter~.pd
  12. 156 0
      audio/analyse.pd
  13. 170 0
      audio/rAudio.pd
  14. 162 0
      makeartdmx.pd
  15. 80 134
      texread2.pd

+ 29 - 0
3Dscenes/CountRepeat.pd

@@ -0,0 +1,29 @@
+#N canvas 336 66 450 300 10;
+#X obj 149 62 inlet;
+#X msg 239 139 max \$1;
+#X obj 239 83 inlet;
+#X obj 149 203 outlet;
+#X obj 176 227 outlet;
+#X obj 149 146 t a b;
+#X obj 149 118 repeat 1;
+#X obj 176 178 counter 0;
+#X obj 210 57 f \$1;
+#X text 278 85 number of repetitions;
+#X text 116 55 comment;
+#X obj 149 89 t a b;
+#X obj 238 116 - 1;
+#X obj 208 12 r initbang;
+#X connect 0 0 11 0;
+#X connect 1 0 7 0;
+#X connect 2 0 6 1;
+#X connect 2 0 12 0;
+#X connect 5 0 3 0;
+#X connect 5 1 7 0;
+#X connect 6 0 5 0;
+#X connect 7 0 4 0;
+#X connect 8 0 6 1;
+#X connect 8 0 12 0;
+#X connect 11 0 6 0;
+#X connect 11 1 7 2;
+#X connect 12 0 1 0;
+#X connect 13 0 8 0;

+ 102 - 63
3Dscenes/cubes.pd

@@ -1,55 +1,74 @@
-#N canvas 123 251 701 431 10;
-#X obj 625 586 gemhead;
-#X obj 668 536 loadbang;
-#X msg 668 558 0;
-#X obj 618 642 rotateXYZ;
-#X floatatom 686 662 5 0 0 0 - - -, f 5;
-#X floatatom 704 626 5 0 0 0 - - -, f 5;
-#X msg 685 688 width 5;
-#X obj 616 616 color 1 0 0;
-#X obj 526 582 * -1;
-#X obj 327 590 gemhead;
-#X obj 370 540 loadbang;
-#X msg 370 562 0;
-#X obj 320 646 rotateXYZ;
-#X floatatom 388 666 5 0 0 0 - - -, f 5;
-#X floatatom 406 630 5 0 0 0 - - -, f 5;
-#X msg 387 692 width 5;
-#X obj 228 586 * -1;
-#X obj 318 620 color 0 0 1;
-#X obj 625 728 cube 1;
-#X obj 327 732 cube 1;
-#X obj 328 484 r to3Dscene;
-#X obj 328 548 t b;
-#X obj 328 526 spigot;
-#X obj 354 506 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
+#N canvas 115 247 701 431 10;
+#X obj 437 188 gemhead;
+#X obj 480 138 loadbang;
+#X msg 480 160 0;
+#X obj 430 274 rotateXYZ;
+#X floatatom 510 282 5 0 0 0 - - -, f 5;
+#X floatatom 516 258 5 0 0 0 - - -, f 5;
+#X msg 497 320 width 5;
+#X obj 428 248 color 1 0 0;
+#X obj 338 184 * -1;
+#X obj 139 192 gemhead;
+#X obj 182 142 loadbang;
+#X msg 182 164 0;
+#X obj 132 298 rotateXYZ;
+#X floatatom 20 302 5 0 0 0 - - -, f 5;
+#X floatatom 218 232 5 0 0 0 - - -, f 5;
+#X msg 199 344 width 5;
+#X obj 31 280 * -1;
+#X obj 130 272 color 0 0 1;
+#X obj 437 360 cube 1;
+#X obj 139 384 cube 1;
+#X obj 140 86 r to3Dscene;
+#X obj 140 150 t b;
+#X obj 140 128 spigot;
+#X obj 166 108 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
 1;
-#X obj 631 464 r to3Dscene;
-#X obj 631 528 t b;
-#X obj 631 506 spigot;
-#X obj 657 486 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
+#X obj 443 66 r to3Dscene;
+#X obj 443 130 t b;
+#X obj 443 108 spigot;
+#X obj 469 88 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
 1;
-#X text 338 456 blue cube;
-#X text 628 442 red cube;
-#X obj 477 425 adc~;
-#X floatatom 437 529 5 0 0 0 - - -, f 5;
-#X obj 452 583 metro 100;
-#X obj 452 605 counter 360;
-#X obj 443 553 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
+#X text 150 58 blue cube;
+#X text 440 44 red cube;
+#X obj 264 185 metro 100;
+#X obj 255 155 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
 1;
-#X floatatom 452 627 5 0 0 0 - - -, f 5;
-#X obj 476 480 autoscale;
-#X msg 476 502 1 \$1;
-#X obj 477 447 env~ 8192;
-#X obj 476 546 * 100;
-#X obj 476 524 -;
-#X obj 320 678 scale 0.8;
-#X obj 618 674 scale 0.4;
-#X connect 0 0 7 0;
+#X floatatom 264 229 5 0 0 0 - - -, f 5;
+#X obj 430 306 scale 0.4;
+#X obj 307 -3 r audio;
+#X obj 309 102 -;
+#X obj 307 19 route audio-env;
+#X obj 264 207 cyclone/counter 360;
+#X floatatom 267 101 5 0 0 0 - - -, f 5;
+#X obj 309 58 * 50;
+#X msg 309 80 55 \$1;
+#X obj 318 154 line 100;
+#X msg 318 132 \$1 100;
+#X msg 307 39 \$1;
+#X obj 36 28 r audio;
+#X obj 36 50 route audio-env;
+#X msg 36 130 0 0 \$1 \$1;
+#X obj 139 214 alpha;
+#X obj 437 210 alpha;
+#X obj 534 142 r audio;
+#X obj 534 164 route audio-env;
+#X msg 36 72 \$4;
+#X obj 36 94 sqrt;
+#X obj 534 208 sqrt;
+#X msg 534 229 \$1 0 0 \$1;
+#X msg 534 186 \$8;
+#X obj 565 279 * 1;
+#X msg 35 169 1 \$1;
+#X obj 35 191 -;
+#X obj 81 154 * 1.5;
+#X obj 35 213 * 1.5;
+#X obj 132 330 scale 0.8;
+#X connect 0 0 48 0;
 #X connect 1 0 2 0;
 #X connect 2 0 0 0;
-#X connect 3 0 42 0;
-#X connect 4 0 42 1;
+#X connect 3 0 33 0;
+#X connect 4 0 33 1;
 #X connect 5 0 3 2;
 #X connect 5 0 3 3;
 #X connect 5 0 3 1;
@@ -57,11 +76,11 @@
 #X connect 6 0 18 0;
 #X connect 7 0 3 0;
 #X connect 8 0 14 0;
-#X connect 9 0 17 0;
+#X connect 9 0 47 0;
 #X connect 10 0 11 0;
 #X connect 11 0 9 0;
-#X connect 12 0 41 0;
-#X connect 13 0 41 1;
+#X connect 12 0 61 0;
+#X connect 13 0 61 1;
 #X connect 14 0 12 2;
 #X connect 14 0 12 3;
 #X connect 14 0 12 1;
@@ -76,16 +95,36 @@
 #X connect 25 0 0 0;
 #X connect 26 0 25 0;
 #X connect 27 0 26 1;
-#X connect 30 0 38 0;
-#X connect 32 0 33 0;
-#X connect 33 0 35 0;
-#X connect 33 0 5 0;
-#X connect 34 0 32 0;
-#X connect 36 0 37 0;
-#X connect 37 0 40 0;
-#X connect 38 0 36 0;
-#X connect 39 0 32 1;
-#X connect 40 0 31 0;
-#X connect 40 0 39 0;
-#X connect 41 0 19 0;
-#X connect 42 0 18 0;
+#X connect 30 0 37 0;
+#X connect 31 0 30 0;
+#X connect 33 0 18 0;
+#X connect 34 0 36 0;
+#X connect 35 0 42 0;
+#X connect 36 0 43 0;
+#X connect 37 0 32 0;
+#X connect 37 0 5 0;
+#X connect 38 0 30 1;
+#X connect 39 0 40 0;
+#X connect 40 0 35 0;
+#X connect 41 0 30 1;
+#X connect 42 0 41 0;
+#X connect 43 0 39 0;
+#X connect 44 0 45 0;
+#X connect 45 0 51 0;
+#X connect 46 0 17 1;
+#X connect 47 0 17 0;
+#X connect 48 0 7 0;
+#X connect 49 0 50 0;
+#X connect 50 0 55 0;
+#X connect 51 0 52 0;
+#X connect 51 0 59 0;
+#X connect 52 0 46 0;
+#X connect 53 0 54 0;
+#X connect 53 0 56 0;
+#X connect 54 0 7 1;
+#X connect 55 0 53 0;
+#X connect 56 0 33 1;
+#X connect 57 0 58 0;
+#X connect 58 0 60 0;
+#X connect 60 0 61 1;
+#X connect 61 0 19 0;

BIN
3Dscenes/dirtyglass2.png


+ 19 - 19
3Dscenes/single.pd

@@ -1,12 +1,12 @@
-#N canvas 906 328 450 480 10;
-#X obj 337 688 r to3Dscene;
-#X obj 337 800 gemhead;
-#X obj 380 750 loadbang;
-#X msg 380 772 0;
-#X floatatom 398 966 5 0 0 0 - - -, f 5;
-#X obj 330 978 scale 1, f 8;
-#X msg 397 992 width 5;
-#X obj 328 830 color 1 1 1;
+#N canvas 898 324 450 480 10;
+#X obj 91 41 r to3Dscene;
+#X obj 91 153 gemhead;
+#X obj 134 103 loadbang;
+#X msg 134 125 0;
+#X floatatom 152 319 5 0 0 0 - - -, f 5;
+#X obj 84 331 scale 1, f 8;
+#X msg 151 345 width 5;
+#X obj 82 183 color 1 1 1;
 #N canvas 786 634 450 300 scaling 0;
 #X obj 52 23 inlet;
 #X obj 152 23 inlet;
@@ -29,15 +29,15 @@
 #X connect 8 0 10 0;
 #X connect 9 0 8 0;
 #X connect 11 0 3 0;
-#X restore 351 916 pd scaling;
-#X obj 330 946 translateXYZ 1 1 1;
-#X obj 337 1032 cube 0.05;
-#X obj 337 752 t b;
-#X obj 337 730 spigot;
-#X obj 363 710 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
+#X restore 105 269 pd scaling;
+#X obj 84 299 translateXYZ 1 1 1;
+#X obj 91 385 cube 0.05;
+#X obj 91 105 t b;
+#X obj 91 83 spigot;
+#X obj 117 63 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
 1;
-#X text 331 663 single led;
-#N canvas 399 105 524 373 automove 1;
+#X text 85 16 single led;
+#N canvas 399 105 524 373 automove 0;
 #X obj 44 187 counter 6;
 #X obj 42 104 t b b;
 #X obj 68 151 route 0;
@@ -60,7 +60,7 @@
 #X obj 95 14 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
 -1;
 #X obj 195 41 metro 100;
-#X obj 191 17 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
+#X obj 191 17 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
 1;
 #X floatatom 247 14 5 0 0 0 - - -, f 5;
 #X msg 2 153 2;
@@ -94,7 +94,7 @@
 #X connect 23 0 4 1;
 #X connect 23 0 8 1;
 #X connect 24 0 23 0;
-#X restore 354 879 pd automove;
+#X restore 108 232 pd automove;
 #X connect 0 0 12 0;
 #X connect 1 0 7 0;
 #X connect 2 0 3 0;

+ 260 - 0
3Dscenes/spectrum.pd

@@ -0,0 +1,260 @@
+#N canvas 1118 153 639 853 10;
+#X obj 91 -19 r to3Dscene;
+#X obj 91 233 gemhead;
+#X obj 134 183 loadbang;
+#X msg 134 205 0;
+#X obj 91 185 t b;
+#X obj 91 23 spigot;
+#X obj 117 3 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1
+;
+#X text 85 -14 single led;
+#X obj 90 411 separator;
+#X obj 265 335 route 0 1 2 3 4 5 6 7 8 9;
+#X obj 90 594 alpha;
+#X obj 90 634 color 0 1 0 0;
+#X obj 265 364 f;
+#X obj 279 386 f;
+#X obj 294 364 f;
+#X obj 309 386 f;
+#X obj 323 364 f;
+#X obj 338 386 f;
+#X obj 353 364 f;
+#X obj 265 455 i;
+#X obj 265 415 pow 1;
+#X obj 247 587 pack f f f;
+#X obj 247 489 t f f f;
+#X msg 283 528 1 \$1;
+#X obj 283 547 -;
+#X obj 247 528 pow 5;
+#X obj 283 567 pow 0.4;
+#X msg 247 607 \$1 \$2 \$3 1;
+#X obj 284 221 r audio;
+#X obj 284 243 route audio-env;
+#X obj 265 435 * 7;
+#X msg 169 208 1;
+#X obj 90 318 CountRepeat 7;
+#X obj 410 252 print;
+#X obj 90 786 cuboid 0.15 0.15 0.15;
+#X floatatom 172 106 5 0 0 0 - - -, f 5;
+#X obj 350 58 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+-1;
+#X obj 350 78 s initbang;
+#X obj 91 45 separator;
+#X obj 90 472 CountRepeat 7;
+#X floatatom 171 258 5 0 0 0 - - -, f 5;
+#X obj 90 284 translateXYZ 0 0 0;
+#X floatatom 265 34 5 0 0 0 - - -, f 5;
+#X obj 90 391 translateXYZ 0.5 0 0;
+#X obj 90 514 translateXYZ 0 0.5 0;
+#X floatatom 189 36 5 0 0 0 - - -, f 5;
+#X obj 90 716 separator;
+#X obj 90 662 CountRepeat 7;
+#X obj 90 536 separator;
+#X obj 90 558 translate 0 0 1 0;
+#X obj 91 105 scale 0.58;
+#X obj 350 32 loadbang;
+#X obj 363 645 list-abs/last-x 7;
+#X obj 286 723 list-abs/list-idx;
+#X obj 285 694 list;
+#X obj 277 669 t b f;
+#X obj 90 696 translateXYZ 0 0 0.5;
+#X obj 286 745 * 2;
+#X obj 91 149 rotateXYZ;
+#X floatatom 187 156 5 0 0 0 - - -, f 5;
+#X obj 90 738 scaleXYZ 1 1 1;
+#X obj 283 509 / 4;
+#X obj 247 509 / 2;
+#X floatatom 238 156 5 0 0 0 - - -, f 5;
+#X obj 91 67 scaleXYZ 1 -1 -1;
+#X obj 91 127 translateXYZ 2 -2 2;
+#X obj 363 580 r audio;
+#X obj 363 602 route audio-env;
+#X msg 363 624 \$1;
+#N canvas 360 586 1262 851 slow-down 0;
+#X obj 87 13 inlet;
+#X obj 87 68 unpack f f f f f f f f f f;
+#X obj 296 239 moses 0;
+#X obj 295 313 line;
+#X obj 295 335 t f f;
+#X obj 296 287 pack 0 100;
+#X obj 355 265 r slow;
+#X obj 295 357 outlet;
+#X obj 417 299 moses 0;
+#X obj 416 373 line;
+#X obj 416 395 t f f;
+#X obj 417 347 pack 0 100;
+#X obj 476 325 r slow;
+#X obj 416 417 outlet;
+#X obj 538 357 moses 0;
+#X obj 537 431 line;
+#X obj 537 453 t f f;
+#X obj 538 405 pack 0 100;
+#X obj 597 383 r slow;
+#X obj 537 475 outlet;
+#X obj 652 429 moses 0;
+#X obj 651 503 line;
+#X obj 651 525 t f f;
+#X obj 652 477 pack 0 100;
+#X obj 711 455 r slow;
+#X obj 651 547 outlet;
+#X obj 775 497 moses 0;
+#X obj 774 571 line;
+#X obj 774 593 t f f;
+#X obj 775 545 pack 0 100;
+#X obj 834 523 r slow;
+#X obj 774 615 outlet;
+#X obj 912 523 moses 0;
+#X obj 911 597 line;
+#X obj 911 619 t f f;
+#X obj 912 571 pack 0 100;
+#X obj 971 549 r slow;
+#X obj 911 641 outlet;
+#X obj 1040 411 moses 0;
+#X obj 1039 485 line;
+#X obj 1039 507 t f f;
+#X obj 1040 459 pack 0 100;
+#X obj 1099 437 r slow;
+#X obj 1039 529 outlet;
+#X obj 87 35 list-abs/list-math pow 2.5;
+#X connect 0 0 44 0;
+#X connect 1 2 2 0;
+#X connect 1 3 8 0;
+#X connect 1 4 14 0;
+#X connect 1 5 20 0;
+#X connect 1 6 26 0;
+#X connect 1 7 32 0;
+#X connect 1 8 38 0;
+#X connect 2 0 5 0;
+#X connect 2 1 3 0;
+#X connect 3 0 4 0;
+#X connect 4 0 7 0;
+#X connect 4 1 2 1;
+#X connect 5 0 3 0;
+#X connect 6 0 5 1;
+#X connect 8 0 11 0;
+#X connect 8 1 9 0;
+#X connect 9 0 10 0;
+#X connect 10 0 13 0;
+#X connect 10 1 8 1;
+#X connect 11 0 9 0;
+#X connect 12 0 11 1;
+#X connect 14 0 17 0;
+#X connect 14 1 15 0;
+#X connect 15 0 16 0;
+#X connect 16 0 19 0;
+#X connect 16 1 14 1;
+#X connect 17 0 15 0;
+#X connect 18 0 17 1;
+#X connect 20 0 23 0;
+#X connect 20 1 21 0;
+#X connect 21 0 22 0;
+#X connect 22 0 25 0;
+#X connect 22 1 20 1;
+#X connect 23 0 21 0;
+#X connect 24 0 23 1;
+#X connect 26 0 29 0;
+#X connect 26 1 27 0;
+#X connect 27 0 28 0;
+#X connect 28 0 31 0;
+#X connect 28 1 26 1;
+#X connect 29 0 27 0;
+#X connect 30 0 29 1;
+#X connect 32 0 35 0;
+#X connect 32 1 33 0;
+#X connect 33 0 34 0;
+#X connect 34 0 37 0;
+#X connect 34 1 32 1;
+#X connect 35 0 33 0;
+#X connect 36 0 35 1;
+#X connect 38 0 41 0;
+#X connect 38 1 39 0;
+#X connect 39 0 40 0;
+#X connect 40 0 43 0;
+#X connect 40 1 38 1;
+#X connect 41 0 39 0;
+#X connect 42 0 41 1;
+#X connect 44 0 1 0;
+#X restore 269 287 pd slow-down;
+#X floatatom 449 280 5 0 0 0 - - -, f 5;
+#X obj 449 299 s slow;
+#X connect 0 0 5 0;
+#X connect 1 0 41 0;
+#X connect 2 0 3 0;
+#X connect 3 0 1 0;
+#X connect 4 0 1 0;
+#X connect 5 0 38 0;
+#X connect 6 0 5 1;
+#X connect 8 0 39 0;
+#X connect 9 0 12 0;
+#X connect 9 1 13 0;
+#X connect 9 2 14 0;
+#X connect 9 3 15 0;
+#X connect 9 4 16 0;
+#X connect 9 5 17 0;
+#X connect 9 6 18 0;
+#X connect 10 0 11 0;
+#X connect 11 0 47 0;
+#X connect 12 0 20 0;
+#X connect 13 0 20 0;
+#X connect 14 0 20 0;
+#X connect 15 0 20 0;
+#X connect 16 0 20 0;
+#X connect 17 0 20 0;
+#X connect 18 0 20 0;
+#X connect 19 0 39 1;
+#X connect 20 0 30 0;
+#X connect 21 0 27 0;
+#X connect 22 0 62 0;
+#X connect 22 1 61 0;
+#X connect 23 0 24 0;
+#X connect 24 0 26 0;
+#X connect 25 0 21 0;
+#X connect 26 0 21 1;
+#X connect 27 0 11 1;
+#X connect 28 0 29 0;
+#X connect 29 0 69 0;
+#X connect 30 0 19 0;
+#X connect 31 0 1 0;
+#X connect 32 0 43 0;
+#X connect 32 1 9 0;
+#X connect 35 0 50 1;
+#X connect 36 0 37 0;
+#X connect 38 0 64 0;
+#X connect 39 0 44 0;
+#X connect 39 1 22 0;
+#X connect 41 0 32 0;
+#X connect 43 0 8 0;
+#X connect 44 0 48 0;
+#X connect 45 0 64 2;
+#X connect 46 0 60 0;
+#X connect 47 0 56 0;
+#X connect 47 1 55 0;
+#X connect 48 0 49 0;
+#X connect 49 0 10 0;
+#X connect 50 0 65 0;
+#X connect 51 0 36 0;
+#X connect 52 0 54 1;
+#X connect 53 0 57 0;
+#X connect 54 0 53 0;
+#X connect 55 0 54 0;
+#X connect 55 1 53 1;
+#X connect 56 0 46 0;
+#X connect 58 0 4 0;
+#X connect 59 0 58 2;
+#X connect 60 0 34 0;
+#X connect 61 0 23 0;
+#X connect 62 0 25 0;
+#X connect 63 0 58 1;
+#X connect 64 0 50 0;
+#X connect 65 0 58 0;
+#X connect 66 0 67 0;
+#X connect 67 0 68 0;
+#X connect 68 0 52 0;
+#X connect 69 0 12 1;
+#X connect 69 1 13 1;
+#X connect 69 2 14 1;
+#X connect 69 3 15 1;
+#X connect 69 4 16 1;
+#X connect 69 5 17 1;
+#X connect 69 6 18 1;
+#X connect 70 0 71 0;

+ 0 - 791
3DtoLED-v4clean.pd

@@ -1,791 +0,0 @@
-#N canvas -9 519 1366 458 10;
-#X declare -path ../extra;
-#X obj -9 12 declare -path ../extra;
-#N canvas 1283 84 583 630 tex-multiview2 0;
-#X obj 10 67 inlet;
-#X text 73 50 x y : 0..1 left bottom -> right top;
-#X text 298 273 x*y+offset-> n° pixel;
-#X text 255 287 faire parcourir xy dans le sens de l'écran;
-#X msg 24 376 view \$1;
-#X obj 27 354 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
-1;
-#X obj 24 406 s texread;
-#X floatatom 103 356 5 0 0 0 - - -, f 5;
-#X msg 102 378 gain \$1;
-#X floatatom 160 351 5 0 0 0 - - -, f 5;
-#X obj 380 48 t b b b b b b b;
-#X obj 492 -23 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
-1;
-#X obj 452 3 metro 80;
-#X obj 300 120 texread2 4;
-#X obj 10 121 texread2 0;
-#X obj 84 121 texread2 1;
-#X obj 444 119 texread2 6;
-#X obj 155 120 texread2 2;
-#X obj 228 121 texread2 3;
-#X obj 372 120 texread2 5;
-#X connect 0 0 13 0;
-#X connect 0 0 14 0;
-#X connect 0 0 15 0;
-#X connect 0 0 16 0;
-#X connect 0 0 17 0;
-#X connect 0 0 18 0;
-#X connect 0 0 19 0;
-#X connect 4 0 6 0;
-#X connect 5 0 4 0;
-#X connect 7 0 8 0;
-#X connect 8 0 6 0;
-#X connect 10 0 14 0;
-#X connect 10 1 15 0;
-#X connect 10 2 17 0;
-#X connect 10 3 18 0;
-#X connect 10 4 13 0;
-#X connect 10 5 19 0;
-#X connect 10 6 16 0;
-#X connect 11 0 12 0;
-#X connect 12 0 10 0;
-#X restore 64 114 pd tex-multiview2;
-#X obj 66 86 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
-;
-#N canvas 447 195 1431 765 3D-simu 1;
-#X obj -514 381 translateXYZ 0 0 -4;
-#X msg -241 373 pos \$1;
-#X floatatom -277 374 5 0 0 0 - - -, f 5;
-#X floatatom -275 393 5 0 0 0 - - -, f 5;
-#X msg -241 393 thres \$1;
-#X obj 173 234 translateXYZ;
-#X obj 199 203 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 1950 1;
-#X obj 221 212 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 1950 1;
-#X obj 173 352 t a a;
-#X obj 173 561 separator;
-#X text 83 574 BOUNDING BOX;
-#X obj 173 300 rotateXYZ;
-#X obj 173 181 translateXYZ 0 0 -4;
-#X text -441 536 SCENE 3D;
-#X text -483 187 GLSL;
-#X msg 81 718 draw fill;
-#X msg 49 687 draw line \, width 10;
-#X obj 173 742 square 1.03;
-#N canvas 387 480 1306 573 view 0;
-#X obj 401 132 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 2321 1;
-#X obj 426 94 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
-1;
-#X obj 236 8 inlet;
-#X obj 424 16 loadbang;
-#X msg 424 48 0;
-#X obj 657 24 alpha;
-#X obj 657 48 gemframebuffer;
-#X obj 727 342 t a b;
-#X obj 677 470 pix_texture;
-#X obj 657 1 gemhead;
-#X obj 677 513 square 1;
-#X obj 657 116 translateXYZ;
-#X obj 657 172 rotateXYZ;
-#X obj 683 95 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 1950 1;
-#X obj 706 105 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 1950 1;
-#X obj 677 139 hsl 40 8 -180 180 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 2279 1;
-#X obj 694 149 hsl 40 8 -180 180 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 1454 1;
-#X obj 711 159 hsl 40 8 -180 180 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 1950 1;
-#X msg 828 197 0;
-#X obj 686 192 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 2536 1;
-#X obj 657 204 scaleXYZ;
-#X obj 608 403 loadbang;
-#X obj 727 321 repeat 7;
-#X obj 754 366 counter 6;
-#X obj 657 68 translateXYZ 0 0 -4;
-#X obj 657 229 t a a;
-#X obj 624 264 separator;
-#X obj 620 287 pix_separator;
-#X obj 715 240 separator;
-#X obj 717 260 pix_separator;
-#X obj 613 311 color 0.5 1 1 0.2;
-#X msg 608 425 quality 0;
-#X obj 677 540 pix_separator;
-#X obj 675 560 separator;
-#X obj 470 473 pix_buffer textures-view 10;
-#X obj 727 395 pix_buffer_read textures-view;
-#X obj 613 333 cube 1.01;
-#X obj 983 350 pix_set;
-#X text 787 346 v1 textures;
-#X text 973 280 v2 3D depuis infos textures;
-#X obj 682 416 gate 4 1;
-#X obj 594 359 hradio 15 1 0 8 empty empty empty 0 -8 0 10 -262144
--1 -1 0;
-#X obj 769 442 t a a a;
-#X obj 876 420 pix_data;
-#X obj 727 302 t a b;
-#X obj 727 283 translateXYZ 0 0 1.3333;
-#X obj 676 492 translateXYZ 0 0 -0.33333;
-#X connect 3 0 4 0;
-#X connect 5 0 6 0;
-#X connect 6 0 24 0;
-#X connect 7 0 35 0;
-#X connect 7 1 23 0;
-#X connect 8 0 46 0;
-#X connect 9 0 5 0;
-#X connect 10 0 32 0;
-#X connect 11 0 12 0;
-#X connect 12 0 20 0;
-#X connect 13 0 11 1;
-#X connect 14 0 11 2;
-#X connect 15 0 12 1;
-#X connect 16 0 12 2;
-#X connect 17 0 12 3;
-#X connect 18 0 15 0;
-#X connect 18 0 16 0;
-#X connect 18 0 17 0;
-#X connect 18 0 13 0;
-#X connect 18 0 14 0;
-#X connect 19 0 20 1;
-#X connect 19 0 20 2;
-#X connect 19 0 20 3;
-#X connect 20 0 25 0;
-#X connect 21 0 31 0;
-#X connect 22 0 7 0;
-#X connect 23 0 35 1;
-#X connect 24 0 11 0;
-#X connect 25 0 26 0;
-#X connect 25 1 28 0;
-#X connect 26 0 27 0;
-#X connect 27 0 30 0;
-#X connect 28 0 29 0;
-#X connect 29 0 45 0;
-#X connect 30 0 36 0;
-#X connect 31 0 8 0;
-#X connect 32 0 33 0;
-#X connect 35 0 40 1;
-#X connect 40 0 8 0;
-#X connect 41 0 40 0;
-#X connect 44 0 22 0;
-#X connect 44 1 23 2;
-#X connect 45 0 44 0;
-#X connect 46 0 10 0;
-#X restore -442 43 pd view;
-#X obj -514 45 gemhead;
-#X obj -514 70 alpha;
-#X obj -62 86 print;
-#X obj 254 97 loadbang;
-#X obj -414 219 loadbang;
-#N canvas 1229 434 419 446 GLSL 0;
-#X obj 172 307 pack 0 0;
-#X obj 193 287 t b f;
-#X obj 172 349 print linking;
-#X obj -19 249 glsl_fragment;
-#X obj -19 215 glsl_vertex;
-#X obj 172 232 change;
-#X obj 193 266 change;
-#N canvas 702 232 450 300 load_glsl 0;
-#X obj 51 22 gemhead;
-#X obj 51 98 outlet;
-#X obj 51 50 route gem_state;
-#X obj 51 74 route 1;
-#X connect 0 0 2 0;
-#X connect 2 0 3 0;
-#X connect 3 0 1 0;
-#X restore 167 81 pd load_glsl;
-#X obj -19 184 inlet;
-#X obj -19 377 outlet;
-#X obj 36 301 inlet uniform;
-#X obj 167 103 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
--1 -1;
-#X obj 19 325 route bang;
-#X msg 166 183 open \$1.vert;
-#X msg 167 206 open \$1.frag;
-#X msg 279 111 kinectLike-test;
-#X obj 283 63 inlet shader;
-#X msg 171 328 link \$1 \$2;
-#X obj 177 166 t s s;
-#X obj 67 382 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
--1;
-#X obj 71 400 delay 1000;
-#X obj -19 350 glsl_program;
-#X obj 179 140 symbol kinectLike-test;
-#X msg 74 420 thres 0.75 \, pos 0 \, limit 1;
-#X connect 0 0 17 0;
-#X connect 1 0 0 0;
-#X connect 1 1 0 1;
-#X connect 3 0 21 0;
-#X connect 3 1 1 0;
-#X connect 4 0 3 0;
-#X connect 4 1 0 0;
-#X connect 5 0 0 0;
-#X connect 6 0 1 0;
-#X connect 7 0 11 0;
-#X connect 8 0 4 0;
-#X connect 10 0 12 0;
-#X connect 11 0 22 0;
-#X connect 12 0 11 0;
-#X connect 12 1 21 0;
-#X connect 13 0 4 0;
-#X connect 14 0 3 0;
-#X connect 15 0 22 0;
-#X connect 16 0 22 0;
-#X connect 17 0 2 0;
-#X connect 17 0 21 0;
-#X connect 18 0 13 0;
-#X connect 18 1 14 0;
-#X connect 19 0 20 0;
-#X connect 20 0 23 0;
-#X connect 21 0 9 0;
-#X connect 21 1 19 0;
-#X connect 22 0 18 0;
-#X connect 23 0 21 0;
-#X coords 0 -1 1 1 85 20 1 100 100;
-#X restore -514 473 pd GLSL;
-#X obj 241 222 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 1950 1;
-#X obj -511 23 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
-1;
-#X obj 173 698 repeat 7;
-#X obj 173 720 translateXYZ 0 0 0.33333;
-#X msg -436 420 kinectLike-test;
-#X obj -241 414 s uniforms;
-#X obj -475 452 r uniforms;
-#X obj 173 630 spigot 1;
-#X obj 232 633 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
-1;
-#X obj 173 607 cube 1;
-#X floatatom -277 352 5 0 0 0 - - -, f 5;
-#X msg -242 353 limit \$1;
-#X obj -368 356 counter 6;
-#X obj -368 448 / 6;
-#X obj -368 469 - 0.5;
-#X obj -368 378 t f f;
-#X obj -514 247 repeat 7;
-#X obj -368 490 * 2;
-#X obj -514 510 translateXYZ 0 0 0;
-#X msg 254 119 dimen 512 512 \, format RGBA;
-#X obj 173 151 gemframebuffer;
-#X obj -514 337 gemframebuffer;
-#X msg -364 188 dimen 1024 1024 \, format RGBA;
-#X msg -271 217 perspec -1 1 -1 1 \$1 20;
-#X msg -108 194 4;
-#X obj -513 712 pix_buffer_write textures;
-#X obj -513 735 pix_buffer textures 10;
-#X obj -357 683 f;
-#X obj -513 676 t a b;
-#X obj 173 328 scaleXYZ 1 1 1;
-#X obj 173 677 translateXYZ 0 0 -1.3333;
-#X obj 173 655 color 1 0.5 0.5 0.6;
-#X obj 173 585 color 0.5 1 1 0.65;
-#X msg -394 283 dimen 256 256 \, format RGBA;
-#X msg -384 264 dimen 70 70 \, format RGBA;
-#X obj -514 273 t a b;
-#X obj -514 94 t a b a;
-#X obj -433 358 s texGLSL;
-#X obj 335 272 gemhead;
-#X obj 335 452 pix_texture;
-#X obj 335 478 square 1;
-#X obj 335 355 translateXYZ;
-#X obj 361 334 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 539 1;
-#X obj 384 344 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 2323 1;
-#X obj 364 379 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 3073 1;
-#X obj 335 391 scaleXYZ;
-#X obj 335 295 alpha;
-#X msg 413 388 draw line \, width 4;
-#X obj 413 367 loadbang;
-#X obj 335 413 square 1;
-#X obj 658 445 square 1;
-#X obj 658 230 translateXYZ;
-#X obj 684 209 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 3250 1;
-#X obj 687 314 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 3081 1;
-#X obj 658 326 scaleXYZ;
-#X obj 658 170 alpha;
-#X msg 734 324 draw line \, width 4;
-#X obj 734 303 loadbang;
-#X obj 658 348 square 1;
-#X obj 658 147 gemhead;
-#X msg 601 402 quality 0;
-#X obj 601 381 loadbang;
-#N canvas 1037 101 430 889 screenSimu 0;
-#X obj 17 11 gemhead;
-#X obj 17 34 alpha;
-#X obj 17 58 gemframebuffer;
-#X obj 17 146 translateXYZ;
-#X obj 17 212 rotateXYZ;
-#X obj 43 125 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 1950 1;
-#X obj 66 135 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 1950 1;
-#X obj 17 234 scaleXYZ;
-#X obj 17 98 translateXYZ 0 0 -4;
-#X obj 114 75 outlet;
-#X obj 17 343 separator;
-#X obj 17 366 pix_separator;
-#X obj 17 410 cube 1.01;
-#X obj 137 468 repeat 7;
-#X obj 137 490 t a b;
-#X obj 201 566 counter;
-#X obj 137 444 t a b;
-#X obj 137 517 translateXYZ 0.28 0 0;
-#X obj 137 588 repeat 7;
-#X obj 137 610 t a b;
-#X obj 216 670 counter;
-#X obj 137 564 t a b;
-#X obj 137 638 translateXYZ 0 0.28 0;
-#X obj 137 541 separator;
-#X obj 357 682 change;
-#X floatatom 315 683 5 0 0 0 - - -, f 5;
-#X obj 102 562 bang;
-#X obj 17 257 t a a b;
-#X obj 186 708 pix_buffer_read textures-view;
-#X obj 171 770 pix_data;
-#X obj 137 662 separator;
-#X obj 137 817 separator;
-#X obj 137 685 t a b a;
-#X obj 201 729 / 7;
-#X obj 216 751 / 7;
-#X obj 137 340 repeat 7;
-#X obj 137 362 t a b;
-#X obj 357 388 counter;
-#X obj 137 316 t a b;
-#X obj 137 420 separator;
-#X obj 137 795 color;
-#X obj 137 274 separator;
-#X obj 137 396 translateXYZ 0 0 -0.28;
-#X obj 137 294 translateXYZ -1.12 -1.12 1.12;
-#X obj 17 320 spigot 1;
-#X obj 43 299 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
-1;
-#X obj 17 388 color 0.5 1 1 0.1;
-#X obj 34 189 unpack f f f f;
-#X obj 62 299 r bounding;
-#X obj 89 859 circle 0.02;
-#X obj 89 838 gate 2 1;
-#X obj 179 859 sphere 0.02;
-#X obj 88 796 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
-1;
-#X obj 89 817 + 1;
-#X obj 34 169 r 3D-view;
-#X connect 0 0 1 0;
-#X connect 1 0 2 0;
-#X connect 2 0 8 0;
-#X connect 2 1 9 0;
-#X connect 3 0 4 0;
-#X connect 4 0 7 0;
-#X connect 5 0 3 1;
-#X connect 6 0 3 2;
-#X connect 7 0 27 0;
-#X connect 8 0 3 0;
-#X connect 10 0 11 0;
-#X connect 11 0 46 0;
-#X connect 13 0 14 0;
-#X connect 14 0 17 0;
-#X connect 14 1 15 0;
-#X connect 15 0 33 0;
-#X connect 16 0 13 0;
-#X connect 16 1 15 2;
-#X connect 17 0 23 0;
-#X connect 18 0 19 0;
-#X connect 19 0 22 0;
-#X connect 19 1 20 0;
-#X connect 20 0 34 0;
-#X connect 21 0 18 0;
-#X connect 21 1 20 2;
-#X connect 22 0 30 0;
-#X connect 23 0 21 0;
-#X connect 24 0 28 1;
-#X connect 25 0 28 1;
-#X connect 27 0 44 0;
-#X connect 27 1 41 0;
-#X connect 28 0 29 1;
-#X connect 29 1 40 1;
-#X connect 30 0 32 0;
-#X connect 31 0 50 1;
-#X connect 32 0 40 0;
-#X connect 32 1 29 0;
-#X connect 32 2 28 0;
-#X connect 33 0 29 2;
-#X connect 34 0 29 3;
-#X connect 35 0 36 0;
-#X connect 36 0 42 0;
-#X connect 36 1 37 0;
-#X connect 37 0 24 0;
-#X connect 38 0 35 0;
-#X connect 38 1 37 2;
-#X connect 39 0 16 0;
-#X connect 40 0 31 0;
-#X connect 41 0 43 0;
-#X connect 42 0 39 0;
-#X connect 43 0 38 0;
-#X connect 44 0 10 0;
-#X connect 45 0 44 1;
-#X connect 46 0 12 0;
-#X connect 47 0 4 1;
-#X connect 47 1 4 2;
-#X connect 47 2 4 3;
-#X connect 47 3 7 1;
-#X connect 47 3 7 2;
-#X connect 47 3 7 3;
-#X connect 48 0 44 1;
-#X connect 50 0 49 0;
-#X connect 50 1 51 0;
-#X connect 52 0 53 0;
-#X connect 53 0 50 0;
-#X connect 54 0 47 0;
-#X restore 721 405 pd screenSimu;
-#X obj 706 219 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 2323 1;
-#X obj 658 424 pix_texture;
-#X obj 201 489 s to3Dscene;
-#X obj 190 258 r 3D-view;
-#X obj 190 279 unpack f f f f;
-#X obj 173 540 spigot 1;
-#X obj 199 521 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
-1;
-#X obj 218 520 r bounding;
-#X obj -184 2 inlet;
-#X msg -426 400 kinectLike;
-#X obj 663 125 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
-1;
-#X text 92 107 BUFFER SCENE D;
-#X text 403 271 AFFICHAGE SCENE 3D;
-#X text 715 146 PREVIEW LED;
-#X text -318 511 offset recentrage pour textures;
-#X text -310 681 CAPTURE TEXTURES SLICES;
-#X msg -414 241 dimen 70 70 \, perspec -1 1 -1 1 4 20 \, format RGBA
-;
-#X obj -513 652 pix_snap 0 0 70 70;
-#X obj -514 533 t a b a;
-#X obj -380 629 s to3Dscene;
-#X obj -368 512 - 0.2;
-#X obj -380 580 rotateXYZ;
-#X obj -380 608 scaleXYZ 1 1 1;
-#X obj -363 559 unpack f f f f;
-#X obj -363 538 r 3D-scene;
-#X obj 200 433 rotateXYZ;
-#X obj 200 461 scaleXYZ 1 1 1;
-#X obj 217 412 unpack f f f f;
-#X obj 217 391 r 3D-scene;
-#X obj 200 373 separator;
-#X connect 0 0 24 0;
-#X connect 1 0 30 0;
-#X connect 2 0 1 0;
-#X connect 3 0 4 0;
-#X connect 4 0 30 0;
-#X connect 5 0 11 0;
-#X connect 6 0 5 1;
-#X connect 7 0 5 2;
-#X connect 8 0 93 0;
-#X connect 8 1 117 0;
-#X connect 9 0 57 0;
-#X connect 11 0 54 0;
-#X connect 12 0 5 0;
-#X connect 15 0 17 0;
-#X connect 16 0 17 0;
-#X connect 19 0 20 0;
-#X connect 20 0 61 0;
-#X connect 22 0 44 0;
-#X connect 23 0 104 0;
-#X connect 24 0 43 0;
-#X connect 25 0 5 3;
-#X connect 26 0 19 0;
-#X connect 26 0 18 0;
-#X connect 27 0 28 0;
-#X connect 28 0 17 0;
-#X connect 29 0 24 2;
-#X connect 31 0 24 1;
-#X connect 32 0 56 0;
-#X connect 33 0 32 1;
-#X connect 34 0 32 0;
-#X connect 35 0 36 0;
-#X connect 36 0 30 0;
-#X connect 37 0 40 0;
-#X connect 38 0 39 0;
-#X connect 39 0 42 0;
-#X connect 40 0 38 0;
-#X connect 40 1 52 1;
-#X connect 41 0 60 0;
-#X connect 42 0 108 0;
-#X connect 43 0 106 0;
-#X connect 44 0 45 0;
-#X connect 45 0 12 0;
-#X connect 45 1 64 1;
-#X connect 46 0 0 0;
-#X connect 46 1 62 0;
-#X connect 47 0 46 0;
-#X connect 48 0 46 0;
-#X connect 49 0 48 0;
-#X connect 52 0 50 1;
-#X connect 53 0 50 0;
-#X connect 53 1 52 0;
-#X connect 54 0 8 0;
-#X connect 55 0 27 0;
-#X connect 56 0 55 0;
-#X connect 57 0 34 0;
-#X connect 58 0 46 0;
-#X connect 59 0 46 0;
-#X connect 60 0 46 0;
-#X connect 60 1 37 0;
-#X connect 61 0 41 0;
-#X connect 61 1 37 2;
-#X connect 61 2 45 0;
-#X connect 63 0 71 0;
-#X connect 64 0 65 0;
-#X connect 66 0 70 0;
-#X connect 67 0 66 1;
-#X connect 68 0 66 2;
-#X connect 69 0 70 1;
-#X connect 69 0 70 2;
-#X connect 69 0 70 3;
-#X connect 70 0 74 0;
-#X connect 71 0 66 0;
-#X connect 72 0 74 0;
-#X connect 73 0 72 0;
-#X connect 74 0 64 0;
-#X connect 76 0 79 0;
-#X connect 77 0 76 1;
-#X connect 78 0 79 1;
-#X connect 78 0 79 2;
-#X connect 78 0 79 3;
-#X connect 79 0 83 0;
-#X connect 80 0 76 0;
-#X connect 81 0 83 0;
-#X connect 82 0 81 0;
-#X connect 83 0 89 0;
-#X connect 84 0 80 0;
-#X connect 85 0 89 0;
-#X connect 86 0 85 0;
-#X connect 87 0 89 1;
-#X connect 88 0 76 2;
-#X connect 89 0 75 0;
-#X connect 91 0 92 0;
-#X connect 92 0 11 1;
-#X connect 92 1 11 2;
-#X connect 92 2 11 3;
-#X connect 92 3 54 1;
-#X connect 92 3 54 2;
-#X connect 92 3 54 3;
-#X connect 93 0 9 0;
-#X connect 94 0 93 1;
-#X connect 95 0 93 1;
-#X connect 96 0 19 0;
-#X connect 96 0 84 0;
-#X connect 96 0 63 0;
-#X connect 97 0 24 2;
-#X connect 98 0 84 0;
-#X connect 104 0 46 0;
-#X connect 105 0 53 0;
-#X connect 106 0 105 0;
-#X connect 106 1 105 0;
-#X connect 106 2 109 0;
-#X connect 108 0 43 3;
-#X connect 109 0 110 0;
-#X connect 110 0 107 0;
-#X connect 111 0 109 1;
-#X connect 111 1 109 2;
-#X connect 111 2 109 3;
-#X connect 111 3 110 1;
-#X connect 111 3 110 2;
-#X connect 111 3 110 3;
-#X connect 112 0 111 0;
-#X connect 113 0 114 0;
-#X connect 114 0 90 0;
-#X connect 115 0 113 1;
-#X connect 115 1 113 2;
-#X connect 115 2 113 3;
-#X connect 115 3 114 1;
-#X connect 115 3 114 2;
-#X connect 115 3 114 3;
-#X connect 116 0 115 0;
-#X connect 117 0 113 0;
-#X restore -7 107 pd 3D-simu;
-#X msg -205 215 0;
-#X obj -142 259 t b f;
-#X obj -125 279 t b f;
-#X obj -159 356 s 3D-view;
-#X obj -82 299 t b f;
-#X obj -159 319 pack 0 0 0 1;
-#X msg 336 317 view \$1;
-#X obj 339 295 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
-1;
-#X obj 336 407 s texread;
-#X floatatom 355 357 5 0 0 0 - - -, f 5;
-#X msg 354 379 gain \$1;
-#X obj 113 84 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
-1;
-#X obj -133 219 hsl 40 8 -180 180 0 1 empty empty empty -2 -8 0 10
--262144 -1 -1 2350 1;
-#X obj -116 229 hsl 40 8 -180 180 0 1 empty empty empty -2 -8 0 10
--262144 -1 -1 2358 1;
-#X obj -99 239 hsl 40 8 -180 180 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 1950 1;
-#X obj -41 226 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 2735 1;
-#X text -85 174 VUE 3D;
-#X text -119 198 rotations;
-#X text -35 202 scale;
-#X text 387 313 vue texture HD / 7*7;
-#X text 418 371 boost texture 7*7;
-#X obj 411 338 loadbang;
-#X msg 411 359 40;
-#X msg -184 41 dimen 640 250 \, create \, 1;
-#X msg -157 60 0 \, destroy;
-#X msg 359 281 0;
-#X obj -184 9 loadbang;
-#X obj 621 213 vradio 15 1 0 8 3Dscene empty empty 0 -8 0 10 -262144
--1 -1 3;
-#X text 613 171 choix scene 3D;
-#X obj 739 247 t b f;
-#X obj 756 267 t b f;
-#X obj 799 287 t b f;
-#X obj 722 307 pack 0 0 0 1;
-#X obj 748 207 hsl 40 8 -180 180 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 1950 1;
-#X obj 765 217 hsl 40 8 -180 180 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 1950 1;
-#X obj 782 227 hsl 40 8 -180 180 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 1950 1;
-#X obj 840 214 hsl 40 8 0 5 0 1 empty empty empty -2 -8 0 10 -262144
--1 -1 750 1;
-#X text 762 186 rotations;
-#X text 846 190 scale;
-#X text 788 160 SCENE 3D;
-#X obj 722 346 s 3D-scene;
-#X msg -140 -11 dimen 1280 500 \, create \, 1;
-#X obj -187 86 gemwin 25;
-#X msg 729 148 0;
-#N canvas 1078 84 795 716 3Dscenev2 0;
-#X obj 192 179 3Dscenes/cubes;
-#X obj 140 341 3Dscenes/single;
-#X obj 584 84 r to3Dscene;
-#X obj 584 196 gemhead;
-#X obj 627 146 loadbang;
-#X msg 627 168 0;
-#X floatatom 645 362 5 0 0 0 - - -, f 5;
-#X obj 577 374 scale 1, f 8;
-#X msg 644 388 width 5;
-#X obj 575 226 color 1 1 1;
-#X obj 600 248 hradio 15 1 0 7 empty empty empty 0 -8 0 10 -262144
--1 -1 0;
-#X obj 610 268 hradio 15 1 0 7 empty empty empty 0 -8 0 10 -262144
--1 -1 0;
-#X obj 620 288 hradio 15 1 0 7 empty empty empty 0 -8 0 10 -262144
--1 -1 0;
-#N canvas 786 634 450 300 scaling 0;
-#X obj 52 23 inlet;
-#X obj 152 23 inlet;
-#X obj 262 23 inlet;
-#X obj 52 81 - 1;
-#X obj 52 103 outlet;
-#X obj 156 79 - 1;
-#X obj 156 57 * 0.3333;
-#X obj 156 101 outlet;
-#X obj 263 100 - 1;
-#X obj 261 66 * 0.3333;
-#X obj 263 122 outlet;
-#X obj 52 59 * 0.33;
-#X connect 0 0 11 0;
-#X connect 1 0 6 0;
-#X connect 2 0 9 0;
-#X connect 3 0 4 0;
-#X connect 5 0 7 0;
-#X connect 6 0 5 0;
-#X connect 8 0 10 0;
-#X connect 9 0 8 0;
-#X connect 11 0 3 0;
-#X restore 598 312 pd scaling;
-#X obj 577 342 translateXYZ 1 1 1;
-#X obj 584 428 cube 0.05;
-#X obj 584 148 t b;
-#X obj 584 126 spigot;
-#X obj 610 106 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
-1;
-#X text 578 59 single led;
-#X connect 2 0 17 0;
-#X connect 3 0 9 0;
-#X connect 4 0 5 0;
-#X connect 5 0 3 0;
-#X connect 6 0 7 1;
-#X connect 7 0 15 0;
-#X connect 8 0 15 0;
-#X connect 9 0 14 0;
-#X connect 10 0 13 0;
-#X connect 11 0 13 1;
-#X connect 12 0 13 2;
-#X connect 13 0 14 1;
-#X connect 13 1 14 2;
-#X connect 13 2 14 3;
-#X connect 14 0 7 0;
-#X connect 16 0 3 0;
-#X connect 17 0 16 0;
-#X connect 18 0 17 1;
-#X restore 67 135 pd 3Dscenev2;
-#X obj 259 189 tof/menubutton 124 25 empty empty 0 grey90 black grey95
-black -1;
-#X msg 273 -8 symbol 3Dscenes/*.pd;
-#X obj 273 34 hcs/folder_list;
-#X obj 273 66 hcs/split_path;
-#X obj 353 92 list-abs/list-extend;
-#X obj 352 137 list prepend add;
-#X obj 352 159 list trim;
-#X obj 509 86 print;
-#X obj 273 14 t a b;
-#X msg 290 112 clear;
-#X connect 2 0 1 0;
-#X connect 2 0 3 0;
-#X connect 4 0 16 0;
-#X connect 4 0 17 0;
-#X connect 4 0 18 0;
-#X connect 5 0 9 0;
-#X connect 5 1 9 1;
-#X connect 6 0 9 0;
-#X connect 6 1 9 2;
-#X connect 8 0 9 0;
-#X connect 8 1 9 3;
-#X connect 9 0 7 0;
-#X connect 10 0 12 0;
-#X connect 11 0 10 0;
-#X connect 13 0 14 0;
-#X connect 14 0 12 0;
-#X connect 15 0 1 0;
-#X connect 16 0 9 0;
-#X connect 17 0 5 0;
-#X connect 18 0 6 0;
-#X connect 19 0 8 0;
-#X connect 25 0 26 0;
-#X connect 25 0 29 0;
-#X connect 26 0 13 0;
-#X connect 27 0 46 0;
-#X connect 28 0 46 0;
-#X connect 29 0 11 0;
-#X connect 30 0 27 0;
-#X connect 33 0 36 0;
-#X connect 33 1 36 1;
-#X connect 34 0 36 0;
-#X connect 34 1 36 2;
-#X connect 35 0 36 0;
-#X connect 35 1 36 3;
-#X connect 36 0 44 0;
-#X connect 37 0 36 0;
-#X connect 38 0 33 0;
-#X connect 39 0 34 0;
-#X connect 40 0 35 0;
-#X connect 45 0 46 0;
-#X connect 47 0 37 0;
-#X connect 47 0 38 0;
-#X connect 47 0 39 0;
-#X connect 50 0 57 0;
-#X connect 51 0 52 0;
-#X connect 52 1 53 0;
-#X connect 53 0 54 0;
-#X connect 54 0 55 0;
-#X connect 55 0 49 0;
-#X connect 57 0 51 0;
-#X connect 57 1 58 0;
-#X connect 57 1 53 1;
-#X connect 58 0 49 0;

+ 928 - 0
LedMatrix.pd

@@ -0,0 +1,928 @@
+#N canvas 214 667 1428 480 10;
+#X declare -path ../extra;
+#X obj 297 37 declare -path ../extra;
+#N canvas 374 311 1433 765 3D-simu 0;
+#X obj 20 370 translateXYZ 0 0 -4;
+#X msg 293 362 pos \$1;
+#X floatatom 257 363 5 0 0 0 - - -, f 5;
+#X floatatom 259 382 5 0 0 0 - - -, f 5;
+#X msg 293 382 thres \$1;
+#X obj 707 223 translateXYZ;
+#X obj 733 192 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 1950 1;
+#X obj 755 201 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 1950 1;
+#X obj 707 341 t a a;
+#X obj 707 550 separator;
+#X text 617 563 BOUNDING BOX;
+#X obj 707 289 rotateXYZ;
+#X obj 707 170 translateXYZ 0 0 -4;
+#X text 93 525 SCENE 3D;
+#X text 51 176 GLSL;
+#X msg 615 707 draw fill;
+#X msg 583 676 draw line \, width 10;
+#X obj 707 731 square 1.03;
+#N canvas 387 480 1306 573 view 0;
+#X obj 401 132 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 2321 1;
+#X obj 426 94 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X obj 236 8 inlet;
+#X obj 424 16 loadbang;
+#X msg 424 48 0;
+#X obj 657 24 alpha;
+#X obj 657 48 gemframebuffer;
+#X obj 727 342 t a b;
+#X obj 677 470 pix_texture;
+#X obj 657 1 gemhead;
+#X obj 677 513 square 1;
+#X obj 657 116 translateXYZ;
+#X obj 657 172 rotateXYZ;
+#X obj 683 95 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 1950 1;
+#X obj 706 105 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 1950 1;
+#X obj 677 139 hsl 40 8 -180 180 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 2279 1;
+#X obj 694 149 hsl 40 8 -180 180 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 1454 1;
+#X obj 711 159 hsl 40 8 -180 180 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 1950 1;
+#X msg 828 197 0;
+#X obj 686 192 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 2536 1;
+#X obj 657 204 scaleXYZ;
+#X obj 608 403 loadbang;
+#X obj 727 321 repeat 7;
+#X obj 754 366 counter 6;
+#X obj 657 68 translateXYZ 0 0 -4;
+#X obj 657 229 t a a;
+#X obj 624 264 separator;
+#X obj 620 287 pix_separator;
+#X obj 715 240 separator;
+#X obj 717 260 pix_separator;
+#X obj 613 311 color 0.5 1 1 0.2;
+#X msg 608 425 quality 0;
+#X obj 677 540 pix_separator;
+#X obj 675 560 separator;
+#X obj 470 473 pix_buffer textures-view 10;
+#X obj 727 395 pix_buffer_read textures-view;
+#X obj 613 333 cube 1.01;
+#X obj 983 350 pix_set;
+#X text 787 346 v1 textures;
+#X text 973 280 v2 3D depuis infos textures;
+#X obj 682 416 gate 4 1;
+#X obj 594 359 hradio 15 1 0 8 empty empty empty 0 -8 0 10 -262144
+-1 -1 0;
+#X obj 769 442 t a a a;
+#X obj 876 420 pix_data;
+#X obj 727 302 t a b;
+#X obj 727 283 translateXYZ 0 0 1.3333;
+#X obj 676 492 translateXYZ 0 0 -0.33333;
+#X connect 3 0 4 0;
+#X connect 5 0 6 0;
+#X connect 6 0 24 0;
+#X connect 7 0 35 0;
+#X connect 7 1 23 0;
+#X connect 8 0 46 0;
+#X connect 9 0 5 0;
+#X connect 10 0 32 0;
+#X connect 11 0 12 0;
+#X connect 12 0 20 0;
+#X connect 13 0 11 1;
+#X connect 14 0 11 2;
+#X connect 15 0 12 1;
+#X connect 16 0 12 2;
+#X connect 17 0 12 3;
+#X connect 18 0 15 0;
+#X connect 18 0 16 0;
+#X connect 18 0 17 0;
+#X connect 18 0 13 0;
+#X connect 18 0 14 0;
+#X connect 19 0 20 1;
+#X connect 19 0 20 2;
+#X connect 19 0 20 3;
+#X connect 20 0 25 0;
+#X connect 21 0 31 0;
+#X connect 22 0 7 0;
+#X connect 23 0 35 1;
+#X connect 24 0 11 0;
+#X connect 25 0 26 0;
+#X connect 25 1 28 0;
+#X connect 26 0 27 0;
+#X connect 27 0 30 0;
+#X connect 28 0 29 0;
+#X connect 29 0 45 0;
+#X connect 30 0 36 0;
+#X connect 31 0 8 0;
+#X connect 32 0 33 0;
+#X connect 35 0 40 1;
+#X connect 40 0 8 0;
+#X connect 41 0 40 0;
+#X connect 44 0 22 0;
+#X connect 44 1 23 2;
+#X connect 45 0 44 0;
+#X connect 46 0 10 0;
+#X restore 92 32 pd view;
+#X obj 20 34 gemhead;
+#X obj 20 59 alpha;
+#X obj 472 75 print;
+#X obj 788 86 loadbang;
+#X obj 120 208 loadbang;
+#N canvas 1229 434 419 446 GLSL 0;
+#X obj 172 307 pack 0 0;
+#X obj 193 287 t b f;
+#X obj 172 349 print linking;
+#X obj -19 249 glsl_fragment;
+#X obj -19 215 glsl_vertex;
+#X obj 172 232 change;
+#X obj 193 266 change;
+#N canvas 702 232 450 300 load_glsl 0;
+#X obj 51 22 gemhead;
+#X obj 51 98 outlet;
+#X obj 51 50 route gem_state;
+#X obj 51 74 route 1;
+#X connect 0 0 2 0;
+#X connect 2 0 3 0;
+#X connect 3 0 1 0;
+#X restore 167 81 pd load_glsl;
+#X obj -19 184 inlet;
+#X obj -19 377 outlet;
+#X obj 36 301 inlet uniform;
+#X obj 167 103 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 19 325 route bang;
+#X msg 166 183 open \$1.vert;
+#X msg 167 206 open \$1.frag;
+#X msg 279 111 kinectLike-test;
+#X obj 283 63 inlet shader;
+#X msg 171 328 link \$1 \$2;
+#X obj 177 166 t s s;
+#X obj 67 382 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+-1;
+#X obj 71 400 delay 1000;
+#X obj -19 350 glsl_program;
+#X obj 179 140 symbol kinectLike-test;
+#X msg 74 420 thres 0.75 \, pos 0 \, limit 1;
+#X connect 0 0 17 0;
+#X connect 1 0 0 0;
+#X connect 1 1 0 1;
+#X connect 3 0 21 0;
+#X connect 3 1 1 0;
+#X connect 4 0 3 0;
+#X connect 4 1 0 0;
+#X connect 5 0 0 0;
+#X connect 6 0 1 0;
+#X connect 7 0 11 0;
+#X connect 8 0 4 0;
+#X connect 10 0 12 0;
+#X connect 11 0 22 0;
+#X connect 12 0 11 0;
+#X connect 12 1 21 0;
+#X connect 13 0 4 0;
+#X connect 14 0 3 0;
+#X connect 15 0 22 0;
+#X connect 16 0 22 0;
+#X connect 17 0 2 0;
+#X connect 17 0 21 0;
+#X connect 18 0 13 0;
+#X connect 18 1 14 0;
+#X connect 19 0 20 0;
+#X connect 20 0 23 0;
+#X connect 21 0 9 0;
+#X connect 21 1 19 0;
+#X connect 22 0 18 0;
+#X connect 23 0 21 0;
+#X coords 0 -1 1 1 85 20 1 100 100;
+#X restore 20 462 pd GLSL;
+#X obj 775 211 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 1950 1;
+#X obj 23 12 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
+;
+#X obj 707 687 repeat 7;
+#X obj 707 709 translateXYZ 0 0 0.33333;
+#X msg 98 409 kinectLike-test;
+#X obj 293 403 s uniforms;
+#X obj 59 441 r uniforms;
+#X obj 707 619 spigot 1;
+#X obj 766 622 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
+1;
+#X obj 707 596 cube 1;
+#X floatatom 257 341 5 0 0 0 - - -, f 5;
+#X msg 292 342 limit \$1;
+#X obj 166 437 / 6;
+#X obj 166 458 - 0.5;
+#X obj 166 367 t f f;
+#X obj 20 236 repeat 7;
+#X obj 166 479 * 2;
+#X obj 20 499 translateXYZ 0 0 0;
+#X msg 788 108 dimen 512 512 \, format RGBA;
+#X obj 707 140 gemframebuffer;
+#X obj 20 326 gemframebuffer;
+#X msg 170 177 dimen 1024 1024 \, format RGBA;
+#X msg 263 206 perspec -1 1 -1 1 \$1 20;
+#X msg 426 183 4;
+#X obj 21 701 pix_buffer_write textures;
+#X obj 21 724 pix_buffer textures 10;
+#X obj 177 672 f;
+#X obj 21 665 t a b;
+#X obj 707 317 scaleXYZ 1 1 1;
+#X obj 707 666 translateXYZ 0 0 -1.3333;
+#X obj 707 644 color 1 0.5 0.5 0.6;
+#X msg 140 272 dimen 256 256 \, format RGBA;
+#X msg 150 253 dimen 70 70 \, format RGBA;
+#X obj 20 262 t a b;
+#X obj 20 83 t a b a;
+#X obj 101 347 s texGLSL;
+#X obj 869 261 gemhead;
+#X obj 869 441 pix_texture;
+#X obj 869 467 square 1;
+#X obj 869 344 translateXYZ;
+#X obj 895 323 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 539 1;
+#X obj 918 333 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 2323 1;
+#X obj 898 368 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 3073 1;
+#X obj 869 380 scaleXYZ;
+#X obj 869 284 alpha;
+#X msg 947 377 draw line \, width 4;
+#X obj 947 356 loadbang;
+#X obj 869 402 square 1;
+#X obj 1192 434 square 1;
+#X obj 1192 219 translateXYZ;
+#X obj 1218 198 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 3250 1;
+#X obj 1221 303 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 3081 1;
+#X obj 1192 315 scaleXYZ;
+#X obj 1192 159 alpha;
+#X msg 1268 313 draw line \, width 4;
+#X obj 1268 292 loadbang;
+#X obj 1192 337 square 1;
+#X obj 1192 136 gemhead;
+#X msg 1135 391 quality 0;
+#X obj 1135 370 loadbang;
+#N canvas 610 192 430 889 screenSimu 0;
+#X obj 17 11 gemhead;
+#X obj 17 34 alpha;
+#X obj 17 58 gemframebuffer;
+#X obj 17 146 translateXYZ;
+#X obj 17 212 rotateXYZ;
+#X obj 43 125 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 1950 1;
+#X obj 66 135 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 1950 1;
+#X obj 17 234 scaleXYZ;
+#X obj 17 98 translateXYZ 0 0 -4;
+#X obj 114 75 outlet;
+#X obj 17 343 separator;
+#X obj 17 366 pix_separator;
+#X obj 17 410 cube 1.01;
+#X obj 137 468 repeat 7;
+#X obj 137 490 t a b;
+#X obj 137 444 t a b;
+#X obj 137 517 translateXYZ 0.28 0 0;
+#X obj 137 588 repeat 7;
+#X obj 137 610 t a b;
+#X obj 137 564 t a b;
+#X obj 137 638 translateXYZ 0 0.28 0;
+#X obj 137 541 separator;
+#X obj 357 682 change;
+#X floatatom 315 683 5 0 0 0 - - -, f 5;
+#X obj 102 562 bang;
+#X obj 17 257 t a a b;
+#X obj 186 708 pix_buffer_read textures-view;
+#X obj 171 770 pix_data;
+#X obj 137 662 separator;
+#X obj 137 817 separator;
+#X obj 137 685 t a b a;
+#X obj 201 729 / 7;
+#X obj 216 751 / 7;
+#X obj 137 340 repeat 7;
+#X obj 137 362 t a b;
+#X obj 137 316 t a b;
+#X obj 137 420 separator;
+#X obj 137 795 color;
+#X obj 137 274 separator;
+#X obj 137 396 translateXYZ 0 0 -0.28;
+#X obj 137 294 translateXYZ -1.12 -1.12 1.12;
+#X obj 17 320 spigot 1;
+#X obj 43 299 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
+1;
+#X obj 17 388 color 0.5 1 1 0.1;
+#X obj 34 189 unpack f f f f;
+#X obj 48 276 r bounding;
+#X obj 88 796 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X obj 89 817 + 1;
+#X obj 34 169 r 3D-view;
+#X obj 201 566 cyclone/counter;
+#X obj 216 670 cyclone/counter;
+#X obj 357 388 cyclone/counter;
+#X obj 89 838 cyclone/gate 2 1;
+#X obj 89 859 sphere 0.02;
+#X obj 179 859 circle 0.02;
+#X connect 0 0 1 0;
+#X connect 1 0 2 0;
+#X connect 2 0 8 0;
+#X connect 2 1 9 0;
+#X connect 3 0 4 0;
+#X connect 4 0 7 0;
+#X connect 5 0 3 1;
+#X connect 6 0 3 2;
+#X connect 7 0 25 0;
+#X connect 8 0 3 0;
+#X connect 10 0 11 0;
+#X connect 11 0 43 0;
+#X connect 13 0 14 0;
+#X connect 14 0 16 0;
+#X connect 14 1 49 0;
+#X connect 15 0 13 0;
+#X connect 15 1 49 2;
+#X connect 16 0 21 0;
+#X connect 17 0 18 0;
+#X connect 18 0 20 0;
+#X connect 18 1 50 0;
+#X connect 19 0 17 0;
+#X connect 19 1 50 2;
+#X connect 20 0 28 0;
+#X connect 21 0 19 0;
+#X connect 22 0 26 1;
+#X connect 23 0 26 1;
+#X connect 25 0 41 0;
+#X connect 25 1 38 0;
+#X connect 26 0 27 1;
+#X connect 27 1 37 1;
+#X connect 28 0 30 0;
+#X connect 29 0 52 1;
+#X connect 30 0 37 0;
+#X connect 30 1 27 0;
+#X connect 30 2 26 0;
+#X connect 31 0 27 2;
+#X connect 32 0 27 3;
+#X connect 33 0 34 0;
+#X connect 34 0 39 0;
+#X connect 34 1 51 0;
+#X connect 35 0 33 0;
+#X connect 35 1 51 2;
+#X connect 36 0 15 0;
+#X connect 37 0 29 0;
+#X connect 38 0 40 0;
+#X connect 39 0 36 0;
+#X connect 40 0 35 0;
+#X connect 41 0 10 0;
+#X connect 42 0 41 1;
+#X connect 43 0 12 0;
+#X connect 44 0 4 1;
+#X connect 44 1 4 2;
+#X connect 44 2 4 3;
+#X connect 44 3 7 1;
+#X connect 44 3 7 2;
+#X connect 44 3 7 3;
+#X connect 45 0 41 1;
+#X connect 46 0 47 0;
+#X connect 47 0 52 0;
+#X connect 48 0 44 0;
+#X connect 49 0 31 0;
+#X connect 50 0 32 0;
+#X connect 51 0 22 0;
+#X connect 52 0 53 0;
+#X connect 52 1 54 0;
+#X restore 1255 394 pd screenSimu;
+#X obj 1240 208 hsl 40 8 -5 5 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 2323 1;
+#X obj 1192 413 pix_texture;
+#X obj 735 478 s to3Dscene;
+#X obj 724 247 r 3D-view;
+#X obj 724 268 unpack f f f f;
+#X obj 707 529 spigot 1;
+#X obj 733 510 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
+1;
+#X obj 752 509 r bounding;
+#X obj 350 -9 inlet;
+#X msg 108 389 kinectLike;
+#X obj 1197 114 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1
+0 1;
+#X text 626 96 BUFFER SCENE D;
+#X text 937 260 AFFICHAGE SCENE 3D;
+#X text 1249 135 PREVIEW LED;
+#X text 216 500 offset recentrage pour textures;
+#X text 224 670 CAPTURE TEXTURES SLICES;
+#X msg 120 230 dimen 70 70 \, perspec -1 1 -1 1 4 20 \, format RGBA
+;
+#X obj 21 641 pix_snap 0 0 70 70;
+#X obj 20 522 t a b a;
+#X obj 154 618 s to3Dscene;
+#X obj 166 501 - 0.2;
+#X obj 154 569 rotateXYZ;
+#X obj 154 597 scaleXYZ 1 1 1;
+#X obj 171 548 unpack f f f f;
+#X obj 171 527 r 3D-scene;
+#X obj 734 422 rotateXYZ;
+#X obj 734 450 scaleXYZ 1 1 1;
+#X obj 751 401 unpack f f f f;
+#X obj 751 380 r 3D-scene;
+#X obj 734 362 separator;
+#X obj 166 345 cyclone/counter 6;
+#X obj 683 494 alpha;
+#X obj 707 574 color 0.5 0.5 0.5 0.65;
+#X msg 1083 461 0;
+#X obj 1043 644 t b f;
+#X obj 1055 664 t b f;
+#X obj 1033 736 s 3D-view;
+#X obj 1082 685 t b f;
+#X obj 1033 715 pack 0 0 0 1;
+#X obj 1008 525 hsl 80 10 -90 90 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 4800 1;
+#X obj 1090 652 hsl 40 8 -180 180 0 1 empty empty empty -2 -8 0 10
+-262144 -1 -1 1950 1;
+#X obj 1121 626 hsl 40 8 0.2 2 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 3900 1;
+#X text 1137 500 VUE 3D;
+#X text 1003 534 rotations;
+#X text 1121 610 scale;
+#X obj 1007 552 vsl 10 80 -90 90 0 0 empty empty empty 0 -9 0 10 -262144
+-1 -1 3000 1;
+#X obj 1042 583 tgl 15 0 bounding empty empty 17 7 0 10 -262144 -1
+-1 0 1;
+#X text 1062 582 bounding box;
+#X obj 1042 561 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X text 1063 560 reset rotations;
+#X connect 0 0 24 0;
+#X connect 1 0 30 0;
+#X connect 2 0 1 0;
+#X connect 3 0 4 0;
+#X connect 4 0 30 0;
+#X connect 5 0 11 0;
+#X connect 6 0 5 1;
+#X connect 7 0 5 2;
+#X connect 8 0 117 0;
+#X connect 8 1 115 0;
+#X connect 9 0 118 0;
+#X connect 11 0 53 0;
+#X connect 12 0 5 0;
+#X connect 15 0 17 0;
+#X connect 16 0 17 0;
+#X connect 19 0 20 0;
+#X connect 20 0 59 0;
+#X connect 22 0 43 0;
+#X connect 23 0 102 0;
+#X connect 24 0 42 0;
+#X connect 25 0 5 3;
+#X connect 26 0 19 0;
+#X connect 26 0 18 0;
+#X connect 27 0 28 0;
+#X connect 28 0 17 0;
+#X connect 29 0 24 2;
+#X connect 31 0 24 1;
+#X connect 32 0 55 0;
+#X connect 33 0 32 1;
+#X connect 34 0 32 0;
+#X connect 35 0 36 0;
+#X connect 36 0 30 0;
+#X connect 37 0 38 0;
+#X connect 38 0 41 0;
+#X connect 39 0 37 0;
+#X connect 39 1 51 1;
+#X connect 40 0 58 0;
+#X connect 41 0 106 0;
+#X connect 42 0 104 0;
+#X connect 43 0 44 0;
+#X connect 44 0 12 0;
+#X connect 44 1 62 1;
+#X connect 45 0 0 0;
+#X connect 45 1 60 0;
+#X connect 46 0 45 0;
+#X connect 47 0 45 0;
+#X connect 48 0 47 0;
+#X connect 51 0 49 1;
+#X connect 52 0 49 0;
+#X connect 52 1 51 0;
+#X connect 53 0 8 0;
+#X connect 54 0 27 0;
+#X connect 55 0 54 0;
+#X connect 56 0 45 0;
+#X connect 57 0 45 0;
+#X connect 58 0 45 0;
+#X connect 58 1 116 0;
+#X connect 59 0 40 0;
+#X connect 59 1 116 2;
+#X connect 59 2 44 0;
+#X connect 61 0 69 0;
+#X connect 62 0 63 0;
+#X connect 64 0 68 0;
+#X connect 65 0 64 1;
+#X connect 66 0 64 2;
+#X connect 67 0 68 1;
+#X connect 67 0 68 2;
+#X connect 67 0 68 3;
+#X connect 68 0 72 0;
+#X connect 69 0 64 0;
+#X connect 70 0 72 0;
+#X connect 71 0 70 0;
+#X connect 72 0 62 0;
+#X connect 74 0 77 0;
+#X connect 75 0 74 1;
+#X connect 76 0 77 1;
+#X connect 76 0 77 2;
+#X connect 76 0 77 3;
+#X connect 77 0 81 0;
+#X connect 78 0 74 0;
+#X connect 79 0 81 0;
+#X connect 80 0 79 0;
+#X connect 81 0 87 0;
+#X connect 82 0 78 0;
+#X connect 83 0 87 0;
+#X connect 84 0 83 0;
+#X connect 85 0 87 1;
+#X connect 86 0 74 2;
+#X connect 87 0 73 0;
+#X connect 89 0 90 0;
+#X connect 90 0 11 1;
+#X connect 90 1 11 2;
+#X connect 90 2 11 3;
+#X connect 90 3 53 1;
+#X connect 90 3 53 2;
+#X connect 90 3 53 3;
+#X connect 91 0 9 0;
+#X connect 92 0 91 1;
+#X connect 93 0 91 1;
+#X connect 94 0 19 0;
+#X connect 94 0 82 0;
+#X connect 94 0 61 0;
+#X connect 95 0 24 2;
+#X connect 96 0 82 0;
+#X connect 102 0 45 0;
+#X connect 103 0 52 0;
+#X connect 104 0 103 0;
+#X connect 104 1 103 0;
+#X connect 104 2 107 0;
+#X connect 106 0 42 3;
+#X connect 107 0 108 0;
+#X connect 108 0 105 0;
+#X connect 109 0 107 1;
+#X connect 109 1 107 2;
+#X connect 109 2 107 3;
+#X connect 109 3 108 1;
+#X connect 109 3 108 2;
+#X connect 109 3 108 3;
+#X connect 110 0 109 0;
+#X connect 111 0 112 0;
+#X connect 112 0 88 0;
+#X connect 113 0 111 1;
+#X connect 113 1 111 2;
+#X connect 113 2 111 3;
+#X connect 113 3 112 1;
+#X connect 113 3 112 2;
+#X connect 113 3 112 3;
+#X connect 114 0 113 0;
+#X connect 115 0 111 0;
+#X connect 116 0 39 0;
+#X connect 117 0 91 0;
+#X connect 118 0 34 0;
+#X connect 119 0 125 0;
+#X connect 119 0 126 0;
+#X connect 119 0 131 0;
+#X connect 120 0 124 0;
+#X connect 120 1 124 1;
+#X connect 121 0 124 0;
+#X connect 121 1 124 2;
+#X connect 123 0 124 0;
+#X connect 123 1 124 3;
+#X connect 124 0 122 0;
+#X connect 125 0 120 0;
+#X connect 126 0 121 0;
+#X connect 127 0 123 0;
+#X connect 131 0 124 0;
+#X connect 134 0 119 0;
+#X coords 0 -1 1 1 180 140 1 1000 500;
+#X restore 45 152 pd 3D-simu;
+#X msg 566 342 view \$1;
+#X obj 569 320 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X obj 566 432 s texread;
+#X floatatom 585 382 5 0 0 0 - - -, f 5;
+#X msg 584 404 gain \$1;
+#X obj 343 109 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X text 617 338 vue texture HD / 7*7;
+#X text 648 396 boost texture 7*7;
+#X obj 641 363 loadbang;
+#X msg 46 66 dimen 640 250 \, create \, 1;
+#X msg 73 85 0 \, destroy;
+#X msg 589 306 0;
+#X obj 46 34 loadbang;
+#X obj 851 238 vradio 15 1 0 8 3Dscene empty empty 0 -8 0 10 -262144
+-1 -1 3;
+#X text 843 196 choix scene 3D;
+#X obj 969 272 t b f;
+#X obj 986 292 t b f;
+#X obj 1029 312 t b f;
+#X obj 952 332 pack 0 0 0 1;
+#X obj 978 232 hsl 40 8 -180 180 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 1950 1;
+#X obj 995 242 hsl 40 8 -180 180 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 1950 1;
+#X obj 1012 252 hsl 40 8 -180 180 0 1 empty empty empty -2 -8 0 10
+-262144 -1 -1 1950 1;
+#X obj 1070 239 hsl 40 8 0 5 0 1 empty empty empty -2 -8 0 10 -262144
+-1 -1 780 1;
+#X text 992 211 rotations;
+#X text 1076 215 scale;
+#X text 1018 185 SCENE 3D;
+#X obj 952 371 s 3D-scene;
+#X msg 90 14 dimen 1280 500 \, create \, 1;
+#X obj 42 115 gemwin 25;
+#X msg 959 173 0;
+#N canvas 1066 78 795 716 3Dscenev2 0;
+#X obj 192 179 3Dscenes/cubes;
+#X obj 584 84 r to3Dscene;
+#X obj 584 236 gemhead;
+#X obj 627 186 loadbang;
+#X msg 627 208 0;
+#X floatatom 645 402 5 0 0 0 - - -, f 5;
+#X obj 577 414 scale 1, f 8;
+#X msg 644 428 width 5;
+#X obj 575 266 color 1 1 1;
+#X obj 600 288 hradio 15 1 0 7 empty empty empty 0 -8 0 10 -262144
+-1 -1 0;
+#X obj 610 308 hradio 15 1 0 7 empty empty empty 0 -8 0 10 -262144
+-1 -1 0;
+#X obj 620 328 hradio 15 1 0 7 empty empty empty 0 -8 0 10 -262144
+-1 -1 0;
+#N canvas 786 634 450 300 scaling 0;
+#X obj 52 23 inlet;
+#X obj 152 23 inlet;
+#X obj 262 23 inlet;
+#X obj 52 81 - 1;
+#X obj 52 103 outlet;
+#X obj 156 79 - 1;
+#X obj 156 57 * 0.3333;
+#X obj 156 101 outlet;
+#X obj 263 100 - 1;
+#X obj 261 66 * 0.3333;
+#X obj 263 122 outlet;
+#X obj 52 59 * 0.33;
+#X connect 0 0 11 0;
+#X connect 1 0 6 0;
+#X connect 2 0 9 0;
+#X connect 3 0 4 0;
+#X connect 5 0 7 0;
+#X connect 6 0 5 0;
+#X connect 8 0 10 0;
+#X connect 9 0 8 0;
+#X connect 11 0 3 0;
+#X restore 598 352 pd scaling;
+#X obj 577 382 translateXYZ 1 1 1;
+#X obj 584 468 cube 0.05;
+#X obj 584 188 t b;
+#X obj 584 126 spigot;
+#X obj 610 106 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X text 578 59 single led;
+#X obj 140 341 3Dscenes/single;
+#X obj 584 148 separator;
+#X obj 141 286 3Dscenes/spectrum;
+#X connect 1 0 16 0;
+#X connect 2 0 8 0;
+#X connect 3 0 4 0;
+#X connect 4 0 2 0;
+#X connect 5 0 6 1;
+#X connect 6 0 14 0;
+#X connect 7 0 14 0;
+#X connect 8 0 13 0;
+#X connect 9 0 12 0;
+#X connect 10 0 12 1;
+#X connect 11 0 12 2;
+#X connect 12 0 13 1;
+#X connect 12 1 13 2;
+#X connect 12 2 13 3;
+#X connect 13 0 6 0;
+#X connect 15 0 2 0;
+#X connect 16 0 20 0;
+#X connect 17 0 16 1;
+#X connect 20 0 15 0;
+#X restore 48 301 pd 3Dscenev2;
+#X obj 489 214 tof/menubutton 124 25 empty empty 0 grey90 black grey95
+black -1;
+#X msg 503 17 symbol 3Dscenes/*.pd;
+#X obj 503 59 hcs/folder_list;
+#X obj 503 91 hcs/split_path;
+#X obj 583 117 list-abs/list-extend;
+#X obj 582 162 list prepend add;
+#X obj 582 184 list trim;
+#X obj 739 111 print;
+#X obj 503 39 t a b;
+#X msg 520 137 clear;
+#N canvas 952 480 540 453 audio 0;
+#X msg 122 140 pd~ stop;
+#X obj 46 171 pd~ -ninsig 1 -noutsig 1 -fifo 20;
+#X msg 113 117 pd~ start -nogui audio/AudioAnalysis.pd;
+#X msg 103 97 pd~ start audio/AudioAnalysis.pd;
+#X obj 47 121 adc~;
+#X obj 346 11 loadbang;
+#X msg 346 33 \; pd dsp 1;
+#X obj 88 343 vsl 15 90 0 1 0 0 empty \$0-env1 empty 0 -9 0 10 -258049
+-162280 -257472 6586 1;
+#X obj 104 343 vsl 15 90 0 1 0 0 empty \$0-env2 empty 0 -9 0 10 -259393
+-162280 -257472 6764 1;
+#X obj 120 343 vsl 15 90 0 1 0 0 empty \$0-env3 empty 0 -9 0 10 -241158
+-162280 -257472 6052 1;
+#X obj 136 343 vsl 15 90 0 1 0 0 empty \$0-env4 empty 0 -9 0 10 -155585
+-162280 -257472 5607 1;
+#X obj 152 343 vsl 15 90 0 1 0 0 empty \$0-env5 empty 0 -9 0 10 -4034
+-162280 -1 5429 1;
+#X obj 168 343 vsl 15 90 0 1 0 0 empty \$0-env6 empty 0 -9 0 10 -4058
+-162280 -257472 3115 1;
+#X obj 184 343 vsl 15 90 0 1 0 0 empty \$0-env7 empty 0 -9 0 10 -2801
+-162280 -257472 2937 1;
+#X obj 200 343 vsl 15 90 0 1 0 0 empty \$0-env8 empty 0 -9 0 10 -1216
+-162280 -257472 1780 1;
+#X obj 68 344 vsl 15 90 0 1 0 0 empty \$0-env-main empty 0 -9 0 10
+-1 -4034 -1 4806 1;
+#X obj 216 343 vsl 15 90 0 1 0 0 empty \$0-env9 empty 0 -9 0 10 -122944
+-162280 -257472 1157 1;
+#X obj 89 247 unpack f f f f f f f f f f;
+#X obj 247 196 print;
+#X obj 88 218 route audio-env beat;
+#X msg 36 32 auto bang;
+#X msg 49 54 reset bang;
+#X obj 215 319 bng 15 250 50 0 empty \$0-beat empty 17 7 0 10 -262144
+-1 -1;
+#X obj 69 318 bng 15 250 50 0 empty auto auto 17 7 0 10 -262144 -1
+-1;
+#X obj 122 318 bng 15 250 50 0 empty reset reset 17 7 0 10 -262144
+-1 -1;
+#X obj 46 193 s audio;
+#X obj 217 302 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
+1;
+#X obj 320 282 route 0 1;
+#X connect 0 0 1 0;
+#X connect 1 0 19 0;
+#X connect 1 0 25 0;
+#X connect 2 0 1 0;
+#X connect 3 0 1 0;
+#X connect 4 0 1 0;
+#X connect 4 1 1 0;
+#X connect 5 0 6 0;
+#X connect 17 0 15 0;
+#X connect 17 1 7 0;
+#X connect 17 2 8 0;
+#X connect 17 3 9 0;
+#X connect 17 4 10 0;
+#X connect 17 5 11 0;
+#X connect 17 6 12 0;
+#X connect 17 7 13 0;
+#X connect 17 8 14 0;
+#X connect 17 9 16 0;
+#X connect 19 0 17 0;
+#X connect 19 1 22 0;
+#X connect 20 0 1 0;
+#X connect 21 0 1 0;
+#X connect 23 0 20 0;
+#X connect 24 0 21 0;
+#X connect 26 0 27 0;
+#X connect 27 0 0 0;
+#X connect 27 1 2 0;
+#X coords 0 -1 1 1 180 140 1 60 300;
+#X restore 232 300 pd audio;
+#X msg 641 384 2;
+#N canvas 1024 115 727 886 tex2artnet 0;
+#X text 158 14 x y : 0..1 left bottom -> right top;
+#X text 441 18 x*y+offset-> n° pixel;
+#X text 398 32 faire parcourir xy dans le sens de l'écran;
+#X msg 470 282 view \$1;
+#X obj 473 260 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X obj 470 312 s texread;
+#X floatatom 549 262 5 0 0 0 - - -, f 5;
+#X msg 548 284 gain \$1;
+#X floatatom 606 257 5 0 0 0 - - -, f 5;
+#X obj 10 91 texread2 0;
+#X obj 407 161 tgl 25 0 artnet empty send_Artnet 28 12 0 15 -262144
+-1 -1 0 1;
+#X floatatom 408 195 5 5 50 1 artnet_fps - -, f 5;
+#X obj 35 175 list;
+#X obj 10 205 list;
+#X obj 35 121 texread2 1;
+#X obj 60 150 texread2 2;
+#X obj 10 297 list prepend set;
+#X obj 10 319 list trim;
+#X msg 10 351 255 255 255 0 0 0 0 0 0 0 0 0 0 0 28 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0 0 100 0 0 224 0 0 20 0 0 0 0 0 0 0 0 0 0 0 48 32 0
+220 255 0 80 4 0 0 0 0 0 0 0 0 0 0 12 0 0 196 148 0 180 180 0 0 0 0
+0 0 0 0 0 0 0 0 0 140 0 0 224 144 0 84 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+28 0 0 132 4 0 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 63 63 63 0 0 0 2 0 0 0 0 32 0 0 15 0 0 0 0 0 0 0 0 0 0 0
+0 38 0 21 62 0 44 8 0 10 0 0 35 0 0 0 0 0 0 0 0 12 55 0 59 107 0 2
+5 0 25 44 0 57 0 0 24 0 0 3 7 0 59 115 0 9 71 0 6 61 0 40 28 0 61 0
+0 3 0 0 20 43 0 28 125 0 0 70 0 32 44 0 68 0 0 20 0 0 0 0 0 0 24 0
+10 103 0 20 55 0 66 2 0 45 0 0 0 0 0 0 0 0 0 0 0 0 12 0 4 5 0 39 0
+0 5 0 0 0 0 0 0 0 0 0 35 0 0 55 0 19 2 0 32 0 0 12 0 0 0 0 0 0 0 0
+0 104 0 1 67 0 11 5 0 0 5 0 12 0 0 22 0 0 0 16 0 9 86 0 43 36 0 0 0
+0 0 0 0 0 6 0 3 17 0 36 34 0 48 114 0 8 3 0 0 0 0 0 0 0 0 58 0 10 24
+0 61 48 0 17 87 0 0 0 0 0 0 0 0 38 0 0 53 0 57 0 0 57 0 0 0 48 0 3
+48 0 2 18 0 0 80 0 30 1 0 76 0 0 25 0 0 0 0 0 0 13 0 0 58 0 15 11 0
+61 0 0 41 0 0 0;
+#X text 21 48 UNIVERS 1;
+#X obj 161 149 list;
+#X obj 161 95 texread2 3;
+#X obj 186 124 texread2 4;
+#X obj 282 147 list;
+#X obj 282 93 texread2 5;
+#X obj 307 122 texread2 6;
+#X msg 311 209 1000 \$1;
+#X obj 311 231 /;
+#X obj 311 253 s artnet-freq;
+#X obj 10 227 list-abs/list-apply * 255;
+#X obj 10 249 list-abs/list-round;
+#X obj 175 288;
+#X obj 95 596 list prepend frame;
+#X obj 95 618 list trim;
+#X msg 292 777 disconnect;
+#X obj 97 857 tgl 15 0 empty empty connected 20 7 0 8 -24198 -241291
+-1 1 1;
+#X text 104 692 Art-Net message;
+#X text 460 683 connect to Art-Net Node;
+#X text 379 778 disconnect;
+#X text 176 858 Status Info;
+#X text 295 710 use broeadcast IP \, if unknown (i.e. 10.255.255.255)
+;
+#X obj 97 640 makeartdmx 0 0 1 512;
+#X msg 293 686 connect 127.0.0.1;
+#X obj 97 824 artnetout;
+#X obj 412 222 hsl 50 10 0 10 0 0 empty empty gain 55 4 0 10 -262144
+-1 -1 0 1;
+#X connect 3 0 5 0;
+#X connect 4 0 3 0;
+#X connect 6 0 7 0;
+#X connect 7 0 5 0;
+#X connect 9 0 13 0;
+#X connect 11 0 26 0;
+#X connect 12 0 13 1;
+#X connect 13 0 29 0;
+#X connect 14 0 12 0;
+#X connect 15 0 12 1;
+#X connect 16 0 17 0;
+#X connect 17 0 18 0;
+#X connect 21 0 20 0;
+#X connect 22 0 20 1;
+#X connect 24 0 23 0;
+#X connect 25 0 23 1;
+#X connect 26 0 27 0;
+#X connect 27 0 28 0;
+#X connect 29 0 30 0;
+#X connect 30 0 16 0;
+#X connect 30 0 32 0;
+#X connect 32 0 33 0;
+#X connect 33 0 41 0;
+#X connect 34 0 43 0;
+#X connect 41 0 43 0;
+#X connect 42 0 43 0;
+#X connect 43 0 35 0;
+#X connect 44 0 7 0;
+#X coords 0 -1 1 1 180 140 1 400 100;
+#X restore 233 153 pd tex2artnet;
+#X msg 1130 182 1;
+#X floatatom 168 366 5 0 0 0 - - -, f 5;
+#X msg 111 40 dimen 1920 700 \, create \, 1;
+#X connect 2 0 4 0;
+#X connect 3 0 2 0;
+#X connect 5 0 6 0;
+#X connect 6 0 4 0;
+#X connect 10 0 44 0;
+#X connect 10 0 13 0;
+#X connect 11 0 30 0;
+#X connect 12 0 30 0;
+#X connect 13 0 3 0;
+#X connect 14 0 11 0;
+#X connect 17 0 20 0;
+#X connect 17 1 20 1;
+#X connect 18 0 20 0;
+#X connect 18 1 20 2;
+#X connect 19 0 20 0;
+#X connect 19 1 20 3;
+#X connect 20 0 28 0;
+#X connect 21 0 20 0;
+#X connect 22 0 17 0;
+#X connect 23 0 18 0;
+#X connect 24 0 19 0;
+#X connect 29 0 30 0;
+#X connect 31 0 21 0;
+#X connect 31 0 22 0;
+#X connect 31 0 23 0;
+#X connect 34 0 41 0;
+#X connect 35 0 36 0;
+#X connect 36 1 37 0;
+#X connect 37 0 38 0;
+#X connect 38 0 39 0;
+#X connect 39 0 33 0;
+#X connect 41 0 35 0;
+#X connect 41 1 42 0;
+#X connect 41 1 37 1;
+#X connect 42 0 33 0;
+#X connect 44 0 5 0;
+#X connect 46 0 24 0;
+#X connect 48 0 30 0;

+ 55 - 0
artnetout-help.pd

@@ -0,0 +1,55 @@
+#N canvas 111 212 780 852 10;
+#X text 20 32 (c) 2015 Marian Weger;
+#X obj 91 67 bng 15 250 50 0 empty empty send 17 7 0 10 -262144 -1
+-1;
+#X msg 286 678 disconnect;
+#X obj 91 758 tgl 15 0 empty empty connected 20 7 0 8 -24198 -241291
+-1 1 1;
+#X obj 91 725 artnetout;
+#X obj 113 110 nbx 5 14 0 255 0 0 empty empty send_value_for_all_512_channels
+0 -8 0 10 -262144 -1 -1 0 256;
+#X obj 178 204 hsl 128 15 0 255 0 0 empty empty fader_for_dmx_channel_2
+-2 -8 0 10 -262144 -1 -1 0 1;
+#X msg 175 224 2 \$1;
+#X text 204 151 send specific value "255" to dmx channel 1;
+#X msg 156 151 80 255;
+#X text 301 270 set number of dmx channels (default=512);
+#X text 301 284 (should be an even number in the range of 2-512);
+#X msg 346 422 print;
+#X msg 357 457 printdmx;
+#X text 432 458 print the DMX data;
+#X text 397 424 print the whole Art-Net message;
+#X msg 209 268 length 512;
+#X msg 367 485 printheader;
+#X text 462 485 print the header;
+#X text 98 593 Art-Net message;
+#X text 454 584 connect to Art-Net Node;
+#X text 373 679 disconnect;
+#X text 170 759 Status Info;
+#X text 20 12 artnetout;
+#X text 289 611 use broeadcast IP \, if unknown (i.e. 10.255.255.255)
+;
+#X text 339 377 set universe to '1';
+#X text 298 350 set sub-net to '5';
+#X msg 230 350 subnet 5;
+#X msg 247 376 universe 1;
+#X msg 216 326 net 3;
+#X obj 91 541 makeartdmx 0 0 1 512;
+#X text 267 326 set net to '3';
+#X msg 287 587 connect 192.168.2.2;
+#X connect 1 0 30 0;
+#X connect 2 0 4 0;
+#X connect 4 0 3 0;
+#X connect 5 0 30 0;
+#X connect 6 0 7 0;
+#X connect 7 0 30 0;
+#X connect 9 0 30 0;
+#X connect 12 0 30 0;
+#X connect 13 0 30 0;
+#X connect 16 0 30 0;
+#X connect 17 0 30 0;
+#X connect 27 0 30 0;
+#X connect 28 0 30 0;
+#X connect 29 0 30 0;
+#X connect 30 0 4 0;
+#X connect 32 0 4 0;

+ 27 - 0
artnetout.pd

@@ -0,0 +1,27 @@
+#N canvas 113 382 477 348 10;
+#X obj 170 49 inlet;
+#X obj 170 101 route connect disconnect;
+#X obj 170 173 list split 1;
+#X obj 170 195 list append 6454;
+#X obj 170 217 list prepend connect;
+#X obj 170 249 list trim;
+#X obj 330 202 b;
+#X msg 330 224 disconnect;
+#X obj 170 287 netsend -u -b;
+#X obj 170 313 outlet;
+#X obj 32 173 list prepend send;
+#X text 19 7 artnetout;
+#X text 295 283 (c) 2015 Marian Weger;
+#X text 194 12 to be used together with [makeartdmx];
+#X connect 0 0 1 0;
+#X connect 1 0 2 0;
+#X connect 1 1 6 0;
+#X connect 1 2 10 0;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 4 0 5 0;
+#X connect 5 0 8 0;
+#X connect 6 0 7 0;
+#X connect 7 0 8 0;
+#X connect 8 0 9 0;
+#X connect 10 0 5 0;

+ 418 - 0
audio/AudioAnalysis.pd

@@ -0,0 +1,418 @@
+#N canvas 353 124 1532 816 10;
+#X declare -stdlib aubio;
+#X obj 468 50 vsl 15 90 0 1 0 0 empty \$0-env1 empty 0 -9 0 10 -258049
+-162280 -257472 0 1;
+#X obj 484 50 vsl 15 90 0 1 0 0 empty \$0-env2 empty 0 -9 0 10 -259393
+-162280 -257472 0 1;
+#X obj 500 50 vsl 15 90 0 1 0 0 empty \$0-env3 empty 0 -9 0 10 -241158
+-162280 -257472 0 1;
+#X obj 516 50 vsl 15 90 0 1 0 0 empty \$0-env4 empty 0 -9 0 10 -155585
+-162280 -257472 0 1;
+#X obj 532 50 vsl 15 90 0 1 0 0 empty \$0-env5 empty 0 -9 0 10 -4034
+-162280 -1 0 1;
+#X obj 548 50 vsl 15 90 0 1 0 0 empty \$0-env6 empty 0 -9 0 10 -4058
+-162280 -257472 0 1;
+#X obj 564 50 vsl 15 90 0 1 0 0 empty \$0-env7 empty 0 -9 0 10 -2801
+-162280 -257472 0 1;
+#X obj 580 50 vsl 15 90 0 1 0 0 empty \$0-env8 empty 0 -9 0 10 -1216
+-162280 -257472 0 1;
+#X obj 420 51 vsl 15 90 0 1 0 0 empty \$0-env-in empty 0 -9 0 10 -1
+-4034 -1 0 1;
+#X obj 437 51 vsl 8 90 0 100 0 0 \$0-H \$0-H_set empty 0 -9 0 10 -1
+-258113 -1 8900 1;
+#X obj 19 358 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X obj 447 195 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X obj 410 51 vsl 8 90 0 100 0 0 \$0-B \$0-B_set empty 0 -9 0 10 -1
+-257985 -1 0 1;
+#X obj 448 51 vsl 15 90 0 1 0 0 empty \$0-env-main empty 0 -9 0 10
+-1 -4034 -1 0 1;
+#X msg 584 254 100;
+#X msg 537 340 reset;
+#X obj 584 362 change;
+#X obj 584 383 route 1;
+#X obj 584 320 > 200;
+#X obj 584 274 makenote 50 35;
+#X obj 595 341 < 50;
+#X obj 366 234 *~ 1;
+#N canvas 1 553 450 300 \$0-gate 0;
+#X obj 104 152 *~ 1;
+#X obj 123 68 env~ 8192;
+#X obj 105 40 inlet~;
+#X obj 104 174 outlet~;
+#X msg 122 107 1 200;
+#X msg 245 108 0 200;
+#X obj 123 132 line;
+#X obj 122 88 smlib/threshold 30 20 20 20;
+#X connect 0 0 3 0;
+#X connect 1 0 7 0;
+#X connect 2 0 0 0;
+#X connect 2 0 1 0;
+#X connect 4 0 6 0;
+#X connect 5 0 6 0;
+#X connect 6 0 0 1;
+#X connect 7 0 4 0;
+#X connect 7 1 5 0;
+#X restore 366 253 pd \$0-gate;
+#X obj 27 588 r \$0-scale;
+#X obj 366 273 send~ \$0-audio-in;
+#X obj 13 488 r~ \$0-audio-in;
+#X obj 135 509 r~ \$0-audio-in;
+#X obj 275 508 r~ \$0-audio-in;
+#X obj 414 508 r~ \$0-audio-in;
+#X obj 560 509 r~ \$0-audio-in;
+#X obj 706 508 r~ \$0-audio-in;
+#X obj 848 508 r~ \$0-audio-in;
+#X obj 1001 509 r~ \$0-audio-in;
+#X obj 1157 508 r~ \$0-audio-in;
+#X obj 1309 508 r~ \$0-audio-in;
+#X obj 14 671 s \$0-env-main;
+#X obj 27 567 s \$0-env-in;
+#X obj 27 548 / 100;
+#X obj 136 672 s \$0-env1;
+#X obj 275 672 s \$0-env2;
+#X obj 414 672 s \$0-env3;
+#X obj 559 672 s \$0-env4;
+#X obj 705 672 s \$0-env5;
+#X obj 847 672 s \$0-env6;
+#X obj 1003 672 s \$0-env7;
+#X obj 1157 672 s \$0-env8;
+#X obj 1311 672 s \$0-env9;
+#X obj 596 50 vsl 15 90 0 1 0 0 empty \$0-env9 empty 0 -9 0 10 -122944
+-162280 -257472 0 1;
+#X obj 115 381 s \$0-scale;
+#X obj 27 608 route minmax;
+#X obj 147 588 r \$0-scale;
+#X obj 147 608 route minmax;
+#X obj 282 588 r \$0-scale;
+#X obj 282 608 route minmax;
+#X obj 425 588 r \$0-scale;
+#X obj 425 608 route minmax;
+#X obj 566 588 r \$0-scale;
+#X obj 566 608 route minmax;
+#X obj 716 588 r \$0-scale;
+#X obj 716 608 route minmax;
+#X obj 856 588 r \$0-scale;
+#X obj 856 608 route minmax;
+#X obj 1016 588 r \$0-scale;
+#X obj 1016 608 route minmax;
+#X obj 1166 588 r \$0-scale;
+#X obj 1166 608 route minmax;
+#X obj 1316 588 r \$0-scale;
+#X obj 1316 608 route minmax;
+#X msg 145 294 bang \, 1;
+#X obj 13 507 /~ 2;
+#X msg 188 315 0 \, bang \, minmax load 0 100;
+#N canvas 65 615 331 421 \$0-env 1;
+#X obj 86 36 r \$0-env-main;
+#X obj 101 56 r \$0-env1;
+#X obj 116 76 r \$0-env2;
+#X obj 132 96 r \$0-env3;
+#X obj 147 116 r \$0-env4;
+#X obj 162 137 r \$0-env5;
+#X obj 178 157 r \$0-env6;
+#X obj 193 177 r \$0-env7;
+#X obj 208 197 r \$0-env8;
+#X obj 224 217 r \$0-env9;
+#X obj 86 345 s \$1;
+#X obj 86 239 pack f f f f f f f f f f;
+#X obj 86 283 list prepend audio-env;
+#X obj 86 261 list-abs/list-round 0.01;
+#X obj 271 348 stdout;
+#X obj 86 304 list prepend \$2;
+#X obj 220 322 list trim;
+#X connect 0 0 11 0;
+#X connect 1 0 11 1;
+#X connect 2 0 11 2;
+#X connect 3 0 11 3;
+#X connect 4 0 11 4;
+#X connect 5 0 11 5;
+#X connect 6 0 11 6;
+#X connect 7 0 11 7;
+#X connect 8 0 11 8;
+#X connect 9 0 11 9;
+#X connect 11 0 13 0;
+#X connect 12 0 15 0;
+#X connect 12 0 16 0;
+#X connect 13 0 12 0;
+#X connect 15 0 10 0;
+#X connect 16 0 14 0;
+#X restore 772 231 pd \$0-env;
+#X obj 640 351 pack s f;
+#X obj 584 214 r~ \$0-audio-in;
+#X obj 560 255 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X obj 719 316 s \$0-beat;
+#X obj 595 28 bng 15 250 50 0 empty \$0-beat empty 17 7 0 10 -262144
+-1 -1;
+#X msg 640 316 beat;
+#X obj 145 273 route auto reset scale;
+#X msg 189 340 0;
+#X msg 234 361 100;
+#X msg 231 295 minmaxload \$1 \$2;
+#X obj 231 339 unpack f f;
+#X obj 145 235 r \$0-scaling;
+#X obj 47 204 pack f f;
+#X obj 47 159 r \$0-B;
+#X obj 93 161 r \$0-H;
+#X obj 93 182 t b f;
+#X obj 189 436 s \$0-B_set;
+#X obj 266 456 s \$0-H_set;
+#X obj 47 251 list trim;
+#X obj 56 339 print scale;
+#X obj 145 254 list trim;
+#X obj 136 652 change;
+#X obj 275 651 change;
+#X obj 414 652 change;
+#X obj 559 652 change;
+#X obj 705 651 change;
+#X obj 847 652 change;
+#X obj 1003 652 change;
+#X obj 1157 651 change;
+#X obj 1311 652 change;
+#X obj 444 219 block~ 64;
+#N canvas 80 478 450 300 \$0-audiotable 0;
+#X obj 129 87 tabsend~ \$0-audio;
+#X obj 240 87 table \$0-audio \$3;
+#X obj 61 89 block~ \$3;
+#X msg 61 69 1;
+#X obj 61 49 loadbang;
+#X obj 130 49 inlet~;
+#X obj 132 135 bang~;
+#X obj 132 161 tabdump \$0-audio;
+#X obj 132 234 s \$1;
+#X obj 132 186 list prepend table;
+#X obj 132 212 list prepend \$2;
+#X connect 3 0 2 0;
+#X connect 4 0 3 0;
+#X connect 5 0 0 0;
+#X connect 7 0 9 0;
+#X connect 9 0 10 0;
+#X connect 10 0 8 0;
+#X restore 428 297 pd \$0-audiotable;
+#X text 170 205 SCALING;
+#X text 687 276 BEAT FINDER;
+#X text 376 194 INLET;
+#X obj 411 27 bng 15 250 50 0 empty auto auto 17 7 0 10 -262144 -1
+-1;
+#X text 591 11 beat;
+#X obj 464 26 bng 15 250 50 0 empty reset reset 17 7 0 10 -262144 -1
+-1;
+#X msg 278 150 auto;
+#X msg 326 151 reset;
+#X obj 590 2 bng 10 250 50 0 empty empty empty 17 7 0 10 -258113 -1
+-1;
+#X obj 702 94 send pd;
+#X msg 702 75 audio-dialog 0 0 0 0 2 0 0 0 0 0 0 0 2 0 0 0 44100 50
+-1;
+#X obj 606 2 bng 10 250 50 0 empty empty empty 17 7 0 10 -4160 -1 -1
+;
+#X obj 675 54 t b a;
+#X msg 675 113 \; pd-AudioAnalysis.pd menusave;
+#X obj 47 228 list prepend minmax load;
+#X obj 189 395 list prepend set;
+#X obj 266 415 list prepend set;
+#X obj 584 234 aubiotempo~ 0.3;
+#X obj 100 40 declare -stdlib aubio;
+#X obj 584 296 maxlib/beat;
+#X obj 14 631 mapping/autoscale;
+#X obj 136 632 mapping/autoscale;
+#X obj 275 632 mapping/autoscale;
+#X obj 414 632 mapping/autoscale;
+#X obj 559 632 mapping/autoscale;
+#X obj 705 632 mapping/autoscale;
+#X obj 847 632 mapping/autoscale;
+#X obj 1003 632 mapping/autoscale;
+#X obj 1157 632 mapping/autoscale;
+#X obj 1311 632 mapping/autoscale;
+#X obj 135 529 iemlib/lp4_butt~ 90;
+#X obj 675 13 hcs/get-audio-dialog;
+#X obj 675 34 list prepend set;
+#X obj 366 214 adc~;
+#X obj 275 548 iemlib/hp4_butt~ 90;
+#X obj 275 528 iemlib/lp4_butt~ 176;
+#X obj 414 528 iemlib/lp4_butt~ 353;
+#X obj 560 528 iemlib/lp4_butt~ 707;
+#X obj 706 528 iemlib/lp4_butt~ 1414;
+#X obj 848 528 iemlib/lp4_butt~ 2825;
+#X obj 1001 528 iemlib/lp4_butt~ 5650;
+#X obj 1157 528 iemlib/lp4_butt~ 11300;
+#X obj 414 548 iemlib/hp4_butt~ 176;
+#X obj 560 548 iemlib/hp4_butt~ 353;
+#X obj 706 548 iemlib/hp4_butt~ 707;
+#X obj 848 548 iemlib/hp4_butt~ 1414;
+#X obj 1001 548 iemlib/hp4_butt~ 2825;
+#X obj 1157 548 iemlib/hp4_butt~ 5650;
+#X obj 1310 548 iemlib/hp4_butt~ 11300;
+#X obj 14 527 env~ 2048;
+#X obj 136 568 env~ 2048;
+#X obj 275 568 env~ 2048;
+#X obj 414 568 env~ 2048;
+#X obj 559 568 env~ 2048;
+#X obj 705 568 env~ 2048;
+#X obj 847 568 env~ 2048;
+#X obj 1003 568 env~ 2048;
+#X obj 1157 568 env~ 2048;
+#X obj 1311 568 env~ 2048;
+#X obj 266 436 list trim;
+#X obj 189 416 list trim;
+#X obj 417 169 hsl 128 15 0.0001 1 1 0 empty empty empty -2 -8 0 10
+-262144 -1 -1 3500 1;
+#X obj 952 203 loadbang;
+#X msg 952 225 \; pd dsp 1;
+#X obj 640 393 stdout;
+#X obj 639 370 list trim;
+#X connect 10 0 48 0;
+#X connect 11 0 102 0;
+#X connect 14 0 19 0;
+#X connect 15 0 123 0;
+#X connect 16 0 17 0;
+#X connect 17 0 15 0;
+#X connect 18 0 16 0;
+#X connect 19 0 123 0;
+#X connect 19 1 123 1;
+#X connect 20 0 16 0;
+#X connect 21 0 22 0;
+#X connect 22 0 24 0;
+#X connect 23 0 49 0;
+#X connect 25 0 69 0;
+#X connect 26 0 134 0;
+#X connect 27 0 139 0;
+#X connect 28 0 140 0;
+#X connect 29 0 141 0;
+#X connect 30 0 142 0;
+#X connect 31 0 143 0;
+#X connect 32 0 144 0;
+#X connect 33 0 145 0;
+#X connect 34 0 152 0;
+#X connect 37 0 36 0;
+#X connect 49 0 124 0;
+#X connect 49 1 124 3;
+#X connect 50 0 51 0;
+#X connect 51 0 125 0;
+#X connect 51 1 125 3;
+#X connect 52 0 53 0;
+#X connect 53 0 126 0;
+#X connect 53 1 126 3;
+#X connect 54 0 55 0;
+#X connect 55 0 127 0;
+#X connect 55 1 127 3;
+#X connect 56 0 57 0;
+#X connect 57 0 128 0;
+#X connect 57 1 128 3;
+#X connect 58 0 59 0;
+#X connect 59 0 129 0;
+#X connect 59 1 129 3;
+#X connect 60 0 61 0;
+#X connect 61 0 130 0;
+#X connect 61 1 130 3;
+#X connect 62 0 63 0;
+#X connect 63 0 131 0;
+#X connect 63 1 131 3;
+#X connect 64 0 65 0;
+#X connect 65 0 132 0;
+#X connect 65 1 132 3;
+#X connect 66 0 67 0;
+#X connect 67 0 133 0;
+#X connect 67 1 133 3;
+#X connect 68 0 48 0;
+#X connect 69 0 153 0;
+#X connect 70 0 48 0;
+#X connect 72 0 169 0;
+#X connect 77 0 72 0;
+#X connect 78 0 68 0;
+#X connect 78 0 91 0;
+#X connect 78 1 70 0;
+#X connect 78 1 79 0;
+#X connect 78 1 80 0;
+#X connect 78 2 81 0;
+#X connect 78 2 82 0;
+#X connect 78 3 91 0;
+#X connect 79 0 119 0;
+#X connect 80 0 120 0;
+#X connect 81 0 48 0;
+#X connect 82 0 119 0;
+#X connect 82 1 120 0;
+#X connect 83 0 92 0;
+#X connect 84 0 118 0;
+#X connect 85 0 84 0;
+#X connect 86 0 87 0;
+#X connect 87 0 84 0;
+#X connect 87 1 84 1;
+#X connect 90 0 48 0;
+#X connect 92 0 78 0;
+#X connect 93 0 38 0;
+#X connect 94 0 39 0;
+#X connect 95 0 40 0;
+#X connect 96 0 41 0;
+#X connect 97 0 42 0;
+#X connect 98 0 43 0;
+#X connect 99 0 44 0;
+#X connect 100 0 45 0;
+#X connect 101 0 46 0;
+#X connect 107 0 110 0;
+#X connect 109 0 111 0;
+#X connect 110 0 78 0;
+#X connect 111 0 78 0;
+#X connect 112 0 135 0;
+#X connect 114 0 113 0;
+#X connect 115 0 114 0;
+#X connect 116 0 117 0;
+#X connect 116 1 114 0;
+#X connect 118 0 90 0;
+#X connect 119 0 164 0;
+#X connect 120 0 163 0;
+#X connect 121 0 74 0;
+#X connect 121 0 14 0;
+#X connect 123 0 18 0;
+#X connect 123 0 20 0;
+#X connect 123 0 72 1;
+#X connect 123 2 77 0;
+#X connect 123 2 75 0;
+#X connect 124 0 35 0;
+#X connect 125 0 93 0;
+#X connect 126 0 94 0;
+#X connect 127 0 95 0;
+#X connect 128 0 96 0;
+#X connect 129 0 97 0;
+#X connect 130 0 98 0;
+#X connect 131 0 99 0;
+#X connect 132 0 100 0;
+#X connect 133 0 101 0;
+#X connect 134 0 154 0;
+#X connect 135 0 136 0;
+#X connect 136 0 116 0;
+#X connect 137 0 21 0;
+#X connect 138 0 155 0;
+#X connect 139 0 138 0;
+#X connect 140 0 146 0;
+#X connect 141 0 147 0;
+#X connect 142 0 148 0;
+#X connect 143 0 149 0;
+#X connect 144 0 150 0;
+#X connect 145 0 151 0;
+#X connect 146 0 156 0;
+#X connect 147 0 157 0;
+#X connect 148 0 158 0;
+#X connect 149 0 159 0;
+#X connect 150 0 160 0;
+#X connect 151 0 161 0;
+#X connect 152 0 162 0;
+#X connect 153 0 37 0;
+#X connect 153 0 124 0;
+#X connect 154 0 125 0;
+#X connect 155 0 126 0;
+#X connect 156 0 127 0;
+#X connect 157 0 128 0;
+#X connect 158 0 129 0;
+#X connect 159 0 130 0;
+#X connect 160 0 131 0;
+#X connect 161 0 132 0;
+#X connect 162 0 133 0;
+#X connect 163 0 89 0;
+#X connect 164 0 88 0;
+#X connect 165 0 21 1;
+#X connect 166 0 167 0;
+#X connect 169 0 168 0;
+#X coords 0 -1 1 1 220 150 1 400 0;

+ 45 - 0
audio/SubstFilter~.pd

@@ -0,0 +1,45 @@
+#N canvas 543 189 321 198 10;
+#X obj 32 77 lp2_butt~ \$1;
+#X obj 32 97 lp2_butt~ \$1;
+#X obj 33 17 inlet~;
+#X obj 141 95 z~ 1;
+#X obj 141 124 -~;
+#N canvas 0 0 450 300 HiP-delay 0;
+#X obj 138 61 samplerate~;
+#X obj 111 23 loadbang;
+#X obj 138 80 / 1000;
+#X obj 138 99 * 563;
+#X obj 111 119 f \$1;
+#X obj 111 42 t b b;
+#X obj 111 138 pow -1.04;
+#X obj 111 157 *;
+#X obj 111 179 outlet;
+#X obj 173 22 inlet;
+#X connect 0 0 2 0;
+#X connect 1 0 5 0;
+#X connect 2 0 3 0;
+#X connect 3 0 7 1;
+#X connect 4 0 6 0;
+#X connect 5 0 4 0;
+#X connect 5 1 0 0;
+#X connect 6 0 7 0;
+#X connect 7 0 8 0;
+#X connect 9 0 4 0;
+#X restore 162 74 pd HiP-delay;
+#X obj 141 162 outlet~;
+#X obj 32 161 outlet~;
+#X text 81 159 LoP;
+#X text 191 162 HiP;
+#X obj 162 17 inlet;
+#X text 105 16 Cut Freq;
+#X connect 0 0 1 0;
+#X connect 1 0 4 1;
+#X connect 1 0 7 0;
+#X connect 2 0 0 0;
+#X connect 2 0 3 0;
+#X connect 3 0 4 0;
+#X connect 4 0 6 0;
+#X connect 5 0 3 1;
+#X connect 10 0 0 1;
+#X connect 10 0 1 1;
+#X connect 10 0 5 0;

+ 156 - 0
audio/analyse.pd

@@ -0,0 +1,156 @@
+#N canvas 0 0 712 492 10;
+#N canvas 0 200 762 476 1-audio 0;
+#X floatatom 338 111 5 0 0 0 - - -;
+#N canvas 469 268 450 300 threshold 0;
+#X obj 131 171 spigot;
+#X obj 142 110 route 0;
+#X obj 142 129 t f f;
+#X obj 142 91 max 0;
+#X obj 131 47 inlet;
+#X obj 131 227 outlet;
+#X obj 214 48 inlet;
+#X obj 143 72 - 10;
+#X connect 0 0 5 0;
+#X connect 1 0 2 0;
+#X connect 1 1 0 1;
+#X connect 2 0 5 0;
+#X connect 2 1 0 1;
+#X connect 3 0 1 0;
+#X connect 4 0 0 0;
+#X connect 4 0 7 0;
+#X connect 6 0 7 1;
+#X connect 7 0 3 0;
+#X restore 338 91 pd threshold;
+#X obj 137 172 mean;
+#X obj 82 188 f;
+#X floatatom 82 208 5 0 0 0 - - -;
+#X obj 70 131 t b b;
+#X msg 97 151 clear;
+#X obj 70 111 metro 2000;
+#X obj 347 142 s 1-audio-env;
+#X obj 82 230 s 1-audio-av;
+#X obj 182 84 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
+-1;
+#X obj 298 115 -;
+#X obj 257 128 - 12;
+#X obj 305 164 /;
+#X msg 252 157 100 \$1;
+#X obj 313 142 -;
+#X floatatom 389 221 5 0 0 0 - - -;
+#X obj 336 190 clip 0 1;
+#X obj 167 50 inlet;
+#X obj 79 59 loadbang;
+#X obj 222 206 autoscale 0 1;
+#X floatatom 337 273 5 0 0 0 - - -;
+#X obj 340 224 min 100;
+#X connect 0 0 8 0;
+#X connect 0 0 11 0;
+#X connect 0 0 22 0;
+#X connect 1 0 0 0;
+#X connect 2 0 3 1;
+#X connect 3 0 4 0;
+#X connect 4 0 9 0;
+#X connect 5 0 3 0;
+#X connect 5 1 6 0;
+#X connect 6 0 2 0;
+#X connect 7 0 5 0;
+#X connect 10 0 7 1;
+#X connect 11 0 13 0;
+#X connect 12 0 11 1;
+#X connect 12 0 14 0;
+#X connect 13 0 17 0;
+#X connect 13 0 20 0;
+#X connect 14 0 15 0;
+#X connect 15 0 13 1;
+#X connect 17 0 16 0;
+#X connect 18 0 1 0;
+#X connect 18 0 2 0;
+#X connect 19 0 7 0;
+#X connect 21 0 22 1;
+#X connect 22 0 21 0;
+#X connect 22 0 14 0;
+#X restore 494 31 pd 1-audio;
+#X obj 241 83 env~ \$1;
+#X obj 335 15 inlet~;
+#X obj 54 91 debounce 300;
+#X obj 23 72 fiddle~ 512 1 20;
+#X obj 393 100 mean;
+#X obj 297 222 -;
+#X obj 296 365 route 1;
+#X obj 334 161 env~ 8192 4096;
+#X obj 334 182 clip 65 100;
+#X obj 241 104 speedlim 40;
+#X msg 393 78 clear;
+#X obj 393 57 metro 5000;
+#X obj 393 122 - 3;
+#X obj 106 196 edge;
+#X obj 297 246 / 40;
+#X obj 104 236 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 324 285 max 0;
+#X obj 362 285 f;
+#X msg 417 246 0;
+#X obj 324 327 / 2.5;
+#X obj 296 384 debounce 5;
+#X obj 324 306 max 0.3;
+#X obj 297 346 < 0.3;
+#X text 409 186 Moyenne lente;
+#X text 163 97 Moyenne rapide;
+#X obj 393 37 loadbang;
+#X text 428 101 Moyenne tres lente;
+#X obj 297 266 t f f;
+#X text 443 113 pour limite inferieure;
+#X text 378 308 limite declenchement;
+#X obj 5 437 outlet env;
+#X obj 144 437 outlet attack;
+#X msg 54 112 1;
+#X msg 253 397 1;
+#X obj 248 253 / 10;
+#X obj 191 293 clip 0 1;
+#X obj 195 145 / 100;
+#X obj 74 437 outlet ctl;
+#X obj 230 437 outlet kick;
+#X obj 334 202 - 0;
+#X obj 144 417 debounce 40;
+#X obj 230 418 debounce 40;
+#X connect 1 0 5 0;
+#X connect 1 0 10 0;
+#X connect 2 0 1 0;
+#X connect 2 0 4 0;
+#X connect 2 0 8 0;
+#X connect 3 0 33 0;
+#X connect 4 1 3 0;
+#X connect 5 0 13 0;
+#X connect 6 0 15 0;
+#X connect 6 0 14 0;
+#X connect 6 0 35 0;
+#X connect 7 0 21 0;
+#X connect 8 0 9 0;
+#X connect 9 0 40 0;
+#X connect 10 0 6 0;
+#X connect 10 0 37 0;
+#X connect 11 0 5 0;
+#X connect 12 0 11 0;
+#X connect 12 0 19 0;
+#X connect 13 0 9 1;
+#X connect 14 0 16 0;
+#X connect 15 0 28 0;
+#X connect 17 0 18 0;
+#X connect 17 0 22 0;
+#X connect 18 0 17 1;
+#X connect 19 0 17 1;
+#X connect 20 0 23 1;
+#X connect 21 0 34 0;
+#X connect 22 0 20 0;
+#X connect 23 0 7 0;
+#X connect 26 0 12 0;
+#X connect 28 0 23 0;
+#X connect 28 1 17 0;
+#X connect 33 0 41 0;
+#X connect 34 0 42 0;
+#X connect 35 0 36 0;
+#X connect 36 0 38 0;
+#X connect 37 0 31 0;
+#X connect 40 0 6 1;
+#X connect 41 0 32 0;
+#X connect 42 0 39 0;

+ 170 - 0
audio/rAudio.pd

@@ -0,0 +1,170 @@
+#N canvas 0 0 450 300 10;
+#X declare -lib mrpeach;
+#X obj 123 47 OSCroute /audio;
+#X obj 123 73 OSCroute /bass /lomid /himid /high;
+#X obj 123 112 OSCroute /1 /2;
+#X obj 123 155 s 1-bass-env;
+#X obj 165 176 s 1-bass-att;
+#X obj 163 277 s 2-bass-env;
+#X obj 205 298 s 2-bass-att;
+#X obj 310 112 OSCroute /1 /2;
+#X obj 310 155 s 1-lomid-env;
+#X obj 352 176 s 1-lomid-att;
+#X obj 350 277 s 2-lomid-env;
+#X obj 392 298 s 2-lomid-att;
+#X obj 493 112 OSCroute /1 /2;
+#X obj 679 111 OSCroute /1 /2;
+#X obj 493 155 s 1-himid-env;
+#X obj 535 176 s 1-himid-att;
+#X obj 533 277 s 2-himid-env;
+#X obj 575 298 s 2-himid-att;
+#X obj 679 154 s 1-high-env;
+#X obj 721 175 s 1-high-att;
+#X obj 719 277 s 2-high-env;
+#X obj 761 298 s 2-high-att;
+#X obj 208 200 s 1-bass-kick;
+#X obj 248 322 s 2-bass-kick;
+#N canvas 881 339 436 329 audiogui 1;
+#X obj 33 45 vsl 15 128 0 1 0 0 empty 1-bass-env empty 0 -9 0 10 -262144
+-1 -1 10144 1;
+#X obj 33 23 bng 15 250 50 0 empty 1-bass-att empty 17 7 0 10 -262144
+-1 -1;
+#X obj 33 3 bng 15 250 50 0 empty 1-bass-kick empty 17 7 0 10 -262144
+-1 -1;
+#X obj 78 45 vsl 15 128 0 1 0 0 empty 2-bass-env empty 0 -9 0 10 -262144
+-1 -1 9330 1;
+#X obj 78 23 bng 15 250 50 0 empty 2-bass-att empty 17 7 0 10 -262144
+-1 -1;
+#X obj 78 3 bng 15 250 50 0 empty 2-bass-kick empty 17 7 0 10 -262144
+-1 -1;
+#X obj 125 45 vsl 15 128 0 1 0 0 empty 1-lomid-env empty 0 -9 0 10
+-262144 -1 -1 7891 1;
+#X obj 125 23 bng 15 250 50 0 empty 1-lomid-att empty 17 7 0 10 -262144
+-1 -1;
+#X obj 125 3 bng 15 250 50 0 empty 1-lomid-kick empty 17 7 0 10 -262144
+-1 -1;
+#X obj 169 45 vsl 15 128 0 1 0 0 empty 2-lomid-env empty 0 -9 0 10
+-262144 -1 -1 7702 1;
+#X obj 169 23 bng 15 250 50 0 empty 2-lomid-att empty 17 7 0 10 -262144
+-1 -1;
+#X obj 169 3 bng 15 250 50 0 empty 2-lomid-kick empty 17 7 0 10 -262144
+-1 -1;
+#X obj 213 45 vsl 15 128 0 1 0 0 empty 1-himid-env empty 0 -9 0 10
+-262144 -1 -1 8011 1;
+#X obj 213 23 bng 15 250 50 0 empty 1-himid-att empty 17 7 0 10 -262144
+-1 -1;
+#X obj 213 3 bng 15 250 50 0 empty 1-himid-kick empty 17 7 0 10 -262144
+-1 -1;
+#X obj 253 45 vsl 15 128 0 1 0 0 empty 2-himid-env empty 0 -9 0 10
+-262144 -1 -1 7665 1;
+#X obj 253 23 bng 15 250 50 0 empty 2-himid-att empty 17 7 0 10 -262144
+-1 -1;
+#X obj 253 3 bng 15 250 50 0 empty 2-himid-kick empty 17 7 0 10 -262144
+-1 -1;
+#X obj 296 45 vsl 15 128 0 1 0 0 empty 1-high-env empty 0 -9 0 10 -262144
+-1 -1 7072 1;
+#X obj 296 23 bng 15 250 50 0 empty 1-high-att empty 17 7 0 10 -262144
+-1 -1;
+#X obj 296 3 bng 15 250 50 0 empty 1-high-kick empty 17 7 0 10 -262144
+-1 -1;
+#X obj 342 45 vsl 15 128 0 1 0 0 empty 2-high-env empty 0 -9 0 10 -262144
+-1 -1 7619 1;
+#X obj 342 23 bng 15 250 50 0 empty 2-high-att empty 17 7 0 10 -262144
+-1 -1;
+#X obj 342 3 bng 15 250 50 0 empty 2-high-kick empty 17 7 0 10 -262144
+-1 -1;
+#X obj 33 184 vsl 15 128 0 1 0 0 empty 1-bass-ctl empty 0 -9 0 10 -262144
+-1 -1 0 1;
+#X obj 78 185 vsl 15 128 0 1 0 0 empty 2-bass-ctl empty 0 -9 0 10 -262144
+-1 -1 2818 1;
+#X obj 125 184 vsl 15 128 0 1 0 0 empty 1-lomid-ctl empty 0 -9 0 10
+-262144 -1 -1 5688 1;
+#X obj 169 184 vsl 15 128 0 1 0 0 empty 2-lomid-ctl empty 0 -9 0 10
+-262144 -1 -1 7558 1;
+#X obj 213 184 vsl 15 128 0 1 0 0 empty 1-himid-ctl empty 0 -9 0 10
+-262144 -1 -1 8088 1;
+#X obj 253 184 vsl 15 128 0 1 0 0 empty 2-himid-ctl empty 0 -9 0 10
+-262144 -1 -1 7191 1;
+#X obj 296 184 vsl 15 128 0 1 0 0 empty 1-high-ctl empty 0 -9 0 10
+-262144 -1 -1 851 1;
+#X obj 344 184 vsl 15 128 0 1 0 0 empty 2-high-ctl empty 0 -9 0 10
+-262144 -1 -1 3102 1;
+#X restore 3 29 pd audiogui;
+#X msg 3 113 \; pd-audiogui vis \$1;
+#X obj 3 50 r audiogui;
+#X obj 76 173 print;
+#X obj 123 135 OSCroute /env /att /kick /ctl;
+#X obj 251 222 s 1-bass-ctl;
+#X obj 395 200 s 1-lomid-kick;
+#X obj 578 200 s 1-himid-kick;
+#X obj 310 135 OSCroute /env /att /kick /ctl;
+#X obj 621 222 s 1-himid-ctl;
+#X obj 493 135 OSCroute /env /att /kick /ctl;
+#X obj 764 201 s 1-high-kick;
+#X obj 807 223 s 1-high-ctl;
+#X obj 679 134 OSCroute /env /att /kick /ctl;
+#X obj 163 256 OSCroute /env /att /kick /ctl;
+#X obj 350 256 OSCroute /env /att /kick /ctl;
+#X obj 533 256 OSCroute /env /att /kick /ctl;
+#X obj 719 256 OSCroute /env /att /kick /ctl;
+#X obj 435 322 s 2-lomid-kick;
+#X obj 618 322 s 2-himid-kick;
+#X obj 804 322 s 2-high-kick;
+#X obj 291 344 s 2-bass-ctl;
+#X obj 661 344 s 2-himid-ctl;
+#X obj 847 343 s 2-high-ctl;
+#X obj 438 222 s 1-lomid-ctl;
+#X obj 478 344 s 2-lomid-ctl;
+#X obj 234 23 import mrpeach;
+#X obj 123 25 unpackOSC;
+#X obj 123 3 udpreceive \$1;
+#X obj 5 76 change;
+#X connect 0 0 1 0;
+#X connect 1 0 2 0;
+#X connect 1 1 7 0;
+#X connect 1 2 12 0;
+#X connect 1 3 13 0;
+#X connect 2 0 28 0;
+#X connect 2 1 38 0;
+#X connect 7 0 32 0;
+#X connect 7 1 39 0;
+#X connect 12 0 34 0;
+#X connect 12 1 40 0;
+#X connect 13 0 37 0;
+#X connect 13 1 41 0;
+#X connect 26 0 53 0;
+#X connect 28 0 3 0;
+#X connect 28 1 4 0;
+#X connect 28 2 22 0;
+#X connect 28 3 29 0;
+#X connect 32 0 8 0;
+#X connect 32 1 9 0;
+#X connect 32 2 30 0;
+#X connect 32 3 48 0;
+#X connect 34 0 14 0;
+#X connect 34 1 15 0;
+#X connect 34 2 31 0;
+#X connect 34 3 33 0;
+#X connect 37 0 18 0;
+#X connect 37 1 19 0;
+#X connect 37 2 35 0;
+#X connect 37 3 36 0;
+#X connect 38 0 5 0;
+#X connect 38 1 6 0;
+#X connect 38 2 23 0;
+#X connect 38 3 45 0;
+#X connect 39 0 10 0;
+#X connect 39 1 11 0;
+#X connect 39 2 42 0;
+#X connect 39 3 49 0;
+#X connect 40 0 16 0;
+#X connect 40 1 17 0;
+#X connect 40 2 43 0;
+#X connect 40 3 46 0;
+#X connect 41 0 20 0;
+#X connect 41 1 21 0;
+#X connect 41 2 44 0;
+#X connect 41 3 47 0;
+#X connect 51 0 0 0;
+#X connect 52 0 51 0;
+#X connect 53 0 25 0;

+ 162 - 0
makeartdmx.pd

@@ -0,0 +1,162 @@
+#N canvas 106 147 1309 889 10;
+#X msg 234 830 65 114 116 45 78 101 116 0 0 80 0 14 0 0 0 0 2 0;
+#X obj 854 177 unpack f f;
+#X obj 877 388 f;
+#X obj 854 229 t f f;
+#X obj 893 253 <= 511;
+#X obj 854 281 spigot;
+#X obj 508 679 array define \$0-dmx 512;
+#X obj 643 778 array define \$0-header 18;
+#X obj 877 411 array set \$0-dmx;
+#X obj 431 780 array set \$0-header 15;
+#X obj 212 613 array set \$0-header 14;
+#X msg 508 626 const \$1;
+#X obj 735 542 array get \$0-dmx;
+#X obj 258 137 loadbang;
+#X obj 588 543 array get \$0-header;
+#X obj 588 587 list append;
+#X obj 382 18 inlet;
+#X obj 234 855 array set \$0-header 0;
+#X text 20 42 (c) 2015 Marian Weger;
+#X obj 476 194 t b f;
+#X obj 854 316 t b b f;
+#X obj 611 426 int;
+#X obj 611 404 / 256;
+#X obj 660 404 mod 256;
+#X obj 611 314 clip 2 65534;
+#X obj 611 263 spigot;
+#X obj 661 263 spigot;
+#X obj 711 183 mod 2;
+#X obj 711 205 t f f;
+#X obj 711 227 == 0;
+#X obj 749 227 != 0;
+#X obj 661 285 + 1;
+#X obj 611 449 array set \$0-header 16;
+#X obj 660 426 array set \$0-header 17;
+#X obj 834 711 outlet ArtDMX;
+#X obj 949 510 b;
+#X obj 588 505 t b b;
+#X obj 1102 574 array get \$0-dmx;
+#X obj 949 574 array get \$0-header;
+#X obj 949 618 list append;
+#X obj 949 536 t b b;
+#X obj 949 644 print [Art-Net message];
+#X obj 1012 252 array get \$0-dmx;
+#X obj 1012 280 print [DMX Data];
+#X obj 258 164 t b b;
+#X obj 431 645 f \$1;
+#X obj 1012 220 b;
+#X obj 673 367 array size \$0-dmx;
+#X obj 611 141 t f f f;
+#X obj 611 336 t f f f;
+#X obj 854 199 int;
+#X obj 921 199 int;
+#X obj 611 119 int;
+#X obj 295 483 int;
+#X obj 431 667 int;
+#X msg 327 249 0;
+#X obj 508 587 int;
+#X obj 865 40 b;
+#X obj 865 72 array get \$0-header;
+#X obj 865 100 print [Art-Net ArtDMX header];
+#X obj 431 697 clip 0 127;
+#X obj 295 513 clip 0 15;
+#X obj 212 483 int;
+#X obj 212 513 clip 0 15;
+#X text 20 22 makeartdmx (<net> <subnet> <universe> <length>);
+#X obj 212 461 f \$2;
+#X obj 295 461 f \$3;
+#X obj 611 97 f \$4;
+#X obj 212 535 * 16;
+#X obj 212 587 +;
+#X obj 295 535 t b f;
+#X obj 382 44 route universe net float bang length print printdmx printheader
+subnet frame;
+#X obj 711 102 array set \$0-dmx;
+#X obj 682 81 t b a;
+#X connect 0 0 17 0;
+#X connect 1 0 50 0;
+#X connect 1 1 51 0;
+#X connect 2 0 8 0;
+#X connect 3 0 5 0;
+#X connect 3 1 4 0;
+#X connect 4 0 5 1;
+#X connect 5 0 20 0;
+#X connect 11 0 6 0;
+#X connect 12 0 15 1;
+#X connect 13 0 44 0;
+#X connect 14 0 15 0;
+#X connect 15 0 34 0;
+#X connect 16 0 71 0;
+#X connect 19 0 36 0;
+#X connect 19 1 56 0;
+#X connect 20 0 36 0;
+#X connect 20 1 2 0;
+#X connect 20 2 8 1;
+#X connect 21 0 32 0;
+#X connect 22 0 21 0;
+#X connect 23 0 33 0;
+#X connect 24 0 49 0;
+#X connect 25 0 24 0;
+#X connect 26 0 31 0;
+#X connect 27 0 28 0;
+#X connect 28 0 29 0;
+#X connect 28 1 30 0;
+#X connect 29 0 25 1;
+#X connect 30 0 26 1;
+#X connect 31 0 24 0;
+#X connect 35 0 40 0;
+#X connect 36 0 14 0;
+#X connect 36 1 12 0;
+#X connect 37 0 39 1;
+#X connect 38 0 39 0;
+#X connect 39 0 41 0;
+#X connect 40 0 38 0;
+#X connect 40 1 37 0;
+#X connect 42 0 43 0;
+#X connect 44 0 45 0;
+#X connect 44 0 66 0;
+#X connect 44 0 67 0;
+#X connect 44 1 55 0;
+#X connect 44 1 0 0;
+#X connect 45 0 54 0;
+#X connect 46 0 42 0;
+#X connect 48 0 25 0;
+#X connect 48 1 26 0;
+#X connect 48 2 27 0;
+#X connect 49 0 22 0;
+#X connect 49 1 23 0;
+#X connect 49 2 47 0;
+#X connect 50 0 3 0;
+#X connect 51 0 2 1;
+#X connect 52 0 48 0;
+#X connect 53 0 61 0;
+#X connect 54 0 60 0;
+#X connect 55 0 11 0;
+#X connect 56 0 11 0;
+#X connect 57 0 58 0;
+#X connect 58 0 59 0;
+#X connect 60 0 9 0;
+#X connect 61 0 70 0;
+#X connect 62 0 63 0;
+#X connect 63 0 68 0;
+#X connect 65 0 62 0;
+#X connect 66 0 53 0;
+#X connect 67 0 52 0;
+#X connect 68 0 69 0;
+#X connect 69 0 10 0;
+#X connect 70 0 69 0;
+#X connect 70 1 69 1;
+#X connect 71 0 66 0;
+#X connect 71 1 45 0;
+#X connect 71 2 19 0;
+#X connect 71 3 36 0;
+#X connect 71 4 67 0;
+#X connect 71 5 35 0;
+#X connect 71 6 46 0;
+#X connect 71 7 57 0;
+#X connect 71 8 65 0;
+#X connect 71 9 73 0;
+#X connect 71 10 1 0;
+#X connect 73 0 36 0;
+#X connect 73 1 72 0;

+ 80 - 134
texread2.pd

@@ -1,8 +1,8 @@
-#N canvas 956 184 953 810 10;
+#N canvas 1118 226 953 810 10;
 #X obj 77 98 alpha;
 #X obj 19 665 loadbang;
 #X msg 19 686 draw line \, width 2;
-#X obj 83 8 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
+#X obj 83 8 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1
 ;
 #X obj 17 32 loadbang;
 #X obj 17 85 f \$1;
@@ -13,152 +13,98 @@
 #X obj 10 713 loadbang;
 #X msg 10 733 quality 0;
 #X obj 77 179 scaleXYZ 1.5 1.5 1;
-#X obj 705 348 outlet;
 #X obj 77 758 pix_texture;
-#X obj 112 -3 inlet;
 #X obj 77 238 pix_buffer_read textures;
 #X obj 77 200 t a b;
-#X obj 660 320 pix_dump;
-#X obj 660 300 t b a;
 #X obj 218 217 f \$1;
-#X obj 260 558 pix_data;
-#X obj 77 283 t a a a;
-#X floatatom 98 437 4 0 0 1 width - -;
-#X floatatom 108 419 4 0 0 1 height - -;
-#X floatatom 118 401 4 0 0 1 bytes/pixel - -;
-#X floatatom 128 384 5 0 0 1 coulorspace - -;
-#X obj 88 363 pix_info . . . .;
-#X obj 260 371 repeat 7;
-#X obj 260 451 repeat 7;
-#X obj 260 391 counter 6;
-#X obj 260 471 counter 6;
-#X obj 496 622 list-extend;
-#X obj 475 647 list;
-#X obj 235 508 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
--1 -1;
-#X obj 559 601 bang;
-#X obj 282 642 outlet single-coords;
-#X obj 454 565 t b b;
-#X obj 475 687 pp set;
-#X obj 282 619 pp;
-#X obj 335 521 pack f f;
-#X obj 299 431 / 7;
-#X obj 260 411 t b f f;
-#X obj 260 492 t b f f;
-#X obj 299 511 / 7;
-#X obj 260 300 pix_separator;
-#X obj 260 320 pix_resize 7 7;
+#X obj 77 269 t a a a;
+#X obj 210 300 pix_resize 7 7;
 #X text 313 86 faire selecteur affichage HD / 7*7;
-#X obj 435 168 inlet;
-#X obj 191 615 spigot;
+#X obj 314 188 inlet;
 #X msg 496 155 view \$1;
-#X obj 499 133 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+#X obj 499 133 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
 1;
-#X obj 77 534 spigot 1;
-#X obj 224 596 == 0;
-#X obj 446 276 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+#X obj 77 404 spigot 1;
+#X obj 319 235 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
 1;
-#X obj 260 340 t b a b b b a;
-#X floatatom 459 302 5 0 0 0 - - -;
+#X floatatom 529 272 5 0 0 0 - - -, f 5;
 #X obj 150 787 s tex\$1;
-#X obj 436 195 route view gain;
-#X obj 574 161 r texread;
-#X obj 381 377 pix_gain;
-#X msg 411 325 \$1 \$1 \$1 \$1;
-#X msg 475 708;
-#X obj 405 472 pix_buffer_write textures-view 10;
-#X obj 405 427 t a b;
-#X obj 600 450 f \$1;
-#X obj 77 314 pix_separator;
+#X obj 314 215 route view gain;
+#X obj 339 158 r texread;
+#X obj 428 377 pix_gain;
+#X msg 481 295 \$1 \$1 \$1 \$1;
+#X obj 428 436 pix_buffer_write textures-view 10;
+#X obj 428 398 t a b;
+#X obj 656 415 f \$1;
+#X obj 77 300 pix_separator;
 #X obj 77 155 translateXYZ 0 -3 0;
-#X obj 142 27 pipe;
-#X obj 199 12 loadbang;
-#X obj 199 37 f \$1;
-#X obj 195 59 * 5;
 #X obj 77 71 gemhead;
-#X obj 138 64 + 1;
-#X msg 136 93 set \$1;
-#X connect 0 0 67 0;
+#X text 499 455 texture pour simulation led;
+#X obj 210 448 pix_dump;
+#X obj 313 758 print;
+#X obj 263 469 t b l b;
+#X obj 286 491 list split 3;
+#X obj 286 563 list-abs/list-extend;
+#X obj 261 586 list;
+#X obj 237 428 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
+-1 -1;
+#X obj 326 541 list split 1;
+#X obj 367 519 bang;
+#X obj 210 320 t a a;
+#X obj 261 631 outlet;
+#X obj 224 398 metro 40;
+#X obj 224 347 r artnet;
+#X obj 270 375 r artnet-freq;
+#X connect 0 0 35 0;
 #X connect 1 0 2 0;
 #X connect 2 0 6 0;
-#X connect 3 0 72 0;
+#X connect 3 0 36 0;
 #X connect 4 0 5 0;
 #X connect 5 0 9 0;
-#X connect 6 0 14 0;
-#X connect 8 0 67 1;
+#X connect 6 0 13 0;
+#X connect 8 0 35 1;
 #X connect 9 0 8 0;
 #X connect 10 0 11 0;
-#X connect 11 0 14 0;
-#X connect 12 0 17 0;
-#X connect 14 0 7 0;
-#X connect 14 1 57 0;
-#X connect 15 0 68 0;
-#X connect 16 0 22 0;
-#X connect 17 0 16 0;
-#X connect 17 1 20 0;
-#X connect 18 1 13 0;
-#X connect 19 0 18 0;
-#X connect 19 1 18 0;
-#X connect 20 0 16 1;
-#X connect 21 1 39 0;
-#X connect 22 0 52 0;
-#X connect 22 2 46 0;
-#X connect 27 1 23 0;
-#X connect 27 2 24 0;
-#X connect 27 3 25 0;
-#X connect 27 4 26 0;
-#X connect 28 0 30 0;
-#X connect 29 0 31 0;
-#X connect 30 0 42 0;
-#X connect 31 0 43 0;
-#X connect 32 0 33 1;
-#X connect 33 0 35 0;
-#X connect 34 0 21 0;
-#X connect 35 0 32 1;
-#X connect 37 0 33 0;
-#X connect 37 1 32 0;
-#X connect 38 0 62 0;
-#X connect 39 0 36 0;
-#X connect 40 0 39 1;
-#X connect 41 0 21 3;
-#X connect 42 0 29 0;
-#X connect 42 1 40 1;
-#X connect 42 2 41 0;
-#X connect 43 0 21 0;
-#X connect 43 1 40 0;
-#X connect 43 2 44 0;
-#X connect 44 0 21 2;
-#X connect 45 0 46 0;
-#X connect 46 0 55 0;
-#X connect 48 0 58 0;
-#X connect 49 0 6 0;
-#X connect 50 0 58 0;
-#X connect 51 0 50 0;
-#X connect 52 0 6 0;
-#X connect 53 0 49 1;
-#X connect 55 0 28 0;
-#X connect 55 1 21 1;
-#X connect 55 2 30 2;
-#X connect 55 2 31 2;
-#X connect 55 4 37 0;
-#X connect 55 5 60 0;
-#X connect 56 0 61 0;
-#X connect 58 0 52 1;
-#X connect 58 0 53 0;
-#X connect 58 0 54 0;
-#X connect 58 1 61 0;
-#X connect 59 0 58 0;
-#X connect 60 0 64 0;
-#X connect 61 0 60 2;
-#X connect 63 0 49 0;
-#X connect 64 0 63 0;
-#X connect 64 1 65 0;
-#X connect 65 0 63 1;
-#X connect 67 0 12 0;
-#X connect 68 0 72 0;
-#X connect 69 0 70 0;
-#X connect 70 0 71 0;
-#X connect 70 0 73 0;
-#X connect 71 0 68 1;
-#X connect 72 0 0 0;
-#X connect 74 0 72 0;
+#X connect 11 0 13 0;
+#X connect 12 0 15 0;
+#X connect 13 0 7 0;
+#X connect 13 1 26 0;
+#X connect 14 0 17 0;
+#X connect 15 0 14 0;
+#X connect 15 1 16 0;
+#X connect 16 0 14 1;
+#X connect 17 0 23 0;
+#X connect 17 2 18 0;
+#X connect 18 0 47 0;
+#X connect 20 0 27 0;
+#X connect 21 0 27 0;
+#X connect 22 0 21 0;
+#X connect 23 0 6 0;
+#X connect 25 0 30 0;
+#X connect 27 0 23 1;
+#X connect 27 0 24 0;
+#X connect 27 1 30 0;
+#X connect 28 0 27 0;
+#X connect 29 0 32 0;
+#X connect 30 0 29 2;
+#X connect 32 0 31 0;
+#X connect 32 1 33 0;
+#X connect 33 0 31 1;
+#X connect 35 0 12 0;
+#X connect 36 0 0 0;
+#X connect 38 1 40 0;
+#X connect 40 1 41 0;
+#X connect 40 2 42 1;
+#X connect 41 0 42 0;
+#X connect 41 1 45 0;
+#X connect 41 2 46 0;
+#X connect 42 0 43 1;
+#X connect 43 0 48 0;
+#X connect 44 0 38 0;
+#X connect 45 1 41 0;
+#X connect 46 0 43 0;
+#X connect 47 0 38 0;
+#X connect 47 1 29 0;
+#X connect 49 0 38 0;
+#X connect 50 0 49 0;
+#X connect 51 0 49 1;