cpuclock

Precise "real-world" time measurements

Description

While most Max/MSP timing references "logical" time derived from Max's millisecond scheduler, time values produced by the cpuclock object are referenced from the CPU clock and can be used to time real world events with microsecond precision.

Arguments

None.

Messages

bang A bang causes the current time to be output. The time value is calculated from when Max is launched (starting from 0.0).

Information for box attributes common to all objects

Output

float: The current time, in milliseconds.

Examples

See Also

Name Description
metro Output a bang message at regular intervals
translate Convert between different units of time.
timepoint Output a bang when a transport reaches a specific time.
transport Control a master clock and report time values.
when What's the time?