udpreceive-help.pd 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. #N canvas 665 293 742 610 12;
  2. #X floatatom 414 304 3 0 0 0 - - -, f 3;
  3. #X floatatom 441 304 3 0 0 0 - - -, f 3;
  4. #X floatatom 468 304 3 0 0 0 - - -, f 3;
  5. #X floatatom 495 304 3 0 0 0 - - -, f 3;
  6. #X floatatom 522 305 5 0 0 0 - - -, f 5;
  7. #X obj 414 278 unpack 0 0 0 0 0;
  8. #X msg 191 90 status;
  9. #X floatatom 293 225 9 0 0 0 - - -, f 9;
  10. #X obj 474 251 tgl 15 0 empty empty empty 17 7 0 10 -4034 -1 -1 0 1
  11. ;
  12. #X floatatom 353 251 9 0 0 0 - - -, f 9;
  13. #X text -10 90 get status on right outlet:;
  14. #X text 186 225 bytes received:;
  15. #X text 201 249 total bytes received:;
  16. #X text 371 303 from:;
  17. #X text 293 78 Specify a multicast address (from 224.0.0.0 to 239.255.255.255)
  18. to use multicasting;
  19. #X text 36 38 Creation arguments: port number to listen on (required)
  20. ;
  21. #X obj 230 274 tgl 15 0 empty empty enable_print: -77 8 0 10 -4034
  22. -1 -1 0 1;
  23. #X obj 234 344 print received;
  24. #X obj 293 192 route received total from multicast;
  25. #X text 175 56 IP address to listen on (optional);
  26. #X msg 202 129 port 9998;
  27. #X text 276 127 change port to listen on;
  28. #X text 486 360 Martin Peach 2010/10/15;
  29. #X text -12 3 [udpreceive] receives datagrams over a udp connection
  30. and outputs them as raw bytes.;
  31. #N canvas 529 53 494 344 META 0;
  32. #X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
  33. Wilkes for Pd version 0.42.;
  34. #X text 12 25 LICENSE GPL v2 or later;
  35. #X text 12 135 AUTHOR Martin Peach;
  36. #X text 12 5 KEYWORDS control network;
  37. #X text 12 45 DESCRIPTION receive datagrams over a udp connection and
  38. outputs them as raw bytes;
  39. #X text 12 75 INLET_0 status port;
  40. #X text 12 95 OUTLET_0 anything;
  41. #X text 12 115 OUTLET_1 received total from multicast;
  42. #X restore 657 396 pd META;
  43. #X obj 191 294 unpackOSC;
  44. #X obj 191 160 udpreceive 9000;
  45. #X obj 78 236 udpsend 8000;
  46. #X obj 81 202 spigot;
  47. #X obj 136 166 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
  48. 1;
  49. #X msg 47 352 connect 127.0.0.1 8000;
  50. #X obj 114 319 packOSC;
  51. #X obj 215 400 vsl 15 128 0 1024 0 0 empty empty empty 0 -9 0 10 -1
  52. -4034 -1 12588 1;
  53. #X obj 191 319 route /analog/0;
  54. #X connect 5 0 0 0;
  55. #X connect 5 1 1 0;
  56. #X connect 5 2 2 0;
  57. #X connect 5 3 3 0;
  58. #X connect 5 4 4 0;
  59. #X connect 6 0 26 0;
  60. #X connect 18 0 7 0;
  61. #X connect 18 1 9 0;
  62. #X connect 18 2 5 0;
  63. #X connect 18 3 8 0;
  64. #X connect 20 0 26 0;
  65. #X connect 25 0 17 0;
  66. #X connect 25 0 31 0;
  67. #X connect 25 0 33 0;
  68. #X connect 26 0 25 0;
  69. #X connect 26 1 18 0;
  70. #X connect 28 0 27 0;
  71. #X connect 29 0 28 1;
  72. #X connect 30 0 27 0;
  73. #X connect 31 0 28 0;
  74. #X connect 33 0 32 0;