Forums > Max For Live

question: LineFO 1.11 from maxforlive.com

December 6, 2009 | 5:26 pm

Hi,

How is the device and parameter names written into umenu in this lfo ?


December 6, 2009 | 7:05 pm

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…..

Cheers
D


December 6, 2009 | 7:26 pm

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.

thanks

Olivier

http://www.apaxxdesigns.com/Max%20for%20Live/MaxForLive.html


December 7, 2009 | 7:32 am

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?

Thanks

best


December 8, 2009 | 6:08 am

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.


December 19, 2009 | 7:34 pm

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.


December 21, 2009 | 3:20 am

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.



pid
December 21, 2009 | 5:15 pm

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.

– Pasted Max Patch, click to expand. –

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