/usr/lib/pd/extra/osc/routeOSC-help.pd is in pd-osc 0.2-1.
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 | #N canvas 154 51 996 708 12;
#X obj -34 554 cnv 15 820 130 empty empty empty 20 12 0 14 -261207
-66577 0;
#X obj -76 40 udpreceive 9997;
#X floatatom 91 111 3 0 0 0 - - -, f 3;
#X floatatom 118 111 3 0 0 0 - - -, f 3;
#X floatatom 145 111 3 0 0 0 - - -, f 3;
#X floatatom 172 111 3 0 0 0 - - -, f 3;
#X text 51 110 from;
#X obj -76 164 unpackOSC;
#X text 324 108 see also:;
#X obj 396 109 packOSC;
#X floatatom 483 184 10 0 0 1 millisecond_delay - -, f 10;
#X obj -76 191 pipelist;
#X text 484 559 arguments are OSC addresses to be routed;
#X obj -110 218 print unpacked;
#X obj 91 87 unpack 0 0 0 0 0;
#X floatatom 200 111 8 0 0 0 - - -, f 8;
#X obj 26 64 route received from;
#X floatatom 26 132 5 0 0 0 - - -, f 5;
#X text 66 132 bytes;
#X text 43 40 Open [packOSC-help] to send packets to this patch.;
#X text -6 186 If the OSC packet has a timetag \, [pipelist] will delay
it until the time occurs;
#X obj 272 653 print match_1;
#X obj 338 631 print match_2;
#X obj 472 587 print no_match;
#N canvas 500 255 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 788 685 pd META;
#X obj -7 8 import mrpeach;
#X text 612 657 2012/03/13 Martin Peach;
#X text -5 149 [unpackOSC] parses lists of floats (only integers on
[0..255]) as OSC packets.;
#X obj -34 249 cnv 15 600 160 empty empty empty 20 12 0 14 -204786
-66577 0;
#X obj 127 412 cnv 15 600 140 empty empty empty 20 12 0 14 -261234
-66577 0;
#X msg 76 343 set /left;
#X msg 53 320 set /left /right;
#X text 181 341 (but new outlets can't be created);
#X msg 27 294 paths;
#X msg 4 271 verbosity \$1;
#X obj 4 253 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1
;
#X text 22 249 set to 1 for debugging;
#X text 233 365 routeOSC will match deep paths;
#X text 177 319 [set( reassigns outputs from left to right;
#X text 81 294 [paths( will print the current OSC addresses to Pd console
;
#X msg 145 412 /test any2 4 5;
#X msg 257 524 1 2 3;
#X msg 99 366 set /one/two/three;
#X msg 122 389 set /*;
#X text 175 388 this will match any OSC message;
#X msg 212 479 /* zap!;
#X msg 235 502 zorro trope;
#X text 323 502 not a valid OSC message;
#X text 301 523 not a valid OSC message;
#X text 260 412 input is a message whose selector is an OSC path;
#X text 352 434 or a list whose first element is an OSC path;
#X obj 405 609 print match_3;
#X obj 272 559 routeOSC /test /west /one/two;
#X msg 189 456 /one/two/three yikes!;
#X msg 167 434 list /west/rate any1 2 3;
#X text -34 586 [routeOSC] routes Open Sound Control* messages \, or
lists of anything beginning with a /path;
#X text -32 629 *See http://opensoundcontrol.org/spec-1_0;
#X connect 1 0 7 0;
#X connect 1 1 16 0;
#X connect 7 0 11 0;
#X connect 7 0 13 0;
#X connect 7 1 10 0;
#X connect 7 1 11 1;
#X connect 11 0 52 0;
#X connect 14 0 2 0;
#X connect 14 1 3 0;
#X connect 14 2 4 0;
#X connect 14 3 5 0;
#X connect 14 4 15 0;
#X connect 16 0 17 0;
#X connect 16 1 14 0;
#X connect 30 0 52 0;
#X connect 31 0 52 0;
#X connect 33 0 52 0;
#X connect 34 0 52 0;
#X connect 35 0 34 0;
#X connect 40 0 52 0;
#X connect 41 0 52 0;
#X connect 42 0 52 0;
#X connect 43 0 52 0;
#X connect 45 0 52 0;
#X connect 46 0 52 0;
#X connect 52 0 21 0;
#X connect 52 1 22 0;
#X connect 52 2 51 0;
#X connect 52 3 23 0;
#X connect 53 0 52 0;
#X connect 54 0 52 0;
|