Forums > Max For Live

Coll and M4l

January 14, 2012 | 11:22 am

Hello,

I am trying to make a little note taker for M4l to take mixnotes. I am using textedit and coll. There are two problems

1. Closebang in M4L does not work so instead I have to poll the textedit filling up the coll constantly as opposed to once at the end. Not so bad.

2. Even though I used @embed 1 the coll is not saved with the Live session. It is saved if I edit the amxd and then save it in max but not in Live itself. I can manually write the file to a disk but I was hoping that it would be automatic.

not much of a patch but here it is:

– Pasted Max Patch, click to expand. –

Is there a way to automatically store these notes with my Live Session?


January 14, 2012 | 2:15 pm

In my experience, closebang can be used in M4L to trigger writing coll to a file.
So together with loadbang for reading the file you could achieve some automatic save/recall.


January 14, 2012 | 3:47 pm

Thanks broc I got closebang to work – coll wasn’t saving so I didn’t know.

I couldn’t get @embed 1 to work in M4L.

I did get auotmatic saving and restoring working using the read and write messages to coll and by setting a filepath. I am not sure how to auotmatically set a unique file path for each time the device is written to and read in different live sets or even tracks. I would like the data in the coll to be saved with the set ideally. any ideas?


January 14, 2012 | 4:30 pm

It’s already here:

http://www.maxforlive.com/library/device.php?id=176


January 14, 2012 | 5:41 pm

Thanks Home Surgery I wonder did you try this? It doesn’t seem to work for me. When I use it it only saves the text if I edit the M4L file and save the max patch, it does not work if I just load it into live, type text and then save the live session. When I reload the live session the notepad device remains in the same state as it was when last saved in max – not in live – so if you had words saved in the max patch they reappear and if not it is blank but nothing you type from your last live session is stored. Is this the same with you?


January 16, 2012 | 2:08 am

That’s odd. . . I made that device, and it works fine for me. Sounds like a bug.


January 16, 2012 | 5:02 pm

just tried it again there in Live 8.2.6 and Max 6.0.2 and it’s still not working.

The patch I have is just 2 objects – the middle outlet of a [pattr] object connected to a [textedit] object? I did try the [pattr] object initially but it didn’t work so I went with [coll]. If it works with [pattr] that is a lot simpler.

Can anyone else confirm it working or not with the above software versions. I’ll try it in work tomorrow.

thanks for replying benj :)


January 16, 2012 | 5:14 pm

hmmm. . . I’m still on max 5, so that might have something to do with it


January 16, 2012 | 7:22 pm

confirmed – I went back and tried it with both Max 5 and Max 6 in Live 8.1.3 and it worked with Max 5 but not with Max 6 – so either a bug or… the functionality of pattr has changed in Max 6.

Well if it’s a bug we have the perfect example file – thank again Benj.


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