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 at regular intervals
translate Convert between different units of time
timepoint Control a master clock and report time values
transport Output a bang when a transport reaches a certain time
when Obtain the current time of a transport