packOSC-help.pd 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. #N canvas 1 53 1141 651 12;
  2. #X obj 301 434 cnv 15 100 40 empty empty empty 20 12 0 14 -4034 -66577
  3. 0;
  4. #X obj 330 548 udpsend;
  5. #X msg 323 521 disconnect;
  6. #X msg 301 499 connect 127.0.0.1 9997;
  7. #X obj 330 447 packOSC;
  8. #X obj 330 583 tgl 15 0 empty empty 1=connected 20 8 0 8 -4034 -257985
  9. -1 0 1;
  10. #X msg -130 -33 send /test/one/two/three zz 88 T;
  11. #X msg -84 13 send /test 1 2 3;
  12. #X msg -107 -10 send /west 35;
  13. #X msg -38 59 send /*/left 22;
  14. #X msg -13 84 send /?est/ 1;
  15. #X text 293 13 packOSC is like sendOSC except that it outputs a list
  16. of floats instead of directly connecting to the network;
  17. #X text 103 -33 send a type-guessed message;
  18. #X obj 515 541 routeOSC;
  19. #X text 436 540 see also:;
  20. #X msg 318 415 typetags \$1;
  21. #X obj 318 397 tgl 15 0 empty empty empty 17 7 0 10 -257985 -258113
  22. -1 0 1;
  23. #X text 401 414 typetags are on by default;
  24. #X text 529 107 Useable types are:;
  25. #X text 529 125 i: 32 bit integer;
  26. #X text 529 143 f: 32-bit float;
  27. #X text 529 161 s: string;
  28. #X text 310 107 send a type-forced message;
  29. #X msg 10 107 sendtyped /test/one/two/three sis zz 88 T;
  30. #X msg 33 130 sendtyped /left/right TTiTIFNfisf 1.1 2.1 3.1 4.1 5.1
  31. ;
  32. #X text 529 179 T: true (no argument);
  33. #X text 529 197 F: false (no argument);
  34. #X text 529 215 I: infinitum (no argument);
  35. #X text 529 232 N: Nil (no argument);
  36. #X msg 277 374 bufsize 100;
  37. #X text 364 374 set buffer size (default is 64000 bytes);
  38. #X msg 79 176 prefix /test;
  39. #X text 174 175 set the OSC path prefix for subsequent messages;
  40. #X msg -61 36 /left one two;
  41. #X msg 56 153 /right 88;
  42. #X text 129 153 'send' prefix is not required;
  43. #X msg 55 209 [;
  44. #X msg 9 210 ];
  45. #X text -81 211 close bundle;
  46. #X msg 157 254 timetagoffset 0;
  47. #X msg 180 277 timetagoffset -1;
  48. #X text 270 254 send current time as timetag;
  49. #X text 135 229 (timetags are sent in bundle messages only);
  50. #X obj 9 186 t b a b;
  51. #X msg -90 166 /test 5 6 7;
  52. #X text 301 277 immediate time tag (default);
  53. #X floatatom 376 476 5 0 0 0 - - -;
  54. #X text 426 476 bundle depth;
  55. #X obj 469 499 cnv 15 380 30 empty empty empty 20 12 0 14 -24198 -66577
  56. 0;
  57. #X text 597 540 and http://opensoundcontrol.org/cnmat;
  58. #X msg 203 300 timetagoffset 1e+06;
  59. #X text 473 506 <- First open routeOSC-help \, then connect;
  60. #X text 85 210 open a bundle (and generate time tag);
  61. #X obj 418 568 packOSCstream;
  62. #X text 383 567 see:;
  63. #X text 518 568 for a way to send OSC over TCP or serial connections.
  64. ;
  65. #X text 353 299 current time plus 1 second (delay is in microseconds)
  66. ;
  67. #X text -75 570 2009_06_08 Martin Peach;
  68. #X text 529 248 b: blob (a list of bytes \, or floats on [0..255])
  69. ;
  70. #X text 659 341 send a blob;
  71. #X msg 253 334 sendtyped /left b 0 1 2 3 124 125 126 127 128 129 255
  72. 254 253 252 -14 -15 -16 17 18 19 20 21 22 23 24 25 26 27 28;
  73. #N canvas 497 62 494 344 META 0;
  74. #X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan
  75. Wilkes for Pd version 0.42.;
  76. #X text 12 25 LICENSE GPL v2 or later;
  77. #X text 12 165 AUTHOR Martin Peach;
  78. #X text 12 5 KEYWORDS control network;
  79. #X text 12 45 DESCRIPTION packOSC is like sendOSC except it outputs
  80. a list of floats instead of directly connecting to the network;
  81. #X text 12 85 INLET_0 anything send sendtyped prefix timetagoffset
  82. bufsize typetags;
  83. #X text 12 125 OUTLET_0 anything;
  84. #X text 12 145 OUTLET_1 float;
  85. #X restore 832 595 pd META;
  86. #X connect 1 0 5 0;
  87. #X connect 2 0 1 0;
  88. #X connect 3 0 1 0;
  89. #X connect 4 0 1 0;
  90. #X connect 4 1 46 0;
  91. #X connect 6 0 4 0;
  92. #X connect 7 0 4 0;
  93. #X connect 8 0 4 0;
  94. #X connect 9 0 4 0;
  95. #X connect 10 0 4 0;
  96. #X connect 15 0 4 0;
  97. #X connect 16 0 15 0;
  98. #X connect 23 0 4 0;
  99. #X connect 24 0 4 0;
  100. #X connect 29 0 4 0;
  101. #X connect 31 0 4 0;
  102. #X connect 33 0 4 0;
  103. #X connect 34 0 4 0;
  104. #X connect 36 0 4 0;
  105. #X connect 37 0 4 0;
  106. #X connect 39 0 4 0;
  107. #X connect 40 0 4 0;
  108. #X connect 43 0 37 0;
  109. #X connect 43 1 4 0;
  110. #X connect 43 2 36 0;
  111. #X connect 44 0 43 0;
  112. #X connect 50 0 4 0;
  113. #X connect 60 0 4 0;