set_envelope
Set a track's volume automation envelope from time/value points; conflict checks stop overwrites of edits made since your last read.
Instructions
Set the volume automation envelope for a track from [{time, value}] points.
Submits a SetEnvelope document command (same lock, conflict check, undo
history, and GUI fanout as a DAW edit). expected_points is the
[{id, time, value}] list you last read; if the envelope changed since,
the call fails with a conflict instead of overwriting the edit. When
omitted, the envelope as read at call time is the baseline.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| points | Yes | ||
| track_id | Yes | ||
| project_path | No | ||
| expected_points | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |