set_tempo_map
Add, change, or remove tempo and time-signature changes in REAPER: tempo jumps, ramps, and odd-meter bars, all in one undo step.
Instructions
Adds, changes or removes tempo and time-signature changes: tempo jumps between sections, ramps (accelerando/ritardando), odd-meter bars. One undo step. Items stay at their bar positions; the starting tempo is set with set_tempo.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_tempo_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clear | No | Remove every change after the first before adding | |
| changes | No | Tempo/time-signature changes, e.g. [{'bar': 17, 'bpm': 128}, {'bar': 33, 'numerator': 7, 'denominator': 8}]. For a ramp: [{'bar': 25, 'bpm': 120, 'ramp_to_next': true}, {'bar': 33, 'bpm': 140}] | |
| remove_bars | No | Remove the changes at these bars |