question: LineFO 1.11 from maxforlive.com
How is the device and parameter names written into umenu in this lfo ?
apend is the call for putting things into a umenu, you need to navigate to them using the live object model….
my patch on the same site (COntrol Surface Master 8×8) uses this to populate a umenu that’s inside the patch so that i can then select the parameter i want using a live tab…..
By the way S4racen, did you find a way to save the selected item made in umenu inside preset ?
As it takes some time to populate the umenu, I can’t use pattr directly because it sends the value before the umenu is ready.
I couldn’t find a place to insert a delay between umenu and pattr, it is an invisble link.
Well, one way to save the selections would be to save them in another module (maybe a js) and send them to the umenu when it is ready. (do not know if you can save them in an int/i-module which you bang when the menus are setup).
At the moment I think I deactivate the umenu after reload and just save the path to the selected device or param, but still then – I have problems here with Live crashing when I try to set up the API path directly after pattrstorage restores the saved values (js) and even at the time of the loadbang I do not get LiveAPI access (at least it seems like that, as I do get no output. If I call the loadbang function in the js manually, all is fine).
Anyone else experiencing that?
That’s my device (I own maxforlive.com and post there as synnack).
I am using 2 bpatchers. One just loads M4L.api.SelectParameter.maxpat which comes with maxforlive and automatically populates the umenu with all possible parameters for the selected device.
Is there a way to automatically load the "select device" and "select parameter" menus. I want to modify it to load the same device and parameter each time without having to use the drop down menus.
I’m totally new to Max via M4L, any points in the right direction would be greatly appreciated.
you could attempt to replace those umenu objects with live.menu objects. That way you could save your selected devices and parameters as live presets in the browser which should get saved with your set.
Maybe I’ll mess with that for you.
couldn’t you just do it with "M4L.api.SaveInteger"? that would only work in continuously same live set though i guess… hm, a problem. try finding "symbol" of all devices and query that way? by the way, live.menu is useless – you cannot fill it with etc like you can the max umenu object. real shame.
----------begin_max5_patcher---------- 746.3ocuVszabBCD97t+JrP8PqDEgMK61MWhTO0JkzdHmppppLvvha.6sfYS nQ8+dsMO1PB6Cx1MWrYF+fu46aFa+vzIVAh6gBKzEnuilL4goSlXbocLowdh UF89vTZgYZVAkRofaYWODuLiwSAoYL7VmhR4S8V6RVsFp+cVAT9JKzOZFdMU Flv3q9YNDJqmAYIww0Fgcmo6HtsscqgEYfjH3WuG6Yo882oS0M1GYvjAEEzU PazHg6M+Zqhpr.QJ5M31QhEbYA6OFni0nZfvmLtveugtm+h5n0Dzyma3gk6H z6gRNMy7Gr9DjtAjrPJ5KPI7RXmPQVFvkOicTo.n04hfTHCwJrQQvFVHTfRY 2BoUHo.ElnzVvFUHPUhRTNPSUCvAHROZLiq5S.zMe65O90qPuUi42gDwH0z5 1MpZRzz6nUEneWB4p8MgJQYzp.3xKZwTJiCghRtAXyGgXMbtp69TjZQ.iMc9 FgQmfNjjr7UVQXwczFG1.4cBfl8U7SZDJRfXRiDYHxKcbbFjDImSRD6WWQOy +Qjnm+vj37yDIxg6Ta+y3vU4z.qSN3I6rb29.k7sm1sbYKonp+wCSMyNSTSo J6priYTfu4pgNLLFhgIgrl0aUHKii0TfstIARSEcVqDhnfJnyVjnaukKtS2a J30eHSXE595VtP1rSqiKS2Rr8UCucoFLtY4GTT7HFQgrn4lH28oJdutIrry3 kSZ9Yu7h6GLYojlNG+cSKjWWZ45YW4PWybtgtA9LWBqf7Sur9ESTMm30l.Qv 6KAZrWja1Cyw2O4IbFfn82m9JDk4gsHu4US1nsPIBJjLNUxTOva6jl0aNIrn Hf+3y4yXQqEJdn6rhA0xiFRGAh7FGhvyw57SO2ZoXI44Vj4lya87vcVmZbbF BDO0CAafmeOv5ehfc1QfU7HwpaM5lYvZiDXr9OfU7AvJYjXEuvftEdFd8QVm HVOlxKRu34vXsV08vtsIrtMV8vpx3uS+GreqFYE -----------end_max5_patcher-----------