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

jamesson's icon

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

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

Here is a solution

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.