Coll and M4l
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. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 717.3ocyWtsTaCCDF9ZmmBM95zLV9.wtW09bvvjQNdKnVa4LVJzPY3cuRqjI FR.qhSc6MDzpS+62dHJOtHHrr8.HCIelbMIH3wEAAnIig.23fvF1gs0LItrP A7y1xuGtzNkBNnPyJRIor2pXeCWTCJbGziFa2q5sF6rxqvsqOxOQi62+2ZEJ AqAvo9ZGmU2OyNlZ6cbwsa5fsJqrShVuJZIINJx7QRpcvpHxMt8XuU0C6.6F BKYhaCW5974kYtTI+W3hnwqhLVeZwByeVNM1z.ptVi.OKehOKenmxmjOFdxK PhDiT5pLOwyLfk5VVkMT3cVyYnR1TRZnqiQpD8OfJMfTxtENAKSLKI+iwCsy uNSW9jiIHIwqzCn4uGPliTjccvNPTQjfZZYIzhoT7jZSSV6Quk4fJc5aEH3P +SUNWC27IAkzqvZGpGPY47.lss00jF9AQqBjju.MkPEg9Gj4jdFHEMIHEisV nowdRokiQKmYiqtohoXNJ4vjYh8B0.OLHreUWiq64Upm4GvClIbmowx8r588 5wlfo670wqq4LyodiagOsv8u5PlUOR18P0FMvzDXCSo53k5jT4qUGFRP0419 egdEp1NfDMw9EzoD0ccQKxl49EFV.Ub0Ir4XH78nhlfRPnXJdqXfSgc8Rres .VxSuJcfKMdEzjd3RRj8NsOuKazJHtPcZQzPO6EdLqSKGEzsADrxZXP0vkHd nKAT5KbZYhod73trh9LMOeFy.mAWaXMW75eG.deF6uzCks6611ebtWbPNdiU fTwEOS5qO1EcvhtiWUAhgzthKMA.zuOOp8UNY9Hm3YSNI9HmzYSNlGBMtdRF QOM7pcs5JMWFSRQt48hYTaqhHrYwKGEWfkwIqou8H6ofiNJvKmm6UdZw7EIR uDQhKnd7JSkNe5wTiRGQO4yqbFCOyXzh9+UW2WcUugd9ngK8WX8zheSBH0yO -----------end_max5_patcher-----------
Is there a way to automatically store these notes with my Live Session?
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.
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?
It’s already here:
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?
That’s odd. . . I made that device, and it works fine for me. Sounds like a bug.
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 :)
hmmm. . . I’m still on max 5, so that might have something to do with it
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.
Forums > Max For Live