@audiotool/nexus - v0.0.12
    Preparing search index...

    Variable TicksConst

    Ticks: { Beat: 3840; SemiBreve: 15360; SemiQuaver: 960 } = ...

    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:

    Type declaration

    • ReadonlyBeat: 3840

      How many ticks pass in 1 quarter note in a 4/4th bar, independent of tempo.

    • ReadonlySemiBreve: 15360

      How many ticks pass in "1 whole note" or 4x1/4th notes in a 4/4th beat, independent of tempo.

    • ReadonlySemiQuaver: 960

      How many ticks pass in 1/16th note in a 4/4th bar, independent of tempo.