devices_add
Inserts a builtin effect into a track, return-bus, or master chain at the end or a chosen position, starting at default settings for later parameter shaping. Returns the updated chain; undoable.
Instructions
Insert a builtin effect (a name from devices.types) into a chain, at the end or at 'position'. It starts at its default settings; shape it with devices.set_params. Returns the chain. Undoable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | Effect chain: {"track": <id or index>}, {"return_bus": <index>} or "master". | |
| device | Yes | Effect name from devices.types, e.g. Compressor. | |
| position | No | 0-based position in the chain (signal order). |