render_regions
Renders each project region to its own file using REAPER’s render settings, with a naming pattern and optional selection filter. Use it to batch-export regions or preview output files without writing them.
Instructions
Render each region of the project to its own file, using the project's render settings. pattern: file name pattern; $region, $regionnumber, $project are available, and it may name subdirectories. REAPER numbers names that would clash ("take-001", "take-002"). selected_only: render only the regions selected in REAPER; with none selected, REAPER renders all of them. dry_run: return the project's regions and the files REAPER would write, without rendering. It sets the render settings and restores them. Fails without rendering if any output file already exists; never deletes files. Blocks until every file is written; status is then "complete". Gives up with "stalled" once the files stop growing for stall_timeout_seconds (longer while REAPER holds a scratch file), or "timeout" after timeout_seconds in total. Region "index" is the position among regions, as in get_project_info.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| pattern | No | $region | |
| selected_only | No | ||
| timeout_seconds | No | ||
| output_directory | Yes | ||
| stall_timeout_seconds | No |