Forums > MaxMSP

Object like "select" that outputs int/float/txt?

May 31, 2011 | 7:12 pm

Hi,

Is there an object like "select" that has an int/float/txt output instead of a bang?



MIB
May 31, 2011 | 7:15 pm

route?


May 31, 2011 | 7:42 pm

I made a test… route needs an additional symbol otherwise it will output a bang.

If i put the argument "8" in the object it will output a bang when it receives an 8.
But it will work proper when the incoming is copied. If it receives an "8 8" than the router (with the argument 8)
will output an 8.

That could be a solution. Thank you.


May 31, 2011 | 8:01 pm

If you give the [route] object arguments of "int" and "float" it will properly output integers and floats from separate outlets. However, it doesn’t have a "text" or "symbol" equivalent.


May 31, 2011 | 8:38 pm

Hi bkshepard,

what i needed was a bit more specific than int/ float/text only…… thats why i referred to the [select] object.
But it works with text and symbols too.

press the keys "k" "l" "o"

——————————————-

– Pasted Max Patch, click to expand. –

(edited by admin – please use Edit->Copy-Compressed)



MIB
May 31, 2011 | 8:58 pm

not sure what you are trying to do with this… does the below get you any closer?

– Pasted Max Patch, click to expand. –

May 31, 2011 | 9:55 pm

>>(edited by admin – please use Edit->Copy-Compressed)< <

I will keep it in mind

@MIB
Your hint with the router was good. I solved the the problem with it.
Your example patch shows a cool solution too.

I needed to separate incoming notes and the int value…. thats all.

Greetings
zuko


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