Rory Walsh wrote:
Is is possible to dynamically alter the creation arguments for a route object?
no. (i general it is not possible to dynamically alter the creation arguments of any object :-))
I'm currently building a patch that receives OSC messages which I want to parse using route. Each relevant message I would like to grab starts with a unique integer ID. I would like to pass this unique ID to my route object each time the ID changes so that I can retrieve the data which follows it. Any ideas?
you can build abstractions that behave almost like settable routes. you can also desing your application differently.
mfgasdr IOhannes
#N canvas 621 256 538 535 10; #X obj 48 57 inlet; #X obj 48 87 list split 1; #X obj 48 355 outlet; #X obj 48 229 t a; #X obj 161 57 inlet; #X obj 48 274 list trim; #X obj 48 254 list append; #X obj 230 350 outlet reject; #N canvas 0 0 450 300 demux 0; #X obj 108 53 inlet; #X obj 108 186 outlet; #X obj 247 207 outlet; #X obj 119 144 spigot 1; #X obj 245 140 spigot 0; #X obj 271 61 inlet; #X obj 271 83 t f f; #X obj 174 119 == 0; #X obj 295 105 != 0; #X obj 119 80 t a a; #X connect 0 0 9 0; #X connect 3 0 1 0; #X connect 4 0 2 0; #X connect 5 0 6 0; #X connect 6 0 7 0; #X connect 6 1 8 0; #X connect 7 0 3 1; #X connect 8 0 4 1; #X connect 9 0 3 0; #X connect 9 1 4 0; #X restore 48 303 pd demux; #X obj 49 206 t a b; #X obj 104 207 t a b; #X obj 148 252 t f; #X msg 86 231 0; #X msg 138 227 1; #X obj 101 161 f $1; #X obj 48 184 select; #X obj 48 141 t a b; #X connect 0 0 1 0; #X connect 1 0 16 0; #X connect 1 1 6 1; #X connect 3 0 6 0; #X connect 4 0 14 1; #X connect 5 0 8 0; #X connect 6 0 5 0; #X connect 8 0 2 0; #X connect 8 1 7 0; #X connect 9 0 3 0; #X connect 9 1 12 0; #X connect 10 0 3 0; #X connect 10 1 13 0; #X connect 11 0 8 1; #X connect 12 0 11 0; #X connect 13 0 11 0; #X connect 14 0 15 1; #X connect 15 0 9 0; #X connect 15 1 10 0; #X connect 16 0 15 0; #X connect 16 1 14 0;
#N canvas 621 256 538 535 10; #X obj 48 57 inlet; #X obj 48 87 list split 1; #X obj 48 184 select s; #X obj 48 115 symbol; #X obj 48 355 outlet; #X obj 48 141 t s b; #X obj 48 229 t a; #X obj 161 57 inlet; #X obj 101 161 symbol $1; #X obj 48 274 list trim; #X obj 161 101 symbol; #X obj 48 254 list append; #X obj 230 350 outlet reject; #N canvas 0 0 450 300 demux 0; #X obj 108 53 inlet; #X obj 108 186 outlet; #X obj 247 207 outlet; #X obj 119 144 spigot 1; #X obj 245 140 spigot 0; #X obj 271 61 inlet; #X obj 271 83 t f f; #X obj 174 119 == 0; #X obj 295 105 != 0; #X obj 119 80 t a a; #X connect 0 0 9 0; #X connect 3 0 1 0; #X connect 4 0 2 0; #X connect 5 0 6 0; #X connect 6 0 7 0; #X connect 6 1 8 0; #X connect 7 0 3 1; #X connect 8 0 4 1; #X connect 9 0 3 0; #X connect 9 1 4 0; #X restore 48 303 pd demux; #X obj 49 206 t a b; #X obj 104 207 t a b; #X obj 148 252 t f; #X msg 86 231 0; #X msg 138 227 1; #X connect 0 0 1 0; #X connect 1 0 3 0; #X connect 1 1 11 1; #X connect 2 0 14 0; #X connect 2 1 15 0; #X connect 3 0 5 0; #X connect 5 0 2 0; #X connect 5 1 8 0; #X connect 6 0 11 0; #X connect 7 0 10 0; #X connect 8 0 2 1; #X connect 9 0 13 0; #X connect 10 0 8 1; #X connect 11 0 9 0; #X connect 13 0 4 0; #X connect 13 1 12 0; #X connect 14 0 6 0; #X connect 14 1 17 0; #X connect 15 0 6 0; #X connect 15 1 18 0; #X connect 16 0 13 1; #X connect 17 0 16 0; #X connect 18 0 16 0;