Forums > Max For Live

saving function state within live set

March 16, 2011 | 4:52 pm

I’m trying to find a way to store the state of the object "function" inside a live set without using pattrstorage. The reason is that I’m already using pattrstorage to store multiple presets of others objects and I just want to initial that function object. Am i clear enough?

Storing state of M4L objects like live.numbox works fine when enable parameter mode and sending to it varname at first (to avoid pattrstorage to see it). The problem is that function is not a M4L objects and doesn’t have that parameter mode enable option…

I tried to bind a pattr object to it but pattrstorage sees it…


March 16, 2011 | 6:54 pm

Function will store its state when you save the device in the editor without any pattr/parameter assistance, but if you want to be able to either change that initial state or save it with a set, you will need to bind a pattr object to it.

For the pattr, you will need to ‘enable’ parameter mode (@parameter_enable 1) on the pattr, and if you don’t want pattrstorage to see it, ‘hide from pattrstorage’ (@invisible 1).

When you save the device in a set, the last state it was in will be recalled.

If you are looking to do something else, maybe post a simple patch with an explanation.

-Ben


March 17, 2011 | 9:51 am

Thats so simple, the pattr stores itself rather than relying on pattr storage! I want to save 8 presets for a multislider though without it effecting the pattrstorage so this isn’t going to work i don’t think… Unless pattr itself can store 8 presets…. Off to search!

Cheers
D


April 22, 2011 | 11:37 pm

hi guys…

I’m trying to do pretty much the same thing here….

I don’t think I really grasp what you talking about above!?!

I am trying to get [pattr] to save the state of a [textedit] which is to store the file location of some audio loaded into a [buffer~]. The idea being that the file will be recalled when the patch is saved as part of a Ableton Live set (working in MaxforLive here).

I have tried this, but the [textedit] is not stored by [pattr] as part of a Live set. It only works if the patch is loaded in Max.

I tried using the (@parameter_enable 1) on pattr, but this seemed to stop my API mapping from working at all!

So how does this work? How do you get Ableton to save various parameter’s as part of set, but not as part of the patch itself???


January 6, 2014 | 9:31 am

Hi guys,
I’m posting this after all this time because I’d like to automate the function object as well.
I understand what you said, but my problem here is that live can’t manage parameters of lists… even with a pattr bound to him and hidden from the pattstorage it can’t work. (as julien I’ve got other parameters which I don’t want to be recall with the function).

In the inspector you can select the type of the object by selecting "blop".
But when blop is selected the parameter disappear from the live’s parameter menu.
So, how can we automate a list exept using the pattern storage ?

And, if there is no other solution than recalling preset, how can I store the preset of the functions in an other storage than all the other objects ?

Here is the example

– Pasted Max Patch, click to expand. –

Viewing 5 posts - 1 through 5 (of 5 total)