populate live.menu

Sep 14, 2011 at 7:34pm

populate live.menu

I have a question that seemed simple to me but have turned out to be really difficult.
How do i populate a live.menu dropdown object in runtime?

really hope somebody can help me here :)

Sep 15, 2011 at 7:17am

To my understanding non of the live objects allow dynamic updating or changing because of storing and recalling schemes. Once objects have been made they are expected to remain stable. Of course it is possible to use the regular menu object. When you dump for instance the content in a textedit object as well, with the pattr object (in blob mode) it is possible to store date.

Sep 15, 2011 at 10:43am

Thanks for your reply.
The thing is I want to have the values showing up on my midi controller and the only way to do that, as far as I know, is with the live.* objects.
I did get the feeling that I should use the pattr object, but is it possible (and how) to get that object to populate the live.menu?

Sep 15, 2011 at 3:56pm

It’s not entirely clear to me what you want to achieve. This might address some of the issues you are dealing with:

– Pasted Max Patch, click to expand. –
Sep 15, 2011 at 7:19pm

yeah that is what i would do, or similar. however, the problem is, one of the infuriating m4l things is that now this live.numbox is not midi-mappable because we cannot see it in midi map mode. i do the above post way for exposing things to the automation system, but no good for midi mapping. the workaround is convoluted. i posted on the maxforlive ableton forum about it for the op.

Jun 22, 2012 at 2:42am

so far nobody found an “ideal” solution for that?

why they don’t simple implement the “append” function as the “umenu” does…

its really big trouble having a menu and not being able to update the options /=

Jun 24, 2012 at 3:40pm

This is my solution, as you can simply store anything into a pattr. If you store the menu content as a simple list, and just fire that list into a umenu, the pattr content will be stored in the session….
Set the rounded attribute of umenu to 0 to make its look closer to the live.menu…

– Pasted Max Patch, click to expand. –
Jul 12, 2012 at 4:58am

I’ve been looking for something like this too! I’m very new to Max and am just working on my first project so forgive the following question if it’s obvious:

How would one populate the controller’s message box with a dynamically generated list?

I’ll keep looking for a solution too!

Jul 12, 2012 at 9:18pm

I hacked it out using pack and a metro:

– Pasted Max Patch, click to expand. –

You must be logged in to reply to this topic.