Set an insert's parameter or enabled state
set_insertAdjusts a track, aux, or master insert's parameter value within its range and enables or disables it; disabled inserts pass audio through unchanged.
Instructions
Sets parameter param (an id from list_effects, e.g. gain_db; for a plugin the ids list_effects gives with type, values normalised 0 to 1) of the insert at index to value, clamped to the parameter's range, and/or enables or disables the insert. A disabled insert passes the signal through unchanged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project": "<project>",
"index": "<index>"
},
"name": "set_insert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aux | No | An aux bus's chain (its id, as get_project_info lists it) | |
| task | No | Name of the task this edit is part of, e.g. "remove speech pauses". In the open app, all edits with the same task name become one undo step: keep the name for every call of the task and change it when the next task starts. Without a task name, all edits of this session share one step | |
| index | Yes | Slot index in the chain | |
| param | No | Parameter id, e.g. gain_db | |
| track | No | Track id: the track's chain, over all its channels | |
| value | No | The new value (goes with param) | |
| master | No | The master chain, before master gain | |
| enabled | No | Switch the insert on or off | |
| project | Yes | Path to the .audium project package (absolute paths recommended) |