From b46366d420af97d820fb72a0e7cf34b38ca9edc0 Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Thu, 5 Jul 2007 19:08:53 +0000 Subject: Added some support for time tags: immediate or current time plus optional offset. svn path=/trunk/externals/mrpeach/; revision=7901 --- osc/packOSC-help.pd | 78 ++++++++++++++++++++++++++++++++++------------------- 1 file changed, 50 insertions(+), 28 deletions(-) (limited to 'osc/packOSC-help.pd') diff --git a/osc/packOSC-help.pd b/osc/packOSC-help.pd index e6d92ff..1747f30 100755 --- a/osc/packOSC-help.pd +++ b/osc/packOSC-help.pd @@ -1,47 +1,60 @@ -#N canvas 306 39 997 661 12; -#X obj 72 541 udpsend; -#X msg 136 486 disconnect; -#X msg 136 457 connect 127.0.0.1 9997; +#N canvas 0 366 1064 453 12; +#X obj 72 393 udpsend; +#X msg 373 359 disconnect; +#X msg 161 359 connect 127.0.0.1 9997; #X obj 72 296 packOSC; -#X obj 72 576 tgl 15 0 empty empty 1=connected 20 8 0 8 -262144 -1 +#X obj 72 428 tgl 15 0 empty empty 1=connected 20 8 0 8 -262144 -1 -1 1 1; #X msg 3 3 send /test/one/two/three zz 88 T; #X msg 54 54 send /test 1 2 3; -#X msg 31 29 send /west 35; -#X msg 72 82 send /*/left 22; -#X msg 87 109 send /?est/ 1; +#X msg 30 27 send /west 35; +#X msg 212 54 send /*/left 22; +#X msg 360 54 send /?est/ 1; #X text 140 288 packOSC is like sendOSC except that it outputs a list of floats instead of directly connecting to the network; #X text 299 2 send a type-guessed message; -#X text 381 183 send a type-forced message; -#X obj 420 69 routeOSC; -#X text 341 69 see also:; +#X text 596 201 send a type-forced message; +#X obj 652 417 routeOSC; +#X text 573 417 see also:; #X msg 121 264 typetags \$1; #X obj 121 247 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X text 228 264 typetags are on by default; -#X text 638 135 Useable types are:; -#X text 638 153 i: 32 bit integer; -#X text 638 171 f: 32-bit float; -#X text 638 189 s: string; -#X text 539 28 send a type-forced message; +#X text 670 223 Useable types are:; +#X text 670 241 i: 32 bit integer; +#X text 670 259 f: 32-bit float; +#X text 670 277 s: string; +#X text 539 26 send a type-forced message; #X msg 164 27 sendtyped /test/one/two/three sis zz 88 T; #X msg 112 202 sendtyped /left/right TTiTIFNfisf 1.1 2.1 3.1 4.1 5.1 ; -#X text 638 207 T: true (no argument); -#X text 638 225 F: false (no argument); -#X text 638 243 I: infinitum (no argument); -#X obj 72 408 list prepend send; -#X obj 72 434 list trim; -#X text 638 260 N: Nil (no argument); +#X text 670 295 T: true (no argument); +#X text 670 313 F: false (no argument); +#X text 670 331 I: infinitum (no argument); +#X obj 72 323 list prepend send; +#X obj 72 349 list trim; +#X text 670 348 N: Nil (no argument); #X msg 115 225 bufsize 100; #X text 221 226 set buffer size (default is 64000 bytes); -#X msg 267 105 prefix /test; -#X text 384 106 set the OSC path prefix for subsequent messages; -#X msg 112 161 /left one two; -#X msg 100 135 /right 88; -#X text 191 136 'send' prefix is not required; -#X text 462 529 2007/06/20 Martin Peach; +#X msg 83 84 prefix /test; +#X text 200 83 set the OSC path prefix for subsequent messages; +#X msg 106 178 /left one two; +#X msg 98 157 /right 88; +#X text 189 156 'send' prefix is not required; +#X msg -37 105 [; +#X msg -95 129 ]; +#X text 270 421 2007/07/05 Martin Peach; +#X text 8 104 open a bundle; +#X text -55 128 close bundle; +#X msg 457 111 timetagoffset 0; +#X msg 464 130 timetagoffset -1; +#X text 602 110 send current time as timetag; +#X msg 472 149 timetagoffset 1e+07; +#X text 494 169 (timetags are sent in bundle messages only); +#X text 680 148 current time plus 10 seconds; +#X obj -95 71 t b a b; +#X msg -95 48 /test 5 6 7; +#X text 615 129 immediate time tag (default); #X connect 0 0 4 0; #X connect 1 0 0 0; #X connect 2 0 0 0; @@ -61,3 +74,12 @@ of floats instead of directly connecting to the network; #X connect 33 0 3 0; #X connect 35 0 3 0; #X connect 36 0 3 0; +#X connect 38 0 3 0; +#X connect 39 0 3 0; +#X connect 43 0 3 0; +#X connect 44 0 3 0; +#X connect 46 0 3 0; +#X connect 49 0 39 0; +#X connect 49 1 3 0; +#X connect 49 2 38 0; +#X connect 50 0 49 0; -- cgit v1.2.1