Forums > Max For Live

detect seperately when live is closed, or opened

February 19, 2013 | 3:14 am

Hi,

I have a patch where Im saving a preset, so id like to detect when live is opened, so I can read the preset, and when it is close, so I can write the preset. It seems that there is only loadbang, or live.thisdevice, which seems to only send a bang when live is closed and opened, so there is no way to detect them differently.

Would be grateful to find out if there is any workaround to this.

Cheers

N


February 19, 2013 | 3:23 am

im also wondering if someone could explaing the difference between loadbang, loadmess and live.thisdevice this might help me to understand how to save these presets properly.

I would ideally like to keep writing to my presets on every change, and then when the liveset is close, write the preset, then read it when the liveset is opened


February 19, 2013 | 10:33 am

You could trigger writing the preset with [closebang] and reading with [loadbang].

Explanation of all objects can be found on the help/reference pages.


February 19, 2013 | 2:15 pm

yes, read the reference pages and used both of those, but it doesnt work when read/writing fxp files in m4l.


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