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.
setBpm()
The RPE chart (modified in place).
Index of the BPM entry to remove (must be > 0).
The removed BPM entry { bpm, startBeat }, or undefined if index === 0 or out of range.
{ bpm, startBeat }
undefined
index === 0
// Remove the second BPM change (index 1)removeBpmChange(chart, 1); Copy
// Remove the second BPM change (index 1)removeBpmChange(chart, 1);
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.