Handling Max presets in M4L?

Dec 22, 2009 at 8:10pm

Handling Max presets in M4L?

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?

#47373
Dec 22, 2009 at 10:56pm

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

#170491
Dec 22, 2009 at 11:18pm

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.

– Pasted Max Patch, click to expand. –
#170492
Dec 22, 2009 at 11:52pm

Thanks for the clarification and solution.

#170493
Dec 23, 2009 at 11:00am

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.

#170494
Dec 23, 2009 at 4:48pm

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?

#170495
Dec 23, 2009 at 5:03pm

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.

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.

– Pasted Max Patch, click to expand. –
#170496
Dec 23, 2009 at 6:00pm

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.

#170497
Dec 23, 2009 at 6:15pm

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

-A

#170498
Dec 23, 2009 at 7:44pm

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?

#170499
Dec 24, 2009 at 12:01am

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

-A

#170500
Dec 24, 2009 at 9:44am

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

#170501

You must be logged in to reply to this topic.