pattrstorage with setstoredvalue in M4L

Aug 25, 2011 at 9:14am

pattrstorage with setstoredvalue in M4L

Hello Maxers,

i have a simple question: Is it an intended behavior that the setstoredvalue message to a pattrstorage object will not set the dirty flag in a ableton live set ? So if the content of pattrstorage has changed in this way, it will not be saved in the live set. arrrgh
Otherwise the store message works as expected and sets the dirty flag.

thanks.
Stan

#58609
Aug 27, 2011 at 11:03am

anyone ? please

#210680
Sep 3, 2011 at 2:42pm

bump

#210681
Sep 4, 2011 at 8:17am

hmmm. maybe you are not setting up your pattrstorage correctly for M4L?

in M4L there is only one way pattrstorage can work.

1. check ‘parameter mode enable’

2. check ‘initial enable’

3. ‘parameter visibility’ – ‘stored only’

4. other stuff optional but NO scripting name

did you do this?

in M4L, all dirty stuff is handled automatically for you, to fit with live automation / store system etc.

any use? or am i way off the mark?

#210682
Sep 4, 2011 at 9:36am

Thanks for you answer pid.
Yes, I did it this way.. I think.

So here is the simple patch:

– Pasted Max Patch, click to expand. –

I have found a practical workaround for me (with the store message). So its ok for me, but may be the setstoredvalue behavior should be changed ?

#210683

You must be logged in to reply to this topic.