Calibrate a plugin parameter
fl_plugin_calibrate_paramCalibrates a plugin parameter by sweeping 0–1 and reading FL Studio's display strings, returning real units and a norm-to-value curve for setting values in real units. Original value restored.
Instructions
Learn a parameter's real-unit mapping by sweeping it 0..1 and reading FL's display string at each step (then restoring it). Returns the unit (dB/Hz/ms/%/ratio/...) and a norm<->value curve, cached on disk per plugin. Enables fl_plugin_set_param_value. The param is left unchanged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"track": "<track>",
"slot": "<slot>",
"param": "<param>"
},
"name": "fl_plugin_calibrate_param"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | Yes | Mixer-track effect slot 0-9, OR -1 for the channel-rack generator (then `track` is the CHANNEL index). | |
| param | Yes | Param index or name. | |
| steps | No | Sweep resolution (more = finer curve). | |
| track | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||