makeartdmx-help.pd 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. #N canvas 551 66 867 632 10;
  2. #X text 20 32 (c) 2015 Marian Weger;
  3. #X obj 91 67 bng 15 250 50 0 empty empty send 17 7 0 10 -262144 -1
  4. -1;
  5. #X text 20 12 makeartdmx (<net> <universe>);
  6. #X obj 113 110 nbx 5 14 0 255 0 0 empty empty send_value_for_all_512_channels
  7. 0 -8 0 10 -262144 -1 -1 0 256;
  8. #X text 306 32 optional creation arguments:;
  9. #X obj 178 204 hsl 128 15 0 255 0 0 empty empty fader_for_dmx_channel_2
  10. -2 -8 0 10 -262144 -1 -1 4600 1;
  11. #X msg 175 224 2 \$1;
  12. #X text 204 151 send specific value "255" to dmx channel 1;
  13. #X msg 156 151 80 255;
  14. #X text 301 270 set number of dmx channels (default=512);
  15. #X text 301 284 (should be an even number in the range of 2-512);
  16. #X text 339 377 set universe to '1';
  17. #X msg 346 422 print;
  18. #X msg 357 457 printdmx;
  19. #X text 432 458 print the DMX data;
  20. #X msg 367 485 printheader;
  21. #X text 516 32 1 Net (default=0);
  22. #X text 91 575 Outputs Art-Net message \, to be sent with [artnetout]
  23. ;
  24. #X obj 91 541 makeartdmx 0 0 1 512;
  25. #X text 516 50 2 Sub-Net (default=0);
  26. #X text 516 69 3 Universe (default=0);
  27. #X text 516 85 4 Length (number of DMX channels \, default=512);
  28. #X text 267 326 set net to '3';
  29. #X text 298 350 set sub-net to '5';
  30. #X text 462 485 print the header as int8;
  31. #X text 397 424 print the whole Art-Net message as int8;
  32. #X msg 212 272 length 170;
  33. #X msg 230 350 subnet 5;
  34. #X msg 247 376 universe 1;
  35. #X msg 216 326 net 3;
  36. #X connect 1 0 18 0;
  37. #X connect 3 0 18 0;
  38. #X connect 5 0 6 0;
  39. #X connect 6 0 18 0;
  40. #X connect 8 0 18 0;
  41. #X connect 12 0 18 0;
  42. #X connect 13 0 18 0;
  43. #X connect 15 0 18 0;
  44. #X connect 26 0 18 0;
  45. #X connect 27 0 18 0;
  46. #X connect 28 0 18 0;
  47. #X connect 29 0 18 0;