Forums > MaxMSP

Router Select – newbie question

May 20, 2010 | 6:02 pm

Is there some way to change the argument on Router or Select? besides typing it directly on the object.

Like some sort of "set" message?

Thanks!


May 20, 2010 | 7:41 pm

yes – but it only works when route/select do not have any arguments or only one!

while "set 17" will work for [route 30] it wont work for [route 30 40 50]

-110
 


May 20, 2010 | 8:51 pm

if that works with strings is perfect for me :)

Thanks a lot Roman!


May 20, 2010 | 8:58 pm

Well, I tried and it doesn’t work for me, would you please provide a simple example of that?

Thanks!


May 21, 2010 | 4:38 am

 
ermm .. no max here right now … try making a [select] or [route] with no
arguments – it should have a second inlet now! (when i remeber right?)

my suggestion with "set 17" might be wrong, i think it is just the second inlet.


May 21, 2010 | 8:18 pm

Hey Roman,

Select have a second inlet, but it is just for numbers I think.

Router that is the one I need most haven’t a second inlet.

Thanks anyway, I think I can take some advantage of the select object second inlet, and work with numeric ids or something like that, I don’t know for sure, I will try next week.

Best, and thanks again!


May 22, 2010 | 9:18 am

oh it might be that it only takes int and no symbols, sorry of that is the case.

you should try making your own abstraction using the [zl] object, then you can
route and select list and symbols forever in the manner you need it.


Viewing 7 posts - 1 through 7 (of 7 total)