Determining uninitialized values in [live.menus] managed by [pattr]

Oct 10, 2012 at 2:15pm

Determining uninitialized values in [live.menus] managed by [pattr]

I have 8 live.menus which are stored in a [pattr]. When I change the preset (send an int to [pattr]) how can I see which of the live.menus have no value stored in the pattr?

Many thanks in advance

Joe

#64706
Oct 10, 2012 at 5:40pm

Here is a solution

– Pasted Max Patch, click to expand. –

The problem is that if a menu item was chosen in a previous preset it carries over into the current preset. I can live with that, but it would be nice to avoid it.

#233391

You must be logged in to reply to this topic.