Forums > MaxMSP

Trigger/switch

March 10, 2012 | 3:23 pm

I can’t make it and its driving me nuts.
I wanted to use trigger as route, but based on *type* rather than message.
I just need something like trigger that outputs only the type of messages it receives.
That is, if it receives a FLOAT, i want to output only from the outlet FLOAT. same goes for everything else.

I’m sure its something stupid but i can’t find it and i don’t know how to search for it


March 10, 2012 | 6:07 pm

I’m don’t think trigger will work like that – you could put a prepend before route and then just use route. I’m not sure that’s what you mean…

– Pasted Max Patch, click to expand. –

March 10, 2012 | 9:59 pm

grizzle: thanks for effort, but that method demands knowledge on input, i need to have a common input, 3 separate processing paths (one for int, float and list) and common output.

vanille:
I’ve read the reference and I missed it, or misinterpreted at least. I’m a dummy.
Thanks for pointing it out, much appreciated, i’ve wasted one hour on it. :)
That’s exactly what I need.


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