link_beat_get
Prev | Orchestra Opcodes and Operators | Next

## link_beat_get

link_beat_get — Returns the beat, phase with respect to the local quantum, and current time for the session.

## Description

Plugin opcode in ableton_link_opcodes.

Returns the beat number, phase of the beat with respect to the local quantum of the beat, and current time for the global network Ableton Link session.

## Syntax

    k_beat_number, k_phase, k_current_time_seconds link_beat_get i_peer [, k_quantum]

## Initialization

i_peer -- The Ableton Link peer object.

## Performance

k_quantum -- The local quantum of the beat; the default value is 1,

k_beat_number -- The number of the current beat.

k_phase -- The current phase of the beat with respect to the local quantum of the beat.

k_current_time_seconds -- The current time with respect to the time this peer was enabled.

Consider using link_metro if you need a periodic trigger driven by the session beat.

## See Also

Ableton Link Opcodes

## Credits

By: Michael Gogins 2017

Prev | Up | Next
link_beat_force | Home | link_beat_request