Coll not saving if device locked

Learn about building and using Max for Live devices.
Post Reply
toscanini
Posts: 410
Joined: Thu May 05, 2005 5:42 pm

Coll not saving if device locked

Post by toscanini » Mon Jun 23, 2014 9:14 am

Hello,
I have a [coll] object with "save data with patcher" on. It will only save data if data is entered in edit mode. If the M4L device is locked, changes are discarded as I load the Live set again.
I use coll all the time so I feel strange I haven't noticed this before. I remember saving being a bit unreliable, but not not working at all!
Can somebody confirm this behaviour please? Or is there some extra care to be taken for this to work correctly?
All advices welcome,
toscanini

regretfullySaid
Posts: 8913
Joined: Thu Apr 22, 2010 5:50 pm

Re: Coll not saving if device locked

Post by regretfullySaid » Mon Jun 23, 2014 12:50 pm

I had wondered the same thing and learned that
Colls can't save dynamic input, only stuff that doesn't get changed, so you might want to look at dicts and javascript. Dicts have a function for pulling and pushing from colls though so you could still keep the coll if you want as a buffer, thiugh once knowing how to use dicts I haven't found much use for colls, except for storing static info.
ImageImage

toscanini
Posts: 410
Joined: Thu May 05, 2005 5:42 pm

Re: Coll not saving if device locked

Post by toscanini » Mon Jun 23, 2014 2:16 pm

Ok thank you for the confirmation. Dict has been on the top of my list for a while, it might be the right moment...

Post Reply