Problems handling OSC messages - Numerical values treated as strings.

Dr. Spankenstein's icon

I have a updreceive object receiving all my network messages including OSC messages.

If I send a message from another program the Max window will print received: /oscSend 1 NoteOn using a print received object.

However the numerical part can't be routed. If I use prepend set to set the message in a message object then the result is /oscSend "1" NoteOn which highlights the nature of the problem.

Why is the 1 treated as a string and how can I get around this?

mzed's icon

I find that symbols get recast pretty quickly in Max. But, there's also the fromsymbol object to do it explicitly.

Dr. Spankenstein's icon

That works great, thank you.