fl_set_plugin_param_display
Set a plug-in parameter by its displayed value (ms, dB, Hz) instead of a 0..1 guess, searching the control until readback matches your target.
Instructions
Set a plug-in parameter using the units it displays, not a 0..1 guess.
Prefer this over `fl_set_plugin_param` for anything with real units.
Normalized 0..1 has no published mapping to ms, dB or Hz, and the curve
differs per control; this searches the control until its own readback
reports the number you asked for, so no curve is ever assumed.
Address the parameter by name where it has one ("Attack"), or by
what it displays where it does not ("Auto mode"). Run
`plugins_scan_parameters` first to see both.
Controls whose display is pure text -- "Chromatic", "Low Male" -- are
enumerations with no number to search on and are refused. Use
`fl_set_plugin_param_option`, which sets them by their option text and
also reports every option the control accepts.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Explicit mixer_effect or global channel_generator target. Mutually exclusive with legacy track_index/slot_index. | |
| parameter | Yes | Parameter index, or text matched against parameter names AND display strings (many real third-party controls have no name). | |
| tolerance | No | How close counts. Defaults to 2% of the target, floor 0.01. | |
| slot_index | No | Legacy zero-based effect slot 0 through 9. Supply it with track_index, or use target, never both. | |
| target_unit | No | Optional Hz, kHz, ms, seconds, dB, percent or ratio. Converts each display readback across unit prefixes. Omit for legacy first-number matching. | |
| track_index | No | Legacy zero-based mixer index. Supply it with slot_index, or use target, never both. | |
| allow_master | No | Required to target mixer track 0. | |
| target_value | Yes | The number the plug-in displays: 20 for '20 ms', -18 for '-18.0 dB'. With target_unit='Hz', use 4000 for '4.0kHz'. | |
| expected_before | No | Optional expected normalized value and/or exact display text; refuse if any supplied field changed. | |
| session_fingerprint | No | Optional bridge/project-session fingerprint from a recent read. The write refuses after 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 |