Handling Max presets in M4L?

broc's icon

I have a simple Max patch with a multislider and a preset object to store/recall different value settings. When loading the patch as a device in Live I'm able to recall stored settings with the preset buttons but can NOT store new presets (with shift-click). Is this normal behavior or am I missing something?

kleine's icon

It seems that storing parameters via the preset object seems to work only in patch edit mode.

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

Yes, that is correct. In order for a preset object to work storing data in a device, it needs to be associated with a pattrstorage object with "Parameter mode enable", "Inital enable", and "Auto update initial enable" checked.

broc's icon

Thanks for the clarification and solution.

broc's icon

Andrew,

at first try the solution doesn't seem to work for me. But maybe I'm doing something wrong. Can you please add a multislider to your example patch and show if and how it needs to be connected.

broc's icon

Just wanted to add that I have Max 5.1.1 installed but still use Live 8.1 (non-beta). Maybe that's the problem, or should the pattrstorage mechanism work with this combination too?

Andrew Pask's icon

It shouldn't make a difference.

It looks like there is a bug in the way the preset object is hooking up to psto at load in parameter mode.

Max Patch
Copy patch and select New From Clipboard in Max.

The following works for me in a device, but the presets I have created in the preset object only show up after I shift click on one of the cells.

broc's icon

Ok, it works for me also with "shift-click initialization". Just a minor flaw. One may click an unused cell to avoid overwriting existing presets.

Thanks again.

Andrew Pask's icon

Thanks for confirming. I have a ticket for it, we'll clean it up in the next incremental

-A

broc's icon

Andrew,

I've just noticed that your patcher seems to work only in edit mode..

When adding the preset object to the presentation I'm still not able to store new presets using the device interface. Have you checked if that works for you?

Andrew Pask's icon

You'll need to update Live to 8.1.1 most likely. Works fine for me

-A

broc's icon

Ok, then I'll just wait for the final 8.1.1 release.