ej.function curve messages
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?
normal [function] can do curves too, if that’s all you’re looking for.
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
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. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 767.3ocuV0zaaCCC8bxuBCcNMPxMNIX2FJvNtK63PQgrEShxjkLjjyRVQ+uO 8gcrZWxhaA1PgkCooHe5Y5G6ySmfJUGACJ6SYeOaxjmmNYRvk2wjN6InZ5wJ A0DBCUCFCcKflEelENZC9qD.UOK63opLr6Ox73uKv9emgmWzuiMJo0v+E32E IeNtysp0J.q8TCDQCBk8X2iZn1pcb41mzPkM9TR9B2NyxyW4uQVsLba8b74M Iaq4RWFCnNuyImEvppb+cKRwijVGJK5yZNUfFRQDUgbP7NeY5T+xrQRVaZkU VtRht1gbiPQsnYtSa2UIUtc3jWqXQd51LQQfIxw3.S3ucYpf7mTAAcN8ZGQX A8SfjVJBkFeQxXwGfLtQmCkwZTbWuQW+y+3VmEwNm0Eu6NGxp+GsN6Ms79rc fpOWFX+bQK+tkjUKH2iuZiUZOU3ZDTxZ7GuE5LR1vEPJX6+DX9dy6uMqnyKT WBLikZ6NdtC3CZvY90uzkdWxcuqF9hCiRLbM3Y9iTbEiwIl9trGm4y32.6CJ gRGCFUp2V5SJdwvxkibSLx048WWNLWT4He8WMrb0Hu2W5hhfM9pQ4DwxJH8W WMrBeYyWOrb0HWda.RFM2PFG2PFM2PFE2PFG2PFM2P96byFCk5eTmoFXZ5Oc Z9c163LFHCRanA7Z40.iaZDzSIdc89FPCMJcZrxxg4HY8DXkfW8iZ0AHozkJ MCzlSxpWkyCPXNxfqnNqWH0QMc9nsVko08MFWlDo.1BRVRIjJKeyImzAUH.V RjUzpc.yezcZKo983zosmjCeopZ0lH4dFlrzihSGvExAHB0v6nzDNfz9Mrcm xXC8j8Nz7T7Yjzl723yiVqBXaASza1iIJ0AwOjfKe6+fTPA06+0x2FUqtpW+ sePQ1fFJCLVtjFdOlDD9UAE6VRUDccIdQxfVK9hCRFKdVLF37AQSjrnMMGbM fcoL.D2Ts8tWzNykyBlbYzLLEw80xAde7gZfnZ23Iqa1TqNND435kno957xz eC6+bN. -----------end_max5_patcher-----------
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.
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!
Sorry, the second was the standard function. My mystake.
Why not update to the version of Max 6 which has the function object with curves?
Forums > MaxMSP