/usr/lib/pd/extra/osc/routeOSC-help.pd is in pd-osc 1:0.1~svn17645-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | #N canvas 81 134 1070 758 12;
#X obj 11 524 cnv 15 820 130 empty empty empty 20 12 0 14 -261207 -66577
0;
#X obj -31 10 udpreceive 9997;
#X floatatom 160 82 3 0 0 0 - - -, f 3;
#X floatatom 191 82 3 0 0 0 - - -, f 3;
#X floatatom 222 82 3 0 0 0 - - -, f 3;
#X floatatom 253 82 3 0 0 0 - - -, f 3;
#X text 120 81 from;
#X obj -31 134 unpackOSC;
#X text 369 78 see also:;
#X obj 445 79 packOSC;
#X floatatom 528 154 10 0 0 1 millisecond_delay - -, f 10;
#X obj -31 161 pipelist;
#X text 529 529 arguments are OSC addresses to be routed;
#X text 88 677 see:;
#X text 248 678 for a way to send OSC over TCP or serial connections.
;
#X obj 123 678 unpackOSCstream;
#X obj -65 188 print unpacked;
#X obj 160 58 unpack 0 0 0 0 0;
#X floatatom 285 82 8 0 0 0 - - -, f 8;
#X obj 86 35 route received from;
#X floatatom 86 103 5 0 0 0 - - -, f 5;
#X text 129 103 bytes;
#X text 98 9 Open [packOSC-help] to send packets to this patch.;
#X text 39 156 If the OSC packet has a timetag \, [pipelist] will delay
it until the time occurs;
#X obj 317 623 print match_1;
#X obj 393 601 print match_2;
#X obj 546 557 print no_match;
#N canvas 499 254 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 list_op;
#X text 12 75 INLET_0 list verbosity paths set;
#X text 12 95 OUTLET_N list;
#X text 12 115 OUTLET_R list;
#X text 12 135 AUTHOR Martin Peach;
#X text 12 45 DESCRIPTION routes lists as OSC packets.;
#X restore 833 655 pd META;
#X text 657 627 2012/03/13 Martin Peach;
#X text 44 119 [unpackOSC] parses lists of floats (only integers on
[0..255]) as OSC packets.;
#X obj 11 219 cnv 15 600 160 empty empty empty 20 12 0 14 -204786 -66577
0;
#X obj 172 382 cnv 15 600 140 empty empty empty 20 12 0 14 -261234
-66577 0;
#X msg 121 313 set /left;
#X msg 98 290 set /left /right;
#X text 226 311 (but new outlets can't be created);
#X msg 72 264 paths;
#X msg 49 241 verbosity \$1;
#X obj 49 223 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X text 67 219 set to 1 for debugging;
#X text 295 335 routeOSC will match deep paths;
#X text 232 289 [set( reassigns outputs from left to right;
#X text 126 264 [paths( will print the current OSC addresses to Pd
console;
#X msg 190 382 /test any2 4 5;
#X msg 302 494 1 2 3;
#X msg 144 336 set /one/two/three;
#X msg 167 359 set /*;
#X text 220 358 this will match any OSC message;
#X msg 257 449 /* zap!;
#X msg 280 472 zorro trope;
#X text 379 472 not a valid OSC message;
#X text 350 493 not a valid OSC message;
#X text 308 382 input is a message whose selector is an OSC path;
#X text 411 404 or a list whose first element is an OSC path;
#X obj 469 579 print match_3;
#X obj 317 529 routeOSC /test /west /one/two;
#X msg 234 426 /one/two/three yikes!;
#X msg 212 404 list /west/rate any1 2 3;
#X text 11 556 [routeOSC] routes Open Sound Control* messages \, or
lists of anything beginning with a /path;
#X text 13 599 *See http://opensoundcontrol.org/spec-1_0;
#X connect 1 0 7 0;
#X connect 1 1 19 0;
#X connect 7 0 11 0;
#X connect 7 0 16 0;
#X connect 7 1 10 0;
#X connect 7 1 11 1;
#X connect 11 0 54 0;
#X connect 17 0 2 0;
#X connect 17 1 3 0;
#X connect 17 2 4 0;
#X connect 17 3 5 0;
#X connect 17 4 18 0;
#X connect 19 0 20 0;
#X connect 19 1 17 0;
#X connect 32 0 54 0;
#X connect 33 0 54 0;
#X connect 35 0 54 0;
#X connect 36 0 54 0;
#X connect 37 0 36 0;
#X connect 42 0 54 0;
#X connect 43 0 54 0;
#X connect 44 0 54 0;
#X connect 45 0 54 0;
#X connect 47 0 54 0;
#X connect 48 0 54 0;
#X connect 54 0 24 0;
#X connect 54 1 25 0;
#X connect 54 2 53 0;
#X connect 54 3 26 0;
#X connect 55 0 54 0;
#X connect 56 0 54 0;
|