[PD-cvs] doc/tutorials/networking 07.matching_with_wildcards.pd, NONE, 1.1

Hans-Christoph Steiner eighthave at users.sourceforge.net
Fri May 5 09:52:59 CEST 2006


Update of /cvsroot/pure-data/doc/tutorials/networking
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30727

Added Files:
	07.matching_with_wildcards.pd 
Log Message:
super quick OSC wildcard example

--- NEW FILE: 07.matching_with_wildcards.pd ---
#N canvas 129 112 644 464 10;
#X obj 8 10 cnv 15 400 40 empty empty matching_with_wildcards 20 12
0 24 -228992 -66577 0;
#X text 10 69 OSC gives you a very useful feature which regular [route]
does not: wildcards. Wildcards are characters that match any pattern.
The * is the most common \, it means match any amount of any character:
;
#X obj 38 236 bng 15 250 50 0 empty empty match 18 8 0 12 -262144 -1
-1;
#X obj 130 236 bng 15 250 50 0 empty empty unmatched 18 8 0 12 -262144
-1 -1;
#X msg 30 134 /test/message data;
#X obj 37 216 OSCroute /*;
#X msg 56 185 /1/2/3 data;
#X msg 56 159 /some/other/message 1 2 3;
#X text 142 214 <-- notice the * in the pattern;
#X text 320 347 <-- notice the * in the pattern;
#X msg 212 278 /inst2/note B;
#X msg 110 279 /inst1/note C;
#X msg 229 319 /inst3/note F;
#X obj 202 346 OSCroute /*;
#X msg 219 298 /player3/note D;
#X obj 274 366 bng 15 250 50 0 empty empty unmatched 18 8 0 12 -262144
-1 -1;
#X obj 294 409 bng 15 250 50 0 empty empty unmatched 18 8 0 12 -262144
-1 -1;
#X obj 202 388 OSCroute /note;
#X obj 202 410 symbol;
#X symbolatom 202 432 10 0 0 0 - - -;
#X connect 4 0 5 0;
#X connect 5 0 2 0;
#X connect 5 1 3 0;
#X connect 6 0 5 0;
#X connect 7 0 5 0;
#X connect 10 0 13 0;
#X connect 11 0 13 0;
#X connect 12 0 13 0;
#X connect 13 0 17 0;
#X connect 13 1 15 0;
#X connect 14 0 13 0;
#X connect 17 0 18 0;
#X connect 17 1 16 0;
#X connect 18 0 19 0;





More information about the Pd-cvs mailing list