fx_set_preset
Set a plugin to a named preset on a given track's FX chain using the exact preset name. Raises an error if no change occurs; optionally returns parameters.
Instructions
Load preset by name. Returns the resulting preset, not the parameters.
The name must match the plugin's own spelling. Some plugins report names padded to a fixed width (e.g. KORG TRINITY pads to 16 chars), and the padded form is what has to be passed. Take the name from fx_get_preset or fx_navigate_preset rather than from REAPER's presets/*.ini, which stores it trimmed.
If the preset does not actually change, this raises instead of reporting success.
Args: track_index: 0-based track index. fx_index: 0-based FX chain index. preset_name: Preset name, exactly as the plugin reports it. include_params: Also return the plugin's full parameter list. Off by default — on large instruments that runs to tens of thousands of characters. Use fx_get_params when the parameters are what you actually want.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fx_index | Yes | ||
| preset_name | Yes | ||
| track_index | Yes | ||
| include_params | No |