aboutsummaryrefslogtreecommitdiff
path: root/split_my_msgs-help.pd
blob: a974f9d07baa6b4eec70582228ead9b6b3e98387 (plain)
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
#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;