RPE Chart Utils
    Preparing search index...

    Function addBpmChange

    • Add a BPM change to the chart's BPM list.

      Inserts a new BPM entry at beat, then re-sorts and re-initializes the entire list so all startTimeSec values are correct.

      Parameters

      • chart: RpeJson

        The RPE chart (modified in place).

      • beat: number

        Beat at which the new BPM takes effect.

      • bpm: number

        New BPM value (must be > 0).

      Returns RpeJson

      The chart (for chaining).

      // Speed up to 160 BPM starting at beat 16
      addBpmChange(chart, 16, 160);