automation_write
Write beat-based automation points to control a track’s volume, pan, or other parameters over a song, creating the lane if needed and replacing existing automation.
Instructions
Automate a track's volume, pan or any parameter over the song: points at song beats with values in the parameter's own unit; the lane is created if needed and its automation replaced. E.g. a filter sweep through a break: {param: "instrument:16", points: [{beat: 96, value: 400}, {beat: 128, value: 8000}]}. Plays when the arrangement plays. Undoable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| curve | No | How each point moves to the next (default linear). | |
| param | Yes | What to automate: "volume" (dB), "pan" (-1..1), or a params.list key (instrument:<id>, fx:<slot>:<index>) in that parameter's range. | |
| track | Yes | Track id (UUID string from tracks.list, stable) or 0-based index (shifts when tracks are added or moved). | |
| points | Yes | Breakpoints in time order. |