RPE Chart Utils
    Preparing search index...

    Function removeBpmChange

    • Remove a BPM change at the given index.

      The first entry (index 0, beat 0) cannot be removed — use setBpm() to replace the base BPM instead.

      Parameters

      • chart: RpeJson

        The RPE chart (modified in place).

      • index: number

        Index of the BPM entry to remove (must be > 0).

      Returns { bpm: number; startBeat: number } | undefined

      The removed BPM entry { bpm, startBeat }, or undefined if index === 0 or out of range.

      // Remove the second BPM change (index 1)
      removeBpmChange(chart, 1);