add_automation
Create automation curves to control LMMS parameters over time—ramp song tempo, adjust track volume, panning, or mixer levels with smooth or stepped transitions.
Instructions
Create an automation curve that controls a parameter over time.
Automatable targets:
song + tempo: Song BPM (e.g. tempo ramps)
song + master_volume / master_pitch
track + volume / panning (target_index = track index)
mixer + volume (target_index = mixer channel number)
Args: target_type: "song", "track" or "mixer" param: Parameter name (see above) points: Curve points as list of {"bar": float, "value": float}. Example: [{"bar": 0, "value": 120}, {"bar": 8, "value": 140}] target_index: Track index or mixer channel (ignored for "song") name: Automation name (defaults to parameter name) smooth: True = smooth curves (cubic), False = linear steps
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| param | Yes | ||
| points | Yes | ||
| smooth | No | ||
| target_type | Yes | ||
| target_index | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |