abl_link_time_at_beat method

int abl_link_time_at_beat(
  1. abl_link_session_state session_state,
  2. double beat,
  3. double quantum
)

! @brief: Get the time at which the given beat occurs for the given quantum.

@discussion: The inverse of beatAtTime, assuming a constant tempo. beatAtTime(timeAtBeat(b, q), q) === b.

Implementation

int abl_link_time_at_beat(
  abl_link_session_state session_state,
  double beat,
  double quantum,
) {
  return _abl_link_time_at_beat(
    session_state,
    beat,
    quantum,
  );
}