udpreceive~-help.pd 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. #N canvas 221 129 767 415 10;
  2. #N canvas 874 257 494 344 META 0;
  3. #X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
  4. Wilkes for Pd version 0.42.;
  5. #X text 12 25 LICENSE GPL v2 or later;
  6. #X text 12 135 AUTHOR Martin Peach;
  7. #X text 12 5 KEYWORDS control network;
  8. #X text 12 45 DESCRIPTION receive datagrams over a udp connection and
  9. outputs them as a signal;
  10. #X restore 695 379 pd META;
  11. #X obj 522 267 print udpreceive~;
  12. #X symbolatom 177 354 10 0 0 0 - - -;
  13. #X floatatom 211 288 5 0 0 0 - - -;
  14. #X floatatom 246 267 7 0 0 0 - - -;
  15. #X floatatom 280 332 9 0 0 0 - - -;
  16. #X obj 177 313 prepend set;
  17. #X text 147 287 channels:;
  18. #X text 131 353 format:;
  19. #X text 231 331 bitrate:;
  20. #X text 182 266 framesize:;
  21. #X floatatom 315 289 9 0 0 0 - - -;
  22. #X floatatom 349 267 9 0 0 0 - - -;
  23. #X floatatom 384 310 5 0 0 0 - - -;
  24. #X floatatom 418 289 5 0 0 0 - - -;
  25. #X text 258 288 overflow:;
  26. #X text 289 266 underflow:;
  27. #X text 323 309 queuesize:;
  28. #X text 370 288 average:;
  29. #X msg 35 58 info;
  30. #X msg 15 38 reset;
  31. #X text 68 57 status info to rightmost outlet;
  32. #X text 53 37 reset underflow & overflow counters;
  33. #X floatatom 210 169 3 0 0 0 - - -;
  34. #X floatatom 233 169 3 0 0 0 - - -;
  35. #X floatatom 256 169 3 0 0 0 - - -;
  36. #X floatatom 279 169 3 0 0 0 - - -;
  37. #X floatatom 303 169 5 0 0 0 - - -;
  38. #X obj 210 143 unpack 0 0 0 0 0;
  39. #X text 173 168 from:;
  40. #X obj 82 152 dac~ 1 2;
  41. #X floatatom 453 332 9 0 0 0 - - -;
  42. #X text 401 331 packets:;
  43. #X text 348 142 To communicate \, a [udpreceive~] and [udpsend~] pair
  44. must have the same number of channels and the same blocksize. Also
  45. [udpsend~] must [connect( to the port on which [udpreceive~] is listening.
  46. ;
  47. #X msg 56 79 buffer 2;
  48. #X text 118 78 set number of frames to buffer before playback;
  49. #X obj 177 230 route format channels framesize bitrate overflow underflow
  50. queuesize average packets tag_errors;
  51. #X floatatom 487 310 9 0 0 0 - - -;
  52. #X text 421 309 tag errors:;
  53. #X obj 144 181 env~;
  54. #X floatatom 144 204 9 0 0 0 - - -;
  55. #X text 204 193 The rightmost signal outlet outputs 1 if the stream
  56. is valid \, else 0;
  57. #X text 420 77 Arguments: port \, channels \, blocksize \, multicast_address.
  58. Blocksize should match [udpsend~]. multicast_address is optional. Arguments
  59. must be in that order.;
  60. #X obj 81 121 udpreceive~ 9999 2 512;
  61. #X text 221 120 receives 2 channels on port 9999 Same blocksize as
  62. udpsend~;
  63. #X connect 6 0 2 0;
  64. #X connect 19 0 43 0;
  65. #X connect 20 0 43 0;
  66. #X connect 28 0 23 0;
  67. #X connect 28 1 24 0;
  68. #X connect 28 2 25 0;
  69. #X connect 28 3 26 0;
  70. #X connect 28 4 27 0;
  71. #X connect 34 0 43 0;
  72. #X connect 36 0 6 0;
  73. #X connect 36 1 3 0;
  74. #X connect 36 2 4 0;
  75. #X connect 36 3 5 0;
  76. #X connect 36 4 11 0;
  77. #X connect 36 5 12 0;
  78. #X connect 36 6 13 0;
  79. #X connect 36 7 14 0;
  80. #X connect 36 8 31 0;
  81. #X connect 36 9 37 0;
  82. #X connect 36 10 1 0;
  83. #X connect 39 0 40 0;
  84. #X connect 43 0 30 0;
  85. #X connect 43 1 30 1;
  86. #X connect 43 2 39 0;
  87. #X connect 43 3 36 0;
  88. #X connect 43 4 28 0;