Type Alias BeatGrid

BeatGrid: { bpm: number; count: 1 | 2 | 3 | 4; offset: number }[]

A beat grid is a series of offsets from the start of the track. Each offset indicates what count within the measure it is along with the BPM.

Type declaration

  • bpm: number

    The BPM at this beat.

  • count: 1 | 2 | 3 | 4

    The count of this particular beat within the measure

  • offset: number

    Offset from the beginning of track in milliseconds of this beat.