place_loop
Places an audio loop on a REAPER track, time-stretches it to project tempo with pitch preserved, optionally transposes to key, and repeats to fill bars.
Instructions
Puts a loop on a track in time: stretched from its own tempo to the project's (pitch preserved), optionally moved into the project's key, and repeated to fill a number of bars.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>",
"track": "<track>"
},
"name": "place_loop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bar | No | ||
| bars | No | Repeat it to fill this many bars | |
| path | Yes | The loop's file (from find_samples) | |
| track | Yes | Track to put it on | |
| to_key | No | Transpose it into this key (needs its key: from the name or by ear) | |
| loop_bpm | No | The loop's own tempo, if known; else it's measured | |
| semitones | No | Or transpose by this much | |
| match_tempo | No | Stretch it to the project tempo (pitch kept) |