question: LineFO 1.11 from maxforlive.com

Dec 6, 2009 at 5:26pm

question: LineFO 1.11 from maxforlive.com

Hi,

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

#47068
Dec 6, 2009 at 7:05pm

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

#169222
Dec 6, 2009 at 7:26pm

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

#169223
Dec 7, 2009 at 7:32am

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

#169224
Dec 8, 2009 at 6:08am

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.

#169225
Dec 19, 2009 at 7:34pm

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.

#169226
Dec 21, 2009 at 3:20am

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.

#169227
Dec 21, 2009 at 5:15pm

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. –
#169228

You must be logged in to reply to this topic.