fx_set_preset
Load a preset by exact name onto a track's FX and retrieve the resulting preset. Specify track index, FX index, and preset name, with optional parameter output.
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, or -1 for the master track. 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 |