From 39866a114de08ed8f42e67126d8699ac0d3e70c3 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 17 Jan 2006 05:05:25 +0000 Subject: finally added these objects which are used in serendipd and atorat for sorting messages to broadcast out to a pool of node connected to a server. svn path=/trunk/externals/hcs/; revision=4430 --- split_my_msgs-help.pd | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 split_my_msgs-help.pd (limited to 'split_my_msgs-help.pd') diff --git a/split_my_msgs-help.pd b/split_my_msgs-help.pd new file mode 100644 index 0000000..a974f9d --- /dev/null +++ b/split_my_msgs-help.pd @@ -0,0 +1,32 @@ +#N canvas 154 160 505 405 10; +#X obj 10 8 cnv 15 480 110 empty empty split_my_msgs 20 12 1 18 -233017 +-66624 0; +#X symbolatom 60 291 25 0 0 0 - - -; +#X msg 218 200 bar; +#X msg 84 138 foo 12 ag 24 ga; +#X obj 61 271 list2symbol; +#X symbolatom 244 291 25 0 0 0 - - -; +#X obj 245 271 list2symbol; +#X msg 92 156 bar 30 eo 20 fa; +#X msg 99 174 234 as asdf asdf; +#X text 36 34 This object is used to split a stream of messages. A +unique ID is set either with a creation argument or by sending it to +the right-inlet. That unique ID is then compared to the first element +in each message \, and if it matches \, the rest of that message is +sent to the left outlet. Otherwise \, the result is sent to the right +outlet.; +#X msg 250 200 234; +#X text 23 327 There are a number of issues due to oddness in [select]: +only symbols and ints will work for selectors on the right inlet \, +floats probably won't work properly. Only a symbol can be used for +a creation argument; +#X obj 115 229 split_my_msgs foo; +#X connect 2 0 12 1; +#X connect 3 0 12 0; +#X connect 4 0 1 0; +#X connect 6 0 5 0; +#X connect 7 0 12 0; +#X connect 8 0 12 0; +#X connect 10 0 12 1; +#X connect 12 0 4 0; +#X connect 12 1 6 0; -- cgit v1.2.1