Function FrameCalc::CountFrame

Function Documentation

uint64_t FrameCalc::CountFrame(uint64_t Sbeat, uint64_t SsubBeat, uint64_t Sseparate, uint64_t Ebeat, uint64_t EsubBeat, uint64_t Eseparate, double bpm)

count frame between two beat-subBeat position.

Parameters:
  • Sbeat – start beat

  • SsubBeat – start subBeat

  • Sseparate – start beat-subBeat’s separate value

  • Ebeat – end beat

  • EsubBeat – end subBeat

  • Eseparate – end beat-subBeat’s separate value

  • bpm – applied bpm.

Returns:

unsigned long the calculated Frame Range