How do I get a message value saved with my current song?

indigosm's icon

Hi there! I notice that if i set a MESSAGE's contents while using my M4L device and save my song, close and reopen it in ableton live, that message's contents are lost and i'm not sure how to fix that.. I thought maybe I had to route the messages to a COLL, but that COLL data gets lost with the song save/close/load as well.. I also heard that you might have to connect a PATTR's middle outlet to the MESSAGE, but max won't even allow that so that's not it.

Thanks so much in advance!

do.while's icon

Hi ! did u have a look at [pattr] help ?
there is shown how to store a message , and bang it out .

you could also EMBED your [coll] into the device ( but it will not stay unique for every instance of your device ,if used more that one time ), as well using [Dict] as it is [pattr] friendly and stays unique .
but maybe there is another way ,it would be great to know actually .

johnisfaster's icon

This works.

Max Patch
Copy patch and select New From Clipboard in Max.
indigosm's icon

hrmm. i tried PATTR, but it appears that it doesn't keep it's current contents when you save/close/load the ableton live song. it reverts to it's initial value instead.

embedding COLL doesn't sound like it would work either because i need dozens of these devices loaded at once, all with their own contents..

indigosm's icon

actually, JOHNISFASTER, i don't think the message is retaining it's changed contents...

for example, if i load that device, click the uzi bang button and look at the new values of the message, then save/close/load the song again, the message will not retain it's values that were generated when i pressed the uzi button. it'll have the values that were defined in the patch itself...

so in that case, it appears the multislider was retaining it's values when i save/close/reload the song, but the message was not.

are you not seeing that on your machine?

broc's icon
Max Patch
Copy patch and select New From Clipboard in Max.

You could use [textedit] with [pattr] connected.

indigosm's icon

awesome!! i just tested the TEXTEDIT+PATTR and it does work. the textedit does retain it's content with the save/close/load of a song. thanks so much!!!! :)

johnisfaster's icon

My mistake I misunderstood what you were after. Nice to learn messages themselves can be saved too :)