RPE Chart Utils
    Preparing search index...

    Function setBpm

    • Set the chart to a single constant BPM by replacing the BPM list.

      Removes all existing BPM changes and sets a single entry at beat 0. Use addBpmChange() afterwards if you need multiple tempo regions.

      Parameters

      • chart: RpeJson

        The RPE chart (modified in place).

      • bpm: number

        BPM value (must be > 0).

      Returns RpeJson

      The chart (for chaining).

      setBpm(chart, 140); // constant 140 BPM for the whole chart