Forums > MaxMSP

Updating OSC Message With a Ramp

February 13, 2013 | 10:28 am

Hi, I am trying to send the following OSC message:

@rect {5,5,x,5}

Those are the x,y and width, height numbers of an object. I am trying to update the "x" number, with a ramp object.
The issue is that the message has to be sent in exactly that form (no spaces). If I use a message box and $1 for the x, Max puts spaces where each comma is.

If I use a prepend object or something, I can’t change the x number (i.e. the x number doesn’t update). Any ideas on how I could use a ramp to change that x and send the message as it is with no spaces? Thanks


February 13, 2013 | 1:01 pm

[combine] can help you.
with the @triggers attribute you can set the "hot" inlet(s)

– Pasted Max Patch, click to expand. –

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