RPE Chart Utils
    Preparing search index...

    Function initBpmList

    • Initialize the BPM list by computing startTimeSec for each entry.

      Must be called before using getTimeSec or getBeat. Also called automatically by preprocess and parseChart.

      Parameters

      • bpmList: Bpm[]

        The chart's BPM list (mutated in place).

      Returns void

      initBpmList(chart.BPMList);
      const t = getTimeSec(chart.BPMList, 8); // seconds at beat 8