A newer version of Max is available. Click here to access the latest version of the documentation

when Reference

Report the current transport time

when

Description

Outputs the current time of a transport in ticks and bars/beats/units.

Examples

Arguments

transport [symbol]

The name of the transport for connection. Defaults to the global default transport.

Attributes

transport [symbol]

The name of a transport object with which to associate. By default, the master transport is used.

Common Box Attributes

Messages

bang

Equivalent to anything.

int

Arguments

input [int]
Equivalent to anything.

float

Arguments

input [float]
Equivalent to anything.

list

Arguments

input [list]
Equivalent to anything.

anything

Arguments

input [list]
Any list or message causes the current time expressed in bars/beats/units to be sent out the left outlet, and the current time in ticks to be sent out the right outlet.

See Also

Name Description
metro
translate
timepoint
transport