abl_link_beat_at_time method

double abl_link_beat_at_time(
  1. abl_link_session_state session_state,
  2. int time,
  3. double quantum
)

! @brief: Get the beat value corresponding to the given time for the given quantum.

@discussion: The magnitude of the resulting beat value is unique to this Link client, but its phase with respect to the provided quantum is shared among all session peers. For non-negative beat values, the following property holds: fmod(beatAtTime(t, q), q) == phaseAtTime(t, q)

Implementation

double abl_link_beat_at_time(
  abl_link_session_state session_state,
  int time,
  double quantum,
) {
  return _abl_link_beat_at_time(
    session_state,
    time,
    quantum,
  );
}