detect seperately when live is closed, or opened

Feb 19, 2013 at 3:14am

detect seperately when live is closed, or opened

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

#66590
Feb 19, 2013 at 3:23am

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

#239670
Feb 19, 2013 at 10:33am

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

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

#239671
Feb 19, 2013 at 2:15pm

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

#239672

You must be logged in to reply to this topic.