link_beat_getAbleton Link Opcodeslink_beat_getlink_beat_get
Returns the beat, phase with respect to the local quantum, and current time for the session.
DescriptionPlugin opcode in ableton_link_opcodes. This opcode is part of the plugin repository and has to be installed separately.
The plugin repository can be found here: https://github.com/csound/plugins
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.
Syntaxk_beat_number, k_phase, k_current_time_seconds link_beat_get i_peer [, k_quantum]Initializationi_peer -- The Ableton Link peer object.
Performancek_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 alsoAbleton Link OpcodesCreditsBy: &namemichael; 2017