Forums > MaxMSP

ej.function curve messages

February 24, 2013 | 3:13 pm

Hello,
I’m using the very good ej.function external, but I can’t understand if I can set a point with a specific with a message like "set a point with x = 0, y= 0.5, curve = 0.7" -> 0. 0.5 0.7. Or, better, change the curve of an existing point (0 0.0 0.5 0.7). It were very useful for automations!. The workaround is to use pattr (curves are exposed to the pattr system) and then interpolate between two slots, but it is not a very clean solution, and it messes with all the preset saving system.

Is there ar way to do that?
Thank you!
Sl


February 24, 2013 | 4:14 pm

normal [function] can do curves too, if that’s all you’re looking for.


February 24, 2013 | 6:53 pm

Thank you Wetterberg,
but as far as I know standard function objects do not have curve option (max 6).
I checked again and there’s no mention to it in the help-file.

PS: I made grammar mistakes in my post: with "if I can set a point with a specific with a message like" I meant: "if I can set a point with a specific curve via message"

Thank you again


February 25, 2013 | 9:44 pm

In ej.function, there’s an addpoints message to add a point with x, y and c values. The standard function object has curve support as well since Max 6.0.7.

– Pasted Max Patch, click to expand. –

February 25, 2013 | 10:02 pm

ah, didn’t know it was as recent as 6.0.7 it was introduced! eep!

I like to think it was Emmanuels ejies excellence that made it happen – it’s quite well implemented.


February 25, 2013 | 11:08 pm

Thank you Emmanuel for the answer and above all for your great job!
Just out of curiosity (my problem is solved), the message [clear, xyc 0 0 1., xyc 500 1. 0.5] does not work ("function does not understand xyc")
What should it do?

Thank you again!


February 25, 2013 | 11:24 pm

Sorry, the second was the standard function. My mystake.


February 25, 2013 | 11:29 pm

Why not update to the version of Max 6 which has the function object with curves?


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