populate live.menu

asger's icon

Hello
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 :)

jvkr's icon

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.

asger's icon

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?

jvkr's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

pid's icon

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.

hems's icon

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 /=

Tj Shredder's icon
Max Patch
Copy patch and select New From Clipboard in Max.

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

Klipspringer's icon

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!

Klipspringer's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I hacked it out using pack and a metro:

10Guitars's icon

send a message that says _parameter_range one two three

Try that (one two three being changed for what ever you want to populate it with,,,

benniy's icon

excellent - thanks 10guitars