saving parameters with the device, not the live_set.

fhill2000's icon

I have 5 umenu objects that I wish to save with the device, instead of the live_set. Each time I load my plug-in by dragging it in from the Finder, it doesn't load with the most recent changes to the umenu, but instead recalls the parameters saved when I last saved the device in the Max Editor.
Is there any way to change this?

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

I have tried setting the initial value of the pattr object with the menu, with attribute 'Restore Saved Value on Patcher Load', although this does seem to work. The results seem to be unpredictable.

Lee's icon

Having trouble saving stuff myself. Have added autopattr objects to my ui components, but they're not reloaded when I open up the patch

Lee's icon

I have a top level pattrstorage object with autorestore 1 and save mode 3 but no success

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

try this...

Andrew Pask's icon

In general terms, changes to a device may only be made in the editor. When you're in the MFL runtime, the device can not be modified. I haven't looked at your device code, but I'm assuming you wish to update pattrstorage's initial state.

A possible way for you to do something like this would be to save a separate pattrstorage JSON file in your file system.

Cheers

Andrew

Edit: Perhaps what you are looking for is a device preset?

fhill2000's icon

Saving the device as a device preset looks like the best solution! (pattr objects in parameter mode connected to umenu objects)
Thanks