reaper_add_envelope_point
Insert an automation point on a track volume, pan, or FX parameter envelope at a given time with a specified value and interpolation shape.
Instructions
Insert one automation point on a track volume/pan or FX-parameter envelope.
Tip: if the envelope can't be obtained, set the track to read mode first
via reaper_set_track_automation_mode(track_index, 'read').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| track_index | Yes | 0-based track index | |
| target | Yes | Which envelope to write to | |
| time_sec | Yes | Point time in seconds from project start | |
| value | Yes | Point value. For volume: linear gain unless value_is_db=True. For pan: -1..1. For fx_param: the parameter's native value | |
| fx_index | No | Required when target='fx_param': the 0-based FX index | |
| param | No | Required when target='fx_param': parameter index or name | |
| shape | No | Interpolation shape to the next point | linear |
| value_is_db | No | For target='volume', interpret value as dB instead of linear gain |