plugin_set_parameter
Set a loaded FL Studio plug-in parameter by display value, option text, or raw 0..1 value, with readback verification and no auto-save.
Instructions
Set one plug-in parameter by display value, option text, or raw 0..1 value.
Supply exactly one value form. display_value searches the control until its
own display reads the number asked for, so no unit curve is guessed; use it
for anything with units (Hz, dB, ms, %). option sets a word-valued control
(Key, Scale, Mode) by sweeping it, which moves the control while it looks;
the result lists every option found, and an unknown option restores the
original value before the error. normalized_value writes 0..1 directly.
Requires write mode. Read controls with plugin_list_parameters first.
Inspect verified and the readback; does not save the project.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | Optional unit for display_value: Hz, kHz, ms, seconds, dB, percent, or ratio; converts across prefixes. | |
| option | No | Exact option text for a control that shows words, such as 'Major' or 'Low Male'. | |
| target | Yes | Loaded plug-in: {"kind": "mixer_effect", "track_index", "slot_index"} (Master also needs "allow_master": true) or {"kind": "channel_generator", "channel_index"}. Read targets with plugin_list_loaded. | |
| parameter | Yes | Parameter index from plugin_list_parameters, or text matched against parameter names and display strings (many controls have no name). normalized_value needs an index. | |
| tolerance | No | How close the displayed number must land; defaults to 2% of the target, at least 0.01. | |
| sweep_steps | No | Resolution of the option sweep; defaults to 64. Raise it only if an option is missed. | |
| display_value | No | The number the plug-in should display: 20 for '20 ms', -18 for '-18.0 dB', 4000 with unit='Hz' for '4.0kHz'. | |
| expected_before | No | Optional current normalized value and/or exact display text; refuse if either changed. | |
| normalized_value | No | Raw 0..1 value. Only when you know the control's mapping; prefer display_value or option. | |
| session_fingerprint | No | Optional session_fingerprint from a recent read. The call refuses after a bridge reload or a reported project load. This is a concurrency guard, not authentication or a durable project identity. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |