From 8ee9cabbd4a624c6a97ef96b13a9d3ae8f706907 Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Wed, 17 Sep 2008 18:18:21 +0000 Subject: cleaned up some more. svn path=/trunk/externals/mrpeach/; revision=10295 --- osc/packOSC-help.pd | 173 ++++++++++++++++++++++++++------------------------- osc/routeOSC-help.pd | 91 ++++++++++++++------------- 2 files changed, 136 insertions(+), 128 deletions(-) diff --git a/osc/packOSC-help.pd b/osc/packOSC-help.pd index 8c2f429..ad7ae4d 100644 --- a/osc/packOSC-help.pd +++ b/osc/packOSC-help.pd @@ -1,93 +1,94 @@ -#N canvas 13 42 1032 644 12; -#X obj 304 520 udpsend; -#X msg 297 493 disconnect; -#X msg 275 471 connect 127.0.0.1 9997; -#X obj 304 419 packOSC; -#X obj 304 555 tgl 15 0 empty empty 1=connected 20 8 0 8 -4034 -257985 +#N canvas 72 202 1060 651 12; +#X obj 281 414 cnv 15 100 40 empty empty empty 20 12 0 14 -4034 -66577 +0; +#X obj 310 528 udpsend; +#X msg 303 501 disconnect; +#X msg 281 479 connect 127.0.0.1 9997; +#X obj 310 427 packOSC; +#X obj 310 563 tgl 15 0 empty empty 1=connected 20 8 0 8 -4034 -257985 -1 0 1; -#X msg -136 -41 send /test/one/two/three zz 88 T; -#X msg -90 5 send /test 1 2 3; -#X msg -113 -18 send /west 35; -#X msg -67 28 send /*/left 22; -#X msg -42 53 send /?est/ 1; -#X text -95 420 packOSC is like sendOSC except that it outputs a list +#X msg -130 -33 send /test/one/two/three zz 88 T; +#X msg -84 13 send /test 1 2 3; +#X msg -107 -10 send /west 35; +#X msg -38 59 send /*/left 22; +#X msg -13 84 send /?est/ 1; +#X text 293 13 packOSC is like sendOSC except that it outputs a list of floats instead of directly connecting to the network; -#X text 97 -41 send a type-guessed message; -#X obj 489 513 routeOSC; -#X text 410 512 see also:; -#X msg 292 387 typetags \$1; -#X obj 292 369 tgl 15 0 empty empty empty 17 7 0 10 -257985 -258113 +#X text 103 -33 send a type-guessed message; +#X obj 495 521 routeOSC; +#X text 416 520 see also:; +#X msg 298 395 typetags \$1; +#X obj 298 377 tgl 15 0 empty empty empty 17 7 0 10 -257985 -258113 -1 0 1; -#X text 381 387 typetags are on by default; -#X text 642 80 Useable types are:; -#X text 642 98 i: 32 bit integer; -#X text 642 116 f: 32-bit float; -#X text 642 134 s: string; -#X text 281 76 send a type-forced message; -#X msg -19 76 sendtyped /test/one/two/three sis zz 88 T; -#X msg 50 145 sendtyped /left/right TTiTIFNfisf 1.1 2.1 3.1 4.1 5.1 +#X text 381 394 typetags are on by default; +#X text 529 107 Useable types are:; +#X text 529 125 i: 32 bit integer; +#X text 529 143 f: 32-bit float; +#X text 529 161 s: string; +#X text 310 107 send a type-forced message; +#X msg 10 107 sendtyped /test/one/two/three sis zz 88 T; +#X msg 33 130 sendtyped /left/right TTiTIFNfisf 1.1 2.1 3.1 4.1 5.1 ; -#X text 642 152 T: true (no argument); -#X text 642 170 F: false (no argument); -#X text 642 188 I: infinitum (no argument); -#X text 642 205 N: Nil (no argument); -#X msg 251 346 bufsize 100; -#X text 338 346 set buffer size (default is 64000 bytes); -#X msg 28 123 prefix /test; -#X text 123 122 set the OSC path prefix for subsequent messages; -#X msg 37 329 /left one two; -#X msg 5 100 /right 88; -#X text 78 100 'send' prefix is not required; -#X msg 24 173 [; -#X msg -22 174 ]; -#X text -112 175 close bundle; -#X msg 128 223 timetagoffset 0; -#X msg 151 246 timetagoffset -1; -#X text 241 223 send current time as timetag; -#X text 142 197 (timetags are sent in bundle messages only); -#X obj -22 150 t b a b; -#X msg -121 130 /test 5 6 7; -#X text 272 246 immediate time tag (default); -#X floatatom 350 446 5 0 0 0 - - -; -#X text 400 446 bundle depth; -#X obj 443 471 cnv 15 380 30 empty empty empty 20 12 0 14 -24198 -66577 +#X text 529 179 T: true (no argument); +#X text 529 197 F: false (no argument); +#X text 529 215 I: infinitum (no argument); +#X text 529 232 N: Nil (no argument); +#X msg 257 354 bufsize 100; +#X text 344 354 set buffer size (default is 64000 bytes); +#X msg 79 176 prefix /test; +#X text 174 175 set the OSC path prefix for subsequent messages; +#X msg -61 36 /left one two; +#X msg 56 153 /right 88; +#X text 129 153 'send' prefix is not required; +#X msg 27 210 [; +#X msg -19 211 ]; +#X text -109 212 close bundle; +#X msg 157 254 timetagoffset 0; +#X msg 180 277 timetagoffset -1; +#X text 270 254 send current time as timetag; +#X text 135 231 (timetags are sent in bundle messages only); +#X obj -19 187 t b a b; +#X msg -118 167 /test 5 6 7; +#X text 301 277 immediate time tag (default); +#X floatatom 356 456 5 0 0 0 - - -; +#X text 406 456 bundle depth; +#X obj 449 479 cnv 15 380 30 empty empty empty 20 12 0 14 -24198 -66577 0; -#X text 571 512 and http://opensoundcontrol.org/cnmat; -#X msg 174 269 timetagoffset 1e+006; -#X text 447 478 <- First open routeOSC-help \, then connect; -#X text 55 172 open a bundle (and generate time tag); -#X text 83 552 2008/09/16 Martin Peach; -#X obj 392 540 packOSCstream; -#X text 357 539 see:; -#X text 492 540 for a way to send OSC over TCP or serial connections. +#X text 577 520 and http://opensoundcontrol.org/cnmat; +#X msg 203 300 timetagoffset 1e+006; +#X text 453 486 <- First open routeOSC-help \, then connect; +#X text 58 209 open a bundle (and generate time tag); +#X text 89 560 2008/09/16 Martin Peach; +#X obj 398 548 packOSCstream; +#X text 363 547 see:; +#X text 498 548 for a way to send OSC over TCP or serial connections. ; -#X text 431 145 send a type-forced message.; -#X text 324 268 current time plus 1 second (delay is in microseconds) +#X text 353 299 current time plus 1 second (delay is in microseconds) ; -#X connect 0 0 4 0; -#X connect 1 0 0 0; -#X connect 2 0 0 0; -#X connect 3 0 0 0; -#X connect 3 1 45 0; -#X connect 5 0 3 0; -#X connect 6 0 3 0; -#X connect 7 0 3 0; -#X connect 8 0 3 0; -#X connect 9 0 3 0; -#X connect 14 0 3 0; -#X connect 15 0 14 0; -#X connect 22 0 3 0; -#X connect 23 0 3 0; -#X connect 28 0 3 0; -#X connect 30 0 3 0; -#X connect 32 0 3 0; -#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 42 0 36 0; -#X connect 42 1 3 0; -#X connect 42 2 35 0; -#X connect 43 0 42 0; -#X connect 49 0 3 0; +#X connect 1 0 5 0; +#X connect 2 0 1 0; +#X connect 3 0 1 0; +#X connect 4 0 1 0; +#X connect 4 1 46 0; +#X connect 6 0 4 0; +#X connect 7 0 4 0; +#X connect 8 0 4 0; +#X connect 9 0 4 0; +#X connect 10 0 4 0; +#X connect 15 0 4 0; +#X connect 16 0 15 0; +#X connect 23 0 4 0; +#X connect 24 0 4 0; +#X connect 29 0 4 0; +#X connect 31 0 4 0; +#X connect 33 0 4 0; +#X connect 34 0 4 0; +#X connect 36 0 4 0; +#X connect 37 0 4 0; +#X connect 39 0 4 0; +#X connect 40 0 4 0; +#X connect 43 0 37 0; +#X connect 43 1 4 0; +#X connect 43 2 36 0; +#X connect 44 0 43 0; +#X connect 50 0 4 0; diff --git a/osc/routeOSC-help.pd b/osc/routeOSC-help.pd index a42bee1..934c667 100644 --- a/osc/routeOSC-help.pd +++ b/osc/routeOSC-help.pd @@ -1,42 +1,49 @@ -#N canvas 0 0 641 324 12; -#X obj 25 64 udpreceive 9997; -#X obj 155 116 unpack 0 0 0 0; -#X floatatom 155 147 3 0 0 0 - - -; -#X floatatom 195 147 3 0 0 0 - - -; -#X floatatom 235 147 3 0 0 0 - - -; -#X floatatom 276 147 3 0 0 0 - - -; -#X text 115 146 from; -#X obj 25 116 unpackOSC; -#X obj 35 142 print; -#X obj 25 262 routeOSC /test /west; -#X obj 25 297 print a; -#X obj 112 297 print b; -#X obj 200 297 print c; -#X msg 31 231 set /left; -#X msg 148 231 set /left /right; -#X text 10 7 routeOSC; -#X text 10 25 accepts lists of floats that are interpreted as OSC packets -; -#X text 10 43 set message reassigns outputs; -#X text 213 261 arguments are OSC addresses to route; -#X text 390 140 see also:; -#X obj 469 140 packOSC; -#X text 284 300 2007/07/11 Martin Peach; -#X floatatom 118 185 10 0 0 1 millisecond_delay - -; -#X obj 25 188 pipelist; -#X connect 0 0 7 0; -#X connect 0 1 1 0; -#X connect 1 0 2 0; -#X connect 1 1 3 0; -#X connect 1 2 4 0; -#X connect 1 3 5 0; -#X connect 7 0 8 0; -#X connect 7 0 23 0; -#X connect 7 1 22 0; -#X connect 7 1 23 1; -#X connect 9 0 10 0; -#X connect 9 1 11 0; -#X connect 9 2 12 0; -#X connect 13 0 9 0; -#X connect 14 0 9 0; -#X connect 23 0 9 0; +#N canvas 482 458 615 420 12; +#X obj -39 219 cnv 15 200 40 empty empty empty 20 12 0 14 -4034 -66577 +0; +#X obj -96 64 udpreceive 9997; +#X obj 271 84 unpack 0 0 0 0; +#X floatatom 271 115 3 0 0 0 - - -; +#X floatatom 302 115 3 0 0 0 - - -; +#X floatatom 334 115 3 0 0 0 - - -; +#X floatatom 366 115 3 0 0 0 - - -; +#X text 231 114 from; +#X obj -96 94 unpackOSC; +#X obj -8 229 routeOSC /test /west; +#X obj -8 264 print a; +#X obj 60 264 print b; +#X obj 129 264 print c; +#X msg -24 193 set /left; +#X msg -47 170 set /left /right; +#X text -108 16 routeOSC; +#X text -108 34 accepts lists of floats that are interpreted as OSC +packets; +#X text 84 176 set message reassigns outputs; +#X text -106 303 see also:; +#X obj -27 303 packOSC; +#X floatatom -12 114 10 0 0 1 millisecond_delay - -; +#X obj -96 121 pipelist; +#X text 163 228 arguments are OSC addresses to be routed; +#X text 269 294 2008/09/17 Martin Peach; +#X text -108 347 see:; +#X text 39 348 for a way to send OSC over TCP or serial connections. +; +#X obj -73 348 unpackOSCstream; +#X text 104 196 (but new outlets can't be created); +#X obj -130 148 print unpacked; +#X connect 1 0 8 0; +#X connect 1 1 2 0; +#X connect 2 0 3 0; +#X connect 2 1 4 0; +#X connect 2 2 5 0; +#X connect 2 3 6 0; +#X connect 8 0 21 0; +#X connect 8 0 28 0; +#X connect 8 1 20 0; +#X connect 8 1 21 1; +#X connect 9 0 10 0; +#X connect 9 1 11 0; +#X connect 9 2 12 0; +#X connect 13 0 9 0; +#X connect 14 0 9 0; +#X connect 21 0 9 0; -- cgit v1.2.1