From 47c90fade997110a9a07b6d08667b66c5a9a2232 Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes Date: Thu, 3 Mar 2011 19:12:19 +0000 Subject: added META subpatch svn path=/trunk/externals/mrpeach/; revision=15001 --- osc/packOSC-help.pd | 213 +++++++++++++++++++++++--------------------- osc/packOSCstream-help.pd | 100 ++++++++++++--------- osc/pipelist-help.pd | 13 ++- osc/unpackOSCstream-help.pd | 64 +++++++------ 4 files changed, 219 insertions(+), 171 deletions(-) (limited to 'osc') diff --git a/osc/packOSC-help.pd b/osc/packOSC-help.pd index 3fb2749..c478373 100644 --- a/osc/packOSC-help.pd +++ b/osc/packOSC-help.pd @@ -1,100 +1,113 @@ -#N canvas 442 180 1141 651 12; -#X obj 301 434 cnv 15 100 40 empty empty empty 20 12 0 14 -4034 -66577 -0; -#X obj 330 548 udpsend; -#X msg 323 521 disconnect; -#X msg 301 499 connect 127.0.0.1 9997; -#X obj 330 447 packOSC; -#X obj 330 583 tgl 15 0 empty empty 1=connected 20 8 0 8 -4034 -257985 --1 1 1; -#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 103 -33 send a type-guessed message; -#X obj 515 541 routeOSC; -#X text 436 540 see also:; -#X msg 318 415 typetags \$1; -#X obj 318 397 tgl 15 0 empty empty empty 17 7 0 10 -257985 -258113 --1 0 1; -#X text 401 414 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 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 277 374 bufsize 100; -#X text 364 374 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 55 209 [; -#X msg 9 210 ]; -#X text -81 211 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 229 (timetags are sent in bundle messages only); -#X obj 9 186 t b a b; -#X msg -90 166 /test 5 6 7; -#X text 301 277 immediate time tag (default); -#X floatatom 376 476 5 0 0 0 - - -; -#X text 426 476 bundle depth; -#X obj 469 499 cnv 15 380 30 empty empty empty 20 12 0 14 -24198 -66577 -0; -#X text 597 540 and http://opensoundcontrol.org/cnmat; -#X msg 203 300 timetagoffset 1e+006; -#X text 473 506 <- First open routeOSC-help \, then connect; -#X text 85 210 open a bundle (and generate time tag); -#X obj 418 568 packOSCstream; -#X text 383 567 see:; -#X text 518 568 for a way to send OSC over TCP or serial connections. -; -#X text 353 299 current time plus 1 second (delay is in microseconds) -; -#X text -75 570 2009_06_08 Martin Peach; -#X text 529 248 b: blob (a list of bytes \, or floats on [0..255]) -; -#X text 659 341 send a blob; -#X msg 253 334 sendtyped /left b 0 1 2 3 124 125 126 127 128 129 255 -254 253 252 -14 -15 -16 17 18 19 20 21 22 23 24 25 26 27 28; -#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; -#X connect 60 0 4 0; +#N canvas 1 53 1141 651 12; +#X obj 301 434 cnv 15 100 40 empty empty empty 20 12 0 14 -4034 -66577 +0; +#X obj 330 548 udpsend; +#X msg 323 521 disconnect; +#X msg 301 499 connect 127.0.0.1 9997; +#X obj 330 447 packOSC; +#X obj 330 583 tgl 15 0 empty empty 1=connected 20 8 0 8 -4034 -257985 +-1 0 1; +#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 103 -33 send a type-guessed message; +#X obj 515 541 routeOSC; +#X text 436 540 see also:; +#X msg 318 415 typetags \$1; +#X obj 318 397 tgl 15 0 empty empty empty 17 7 0 10 -257985 -258113 +-1 0 1; +#X text 401 414 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 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 277 374 bufsize 100; +#X text 364 374 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 55 209 [; +#X msg 9 210 ]; +#X text -81 211 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 229 (timetags are sent in bundle messages only); +#X obj 9 186 t b a b; +#X msg -90 166 /test 5 6 7; +#X text 301 277 immediate time tag (default); +#X floatatom 376 476 5 0 0 0 - - -; +#X text 426 476 bundle depth; +#X obj 469 499 cnv 15 380 30 empty empty empty 20 12 0 14 -24198 -66577 +0; +#X text 597 540 and http://opensoundcontrol.org/cnmat; +#X msg 203 300 timetagoffset 1e+06; +#X text 473 506 <- First open routeOSC-help \, then connect; +#X text 85 210 open a bundle (and generate time tag); +#X obj 418 568 packOSCstream; +#X text 383 567 see:; +#X text 518 568 for a way to send OSC over TCP or serial connections. +; +#X text 353 299 current time plus 1 second (delay is in microseconds) +; +#X text -75 570 2009_06_08 Martin Peach; +#X text 529 248 b: blob (a list of bytes \, or floats on [0..255]) +; +#X text 659 341 send a blob; +#X msg 253 334 sendtyped /left b 0 1 2 3 124 125 126 127 128 129 255 +254 253 252 -14 -15 -16 17 18 19 20 21 22 23 24 25 26 27 28; +#N canvas 497 62 494 344 META 0; +#X text 12 185 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2 or later; +#X text 12 165 AUTHOR Martin Peach; +#X text 12 5 KEYWORDS control network; +#X text 12 45 DESCRIPTION packOSC is like sendOSC except it outputs +a list of floats instead of directly connecting to the network; +#X text 12 85 INLET_0 anything send sendtyped prefix timetagoffset +bufsize typetags; +#X text 12 125 OUTLET_0 anything; +#X text 12 145 OUTLET_1 float; +#X restore 832 595 pd META; +#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; +#X connect 60 0 4 0; diff --git a/osc/packOSCstream-help.pd b/osc/packOSCstream-help.pd index 5eb35a3..4046b62 100644 --- a/osc/packOSCstream-help.pd +++ b/osc/packOSCstream-help.pd @@ -1,44 +1,56 @@ -#N canvas 387 330 609 543 10; -#X obj 69 119 packOSCstream; -#X obj 69 451 tcpsend; -#X text -24 496 check also:; -#X obj -22 513 unpackOSCstream; -#X obj 93 513 packOSC; -#X msg 38 403 connect localhost 9995; -#X obj 208 513 tcpreceive; -#X obj 151 513 tcpsend; -#X obj 286 513 tcpserver; -#X obj 357 513 tcpclient; -#X msg 58 423 disconnect; -#X obj 69 473 tgl 15 0 empty empty empty 17 7 0 10 -4034 -257985 -1 -0 1; -#X obj 181 403 cnv 15 380 30 empty empty empty 20 12 0 14 -24198 -66577 -0; -#X text 196 408 <- First open unpackOSCstream-help \, then connect -; -#X text 440 501 Author: Roman Haefeli; -#X text 440 517 Version: 2008-09-09; -#X text 74 254 [packOSCstream] uses the same methods as [packOSC]. -Please consult packOSC-help.pd for the complete documentation.; -#X text 75 189 [packOSstream] puts a frame length header (int32) in -front of every OSC packet or bundle \, so that the receiving side knows -\, how to split the incoming stream into OSC packets again.; -#X msg -24 9 /first/message 1 \, /second/message 2; -#X text 79 330 reference:; -#X text 80 347 http://archive.cnmat.berkeley.edu/OpenSoundControl/OSC-spec.html -: Section "OSC Packets"; -#X msg -4 29 send /test/one/two/three zz 88 T; -#X msg 16 49 sendtyped /test/one/two/three sis zz 88 T; -#X msg 36 69 prefix /test; -#X msg 56 89 [ \, /previous/page 666 \, /next/page 999 \, ]; -#X text 72 142 [packOSCstream] is meant to be a replacement for [packOSC] -\, when sending over a stream based protocol \, such as TCP.; -#X connect 0 0 1 0; -#X connect 1 0 11 0; -#X connect 5 0 1 0; -#X connect 10 0 1 0; -#X connect 18 0 0 0; -#X connect 21 0 0 0; -#X connect 22 0 0 0; -#X connect 23 0 0 0; -#X connect 24 0 0 0; +#N canvas 1 53 609 569 10; +#X obj 69 119 packOSCstream; +#X obj 69 451 tcpsend; +#X text -24 496 check also:; +#X obj -22 513 unpackOSCstream; +#X obj 93 513 packOSC; +#X msg 38 403 connect localhost 9995; +#X obj 208 513 tcpreceive; +#X obj 151 513 tcpsend; +#X obj 286 513 tcpserver; +#X obj 357 513 tcpclient; +#X msg 58 423 disconnect; +#X obj 69 473 tgl 15 0 empty empty empty 17 7 0 10 -4034 -257985 -1 +0 1; +#X obj 181 403 cnv 15 380 30 empty empty empty 20 12 0 14 -24198 -66577 +0; +#X text 196 408 <- First open unpackOSCstream-help \, then connect +; +#X text 440 501 Author: Roman Haefeli; +#X text 440 517 Version: 2008-09-09; +#X text 74 254 [packOSCstream] uses the same methods as [packOSC]. +Please consult packOSC-help.pd for the complete documentation.; +#X text 75 189 [packOSstream] puts a frame length header (int32) in +front of every OSC packet or bundle \, so that the receiving side knows +\, how to split the incoming stream into OSC packets again.; +#X msg -24 9 /first/message 1 \, /second/message 2; +#X text 79 330 reference:; +#X text 80 347 http://archive.cnmat.berkeley.edu/OpenSoundControl/OSC-spec.html +: Section "OSC Packets"; +#X msg -4 29 send /test/one/two/three zz 88 T; +#X msg 16 49 sendtyped /test/one/two/three sis zz 88 T; +#X msg 36 69 prefix /test; +#X msg 56 89 [ \, /previous/page 666 \, /next/page 999 \, ]; +#X text 72 142 [packOSCstream] is meant to be a replacement for [packOSC] +\, when sending over a stream based protocol \, such as TCP.; +#N canvas 499 120 494 344 META 0; +#X text 12 135 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2 or later; +#X text 12 115 AUTHOR Roman Haefeli; +#X text 12 75 INLET_0 anything send sendtyped prefix connect disconnect +; +#X text 12 45 DESCRIPTION meant to be a replacement for [packOSC] \, +when sending over a stream based protocol \, such as TCP; +#X text 12 95 OUTLET_0 float; +#X text 12 5 KEYWORDS control network abstraction; +#X restore 532 544 pd META; +#X connect 0 0 1 0; +#X connect 1 0 11 0; +#X connect 5 0 1 0; +#X connect 10 0 1 0; +#X connect 18 0 0 0; +#X connect 21 0 0 0; +#X connect 22 0 0 0; +#X connect 23 0 0 0; +#X connect 24 0 0 0; diff --git a/osc/pipelist-help.pd b/osc/pipelist-help.pd index 4fc2038..25fca1a 100644 --- a/osc/pipelist-help.pd +++ b/osc/pipelist-help.pd @@ -1,4 +1,4 @@ -#N canvas 170 252 558 300 10; +#N canvas 1 53 558 300 10; #X obj 112 129 pipelist 1000; #X msg 198 83 5000; #X floatatom 198 107 5 0 0 0 - - -; @@ -23,6 +23,17 @@ #X obj 339 183 delay; #X obj 379 183 timer; #X obj 135 21 symbol; +#N canvas 500 149 494 344 META 0; +#X text 12 145 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2 or later; +#X text 12 125 AUTHOR Roman Haefeli; +#X text 12 5 KEYWORDS control list_op; +#X text 12 45 DESCRIPTION delay lists; +#X text 12 65 INLET_0 anything; +#X text 12 85 INLET_1 float; +#X text 12 105 OUTLET_0 list; +#X restore 492 265 pd META; #X connect 0 0 11 0; #X connect 1 0 2 0; #X connect 2 0 0 1; diff --git a/osc/unpackOSCstream-help.pd b/osc/unpackOSCstream-help.pd index 54956fc..0a37eba 100644 --- a/osc/unpackOSCstream-help.pd +++ b/osc/unpackOSCstream-help.pd @@ -1,26 +1,38 @@ -#N canvas 475 374 638 435 10; -#X text 8 369 check also:; -#X obj 240 386 tcpreceive; -#X obj 183 386 tcpsend; -#X obj 318 386 tcpserver; -#X obj 389 386 tcpclient; -#X text 472 374 Author: Roman Haefeli; -#X text 472 390 Version: 2008-09-09; -#X text 158 65 [unpackOSCstream] is meant to be a replacement for [unpackOSC] -\, when receiving from a stream based protocol \, such as TCP.; -#X obj 18 197 unpackOSCstream; -#X obj 18 17 tcpreceive 9995; -#X obj 18 222 print; -#X floatatom 105 221 5 0 0 0 - - -; -#X text 159 283 reference:; -#X obj 10 386 packOSCstream; -#X obj 110 386 unpackOSC; -#X text 160 300 http://archive.cnmat.berkeley.edu/OpenSoundControl/OSC-spec.html -: Section "OSC Packets"; -#X text 141 221 milliseconds delay; -#X text 158 119 [unpackOSCstream] will only be able to decode OSC packets -or bundles created by [packOSCstream]. OSC packets that were generated -by [packOSC] will cause errors or wrong output.; -#X connect 8 0 10 0; -#X connect 8 1 11 0; -#X connect 9 0 8 0; +#N canvas 1 53 638 435 10; +#X text 8 369 check also:; +#X obj 240 386 tcpreceive; +#X obj 183 386 tcpsend; +#X obj 318 386 tcpserver; +#X obj 389 386 tcpclient; +#X text 472 374 Author: Roman Haefeli; +#X text 472 390 Version: 2008-09-09; +#X text 158 65 [unpackOSCstream] is meant to be a replacement for [unpackOSC] +\, when receiving from a stream based protocol \, such as TCP.; +#X obj 18 197 unpackOSCstream; +#X obj 18 17 tcpreceive 9995; +#X obj 18 222 print; +#X floatatom 105 221 5 0 0 0 - - -; +#X text 159 283 reference:; +#X obj 10 386 packOSCstream; +#X obj 110 386 unpackOSC; +#X text 160 300 http://archive.cnmat.berkeley.edu/OpenSoundControl/OSC-spec.html +: Section "OSC Packets"; +#X text 141 221 milliseconds delay; +#X text 158 119 [unpackOSCstream] will only be able to decode OSC packets +or bundles created by [packOSCstream]. OSC packets that were generated +by [packOSC] will cause errors or wrong output.; +#N canvas 507 340 494 344 META 0; +#X text 12 155 HELP_PATCH_AUTHORS "pd meta" information added by Jonathan +Wilkes for Pd version 0.42.; +#X text 12 25 LICENSE GPL v2 or later; +#X text 12 5 KEYWORDS control network abstraction; +#X text 12 46 DESCRIPTION meant to be a replacement for [unpackOSC] +\, when receiving from a stream based protocol \, such as TCP.; +#X text 12 75 INLET_0 anything; +#X text 12 95 OUTLET_0 anything; +#X text 12 115 OUTLET_1 float; +#X text 12 135 AUTHOR Roman Haefeli; +#X restore 591 413 pd META; +#X connect 8 0 10 0; +#X connect 8 1 11 0; +#X connect 9 0 8 0; -- cgit v1.2.1