-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathrouteOSC-help.pd
100 lines (100 loc) · 3.63 KB
/
routeOSC-help.pd
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
#N canvas 81 134 1070 758 12;
#X obj 111 524 cnv 15 820 130 empty empty empty 20 12 0 14 #fcc458 #404040 0;
#X obj 69 10 udpreceive 9997;
#X floatatom 260 82 3 0 0 0 - - - 0;
#X floatatom 291 82 3 0 0 0 - - - 0;
#X floatatom 322 82 3 0 0 0 - - - 0;
#X floatatom 353 82 3 0 0 0 - - - 0;
#X text 220 81 from;
#X obj 69 134 unpackOSC;
#X text 469 78 see also:;
#X obj 545 79 packOSC;
#X floatatom 628 154 10 0 0 1 millisecond_delay - - 0;
#X obj 69 161 pipelist;
#X text 629 529 arguments are OSC addresses to be routed;
#X text 188 677 see:;
#X text 348 678 for a way to send OSC over TCP or serial connections.;
#X obj 223 678 unpackOSCstream;
#X obj 35 188 print unpacked;
#X obj 260 58 unpack 0 0 0 0 0;
#X floatatom 385 82 8 0 0 0 - - - 0;
#X obj 186 35 route received from;
#X floatatom 186 103 5 0 0 0 - - - 0;
#X text 229 103 bytes;
#X text 198 9 Open [packOSC-help] to send packets to this patch.;
#X text 139 156 If the OSC packet has a timetag \, [pipelist] will delay it until the time occurs;
#X obj 417 623 print match_1;
#X obj 493 601 print match_2;
#X obj 646 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 933 655 pd META;
#X text 757 627 2012/03/13 Martin Peach;
#X text 144 119 [unpackOSC] parses lists of floats (only integers on [0..255]) as OSC packets.;
#X obj 111 219 cnv 15 600 160 empty empty empty 20 12 0 14 #c4fcc4 #404040 0;
#X obj 272 382 cnv 15 600 140 empty empty empty 20 12 0 14 #fcc4c4 #404040 0;
#X msg 221 313 set /left;
#X msg 198 290 set /left /right;
#X text 326 311 (but new outlets can't be created);
#X msg 172 264 paths;
#X msg 149 241 verbosity \$1;
#X obj 149 223 tgl 15 0 empty empty empty 17 7 0 10 #fcfcfc #000000 #000000 0 1;
#X text 167 219 set to 1 for debugging;
#X text 395 335 routeOSC will match deep paths;
#X text 332 289 [set( reassigns outputs from left to right;
#X text 226 264 [paths( will print the current OSC addresses to Pd console;
#X msg 290 382 /test any2 4 5;
#X msg 402 494 1 2 3;
#X msg 244 336 set /one/two/three;
#X msg 267 359 set /*;
#X text 320 358 this will match any OSC message;
#X msg 357 449 /* zap!;
#X msg 380 472 zorro trope;
#X text 479 472 not a valid OSC message;
#X text 450 493 not a valid OSC message;
#X text 408 382 input is a message whose selector is an OSC path;
#X text 511 404 or a list whose first element is an OSC path;
#X obj 569 579 print match_3;
#X obj 417 529 routeOSC /test /west /one/two;
#X msg 334 426 /one/two/three yikes!;
#X msg 312 404 list /west/rate any1 2 3;
#X text 111 556 [routeOSC] routes Open Sound Control* messages \, or lists of anything beginning with a /path;
#X text 113 599 *See http://opensoundcontrol.org/spec-1_0.html;
#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;