Recording Presets with mtr?

rboyart's icon

Hi there,

i'm working with the mtr object, and i wandering if you know how to do presets with it, cause, i made a patch to record x-y mouvements, but every time i open it, it doesn't maintain my pre-recorded mouvements.
so do you know a way to do that?
or maybe there's another way by making a .txt data and read it after, with coll or table, but i don't exactly how to do it....
i would be very grateful if someone can show me the way to go, and here is my patch maxmsp5
thanks,

Rodrigo

2678.recordingMouvements.maxpat
Max Patch
Mark Durham's icon

Hi Rodrigo,

You can send it the message write to save the data and read to open it again. It needs to save this as a separate file. If you want it to automatically load when you start the patch then you can use the loadmess object.

Check out the mtr reference which explains this further:

Mark Durham's icon

Just a further note,

This thread also cropped up today about formatting messages containing paths:

This also applies to referencing the files saved by mtr.

rboyart's icon

its works! :)
thanks a lot,

R