Description
SysTime is one of the simpler Miniatures: it contains a mechanism for accessing the clock of the device it’s running on and rudimentary code for sending the current time externally (to other programs or devices). Therefore, it’s strictly a “utility” thumbnail, useful for those who want to experiment with multi-device synchronization techniques, such as those used in the “Noumen” and “Attention: Light!” 3.0 Miniatures.
Technical documentation
Parameters passed via URL
- worker 0 or 1; default 0; allows blocking the browser’s built-in mechanisms that suspend the program when the window is not visible
- ws address; disabled by default; enables and sets the address (usually localhost:9001) for WebSocket communication (allows external control of Miniature and customization)
- xws address; disabled by default; enables and sets the address (usually ws://localhost:9001) with protocol specification for WebSocket communication (allows external control of Miniature and customization)
Messages passed via WebSocket
Messages to which Miniature responds
not applicable
Messages sent by Miniature
- systime time t1 t2 t1 – time in milliseconds according to the system clock, t2 – the value of the current system time expressed in milliseconds, calculated based on hours, minutes, seconds, and milliseconds
MIDI
Messages to which Miniature responds
not applicable
Messages sent by Miniature
not applicable
Communication with MaxMSP
Messages to which Miniature responds
not applicable
Messages sent by Miniature
- systime time t1 t2 t1 – time in milliseconds according to the system clock, t2 – the value of the current system time expressed in milliseconds, calculated based on hours, minutes, seconds, and milliseconds