[preset] resets itself whenever I close or save the project in Ableton
I provided my Max4Live device with a preset saving option using [preset]; however, whenever I close or save the project in Ableton, [preset] resets itself.
As a result, whenever I open the project again, all the presets are gone.
Can anybody help on this one?
P.S. I found this old post; I looked for the fantomatic "parameter tick boxes" but couldn't help myself :/
Why do [pattrstorage] and [pattr] have a different name?
I made some improvements!
Now I can keep the state of [preset] as it is when I open the max patch again. Unfortunately that doesn't work in Max4Live; whenever I load the Ableton project with the device, [preset] resets itself.
Do you have any hints on that?
Here is the link to a quick tutorial that helped me to get where I am now. It might help somebody with the same problem in the future!
Hello.
I am away from computer. I cannot see your patch..
Just an idea : in the inspector of your pattrstorage did you check "parameter enable" ?
Hey thank you for your answer,
I did check it now, but my problem is the [preset] not the [pattrstorage].
It is [preset] that allows to store presets while using the device because it's part of the UI, while [pattrstorage] isn't
sorry if i am not in the right ballpark, but did you save the patch before closing it? changes inside [preset] do set a dirty bit, so you can easily forget to save.
Yes I did.
In fact when I reopen the patch in Max it works; when I use the device in Ableton it doesn't :/
When you use a preset in conjunction with pattrstorage its not the preset object that store presets but the pattrstorage. The preset object is there just to tell the oattrstorage which slot to store and recall.
I am still away from computer.
So
In the object inspector of your preset object you have at the bottom the attribute "pattrstorage" : you have to fill it with the name of your pattrstorage.
Then in the pattrstorage inspector you have to check :parameter enable and check "stored only"
Yes I know, but I wired it so that I can control what's being saved in [pattrstorage] with [preset]. I do this because I find it much better for the interaction with the device.
I just did what you said and now when I close the project, Ableton asks me to save the presets as .json so it is already an improvement :)
Unfortunately [preset] still resets itself when I open the device again, therefore I'm not able to recall the presets.
Try adding "@savemode 0" to your pattrstorage
It works now!I didn't save the .json in the correct folder :')
So basically every time I want to save a new set of presets I'll need to create a .json file and place it in the filepath?
Almost sure it's yes...;)
Uuu that's not really the best thing...
Anyways thank you very much for your help, I couldn't get there without your support!
Glad to help ! ;)
Try with different @changemode and
Cheers !