Forums > MaxMSP

autostart/autostop of a system related to a calendar

March 21, 2011 | 11:29 am

working actually on a (big) permanent installation for a french museum (more info asap!), I designed a system to start & stop all 20 clients remotely from a server (using udp messages)
it works, it is nice :)
the server is always up.

now, I need to upgrade this stuff by using a real calendar.
indeed, the exhibition will be ON at particular hours, OFF on sunday + each day off etc.

I thought about 2 ways:
- full max calendar
- server OS (windows) calendar + schedulded launch of patch

what would you do ?
I don’t know if the collective (exe) I can launch stay open or not. indeed, I’d trigger actions with a loadbang so I’d need to trigger action & close the patch after…

March 21, 2011 | 6:02 pm

My first thought is to use a Shell object, but for a PC I’m not sure what the equivalent is….

Normally I design a patch so that it sets itself up and allows itself to be closed by the system scheduler on Mac OS X, then relaunches by making sure it’s the only thing that is set to auto-launch on startup. Not sure why this wouldn’t also work on a PC provided you made sure all the auto popups windows throws at you on startup are off.

March 21, 2011 | 7:59 pm

I can easily track the time, the date with the date object.
the problem comes from the relatively complex calendar I want to use.
If I do that in max, I’d need some day of week, week number functions/objects.
I’ll look for inside JS world…
if you’re interested, I’ll post that here :)

March 22, 2011 | 9:22 am


since Max4, mxj now returns the day of week, the week of year, and many other interesting stuff.
That’s what I use now to control installations.


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

Forums > MaxMSP