Type alias MetronomePosition

MetronomePosition: {
    beatIndex: number;
    currentBeat: number;
    currentMeasure: number;
}

Position of the metronome by various units of measurement

Type declaration

  • beatIndex: number

    Absolute beat based on quarter notes, independent of time signature

    • 0 = first beat
  • currentBeat: number

    Current measure's beat count based on time signature

    • 1 = first beat
  • currentMeasure: number

    Current measure based on time signature

    • 1 = first measure