write_automation
Replaces an FX-parameter envelope over a declared range, then reads back to confirm the write. Rolls back automatically if anything fails.
Instructions
Write one FX-parameter envelope transactionally: snapshot, inclusive-range replacement, reread confirmation, and automatic rollback on any failure. A declared range always means replacement.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track | No | Exact track name (case-insensitive). | |
| points | Yes | [{bar, beat, value, shape} | {time|seconds, value, shape}] | |
| ranges | No | [{start_time, end_time}] inclusive replacement scope | |
| dry_run | No | Preview: return what would run without changing the project. | |
| fx_index | No | ||
| fx_scope | No | ||
| param_index | No | ||
| track_contains | No | Case-insensitive substring; errors if it matches more than one track. | |
| fx_name_contains | No | ||
| target_track_guid | No | Stable REAPER track GUID; preferred when available. | |
| use_selected_track | No | Target the currently selected track instead of naming one. | |
| param_name_contains | No | ||
| clear_existing_in_range | No |