I would like to ask, if anyone knows, if for example, I want to have a patch, that it will be used, by both, Live(max4live) and Max6 alone, whenever I need to make a loadbang, I could also put a live.thisdevice, which is the equivalent for max4live right?? So it always initialize, either at MAX or MAX4LIVE
But I think I’m having some troubles with it….can it be??
Or it should work perfectly fine??
loadbang is called in both MAX and M4L when he patch loads and so can be used to init the patch, but you may not be able to call M4L Apis at this point as it may not have initialised. live.thisdevice lets you know when the M4L Apis are ready to be called.
you could connect a [live.thisdevice] into every loadbang you use. These call call when the patch is loaded. you will probably get error messages though if you keep the loadbang.
If you prefer no errors, you could have loadbang or live.thisdevice into a [send —onloaded], then could choose sepending on max or M4L which you used.