ConstReadonlyBeat: 3840How many ticks pass in 1 quarter note in a 4/4th bar, independent of tempo.
ReadonlySemiBreve: 15360How many ticks pass in "1 whole note" or 4x1/4th notes in a 4/4th beat, independent of tempo.
ReadonlySemiQuaver: 960How many ticks pass in 1/16th note in a 4/4th bar, independent of tempo.
A few constants to work with ticks.
A "tick" is the finest resolution something can be scheduled in on the timeline. Ticks are independent of tempo.
Example:
In a 4/4 bar, there are 4 beats, so one bar is 4 * Beat = 15360 ticks = SemiBreve.
For conversion from/to seconds see: